source: svn/trunk/newcon3bcm2_21bu/toolchain/mips-linux-uclibc/include/linux/errqueue.h @ 2

Last change on this file since 2 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 404 bytes
Line 
1#ifndef _LINUX_ERRQUEUE_H
2#define _LINUX_ERRQUEUE_H 1
3
4#include <asm/types.h>
5
6struct sock_extended_err
7{
8        __u32   ee_errno;       
9        __u8    ee_origin;
10        __u8    ee_type;
11        __u8    ee_code;
12        __u8    ee_pad;
13        __u32   ee_info;
14        __u32   ee_data;
15};
16
17#define SO_EE_ORIGIN_NONE       0
18#define SO_EE_ORIGIN_LOCAL      1
19#define SO_EE_ORIGIN_ICMP       2
20#define SO_EE_ORIGIN_ICMP6      3
21
22#define SO_EE_OFFENDER(ee)      ((struct sockaddr*)((ee)+1))
23
24#endif
Note: See TracBrowser for help on using the repository browser.