[BACK]Return to socket.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/sys/socket.h between version 1.89 and 1.89.22.2

version 1.89, 2007/09/19 04:33:45 version 1.89.22.2, 2008/11/01 21:22:28
Line 121  typedef _BSD_SSIZE_T_ ssize_t;
Line 121  typedef _BSD_SSIZE_T_ ssize_t;
 #define SO_OOBINLINE    0x0100          /* leave received OOB data in line */  #define SO_OOBINLINE    0x0100          /* leave received OOB data in line */
 #define SO_REUSEPORT    0x0200          /* allow local address & port reuse */  #define SO_REUSEPORT    0x0200          /* allow local address & port reuse */
 #define SO_TIMESTAMP    0x0400          /* timestamp received dgram traffic */  #define SO_TIMESTAMP    0x0400          /* timestamp received dgram traffic */
   #define SO_ACCEPTFILTER 0x1000          /* there is an accept filter */
   
   
 /*  /*
Line 148  struct linger {
Line 149  struct linger {
         int     l_linger;               /* linger time in seconds */          int     l_linger;               /* linger time in seconds */
 };  };
   
   struct  accept_filter_arg {
           char    af_name[16];
           char    af_arg[256-16];
   };
   
 /*  /*
  * Level number for (get/set)sockopt() to apply to socket itself.   * Level number for (get/set)sockopt() to apply to socket itself.
  */   */
Line 200  struct linger {
Line 206  struct linger {
                                            in interface output routine */                                             in interface output routine */
 #endif  #endif
 #define AF_BLUETOOTH    31              /* Bluetooth: HCI, SCO, L2CAP, RFCOMM */  #define AF_BLUETOOTH    31              /* Bluetooth: HCI, SCO, L2CAP, RFCOMM */
   #define AF_IEEE80211    32              /* IEEE80211 */
   
 #define AF_MAX          32  #define AF_MAX          33
   
 /*  /*
  * Structure used by kernel to store most   * Structure used by kernel to store most
Line 422  struct kinfo_pcb {
Line 429  struct kinfo_pcb {
  */   */
 #define NET_RT_DUMP     1               /* dump; may limit to a.f. */  #define NET_RT_DUMP     1               /* dump; may limit to a.f. */
 #define NET_RT_FLAGS    2               /* by flags, e.g. RESOLVING */  #define NET_RT_FLAGS    2               /* by flags, e.g. RESOLVING */
 #define NET_RT_OIFLIST  3               /* old NET_RT_IFLIST (pre 1.5) */  #define NET_RT_OOIFLIST 3               /* old NET_RT_IFLIST (pre 1.5) */
 #define NET_RT_IFLIST   4               /* survey interface list */  #define NET_RT_OIFLIST  4               /* survey interface list */
 #define NET_RT_MAXID    5  #define NET_RT_IFLIST   5
   #define NET_RT_MAXID    6
   
 #define CTL_NET_RT_NAMES { \  #define CTL_NET_RT_NAMES { \
         { 0, 0 }, \          { 0, 0 }, \
         { "dump", CTLTYPE_STRUCT }, \          { "dump", CTLTYPE_STRUCT }, \
         { "flags", CTLTYPE_STRUCT }, \          { "flags", CTLTYPE_STRUCT }, \
         { 0, 0 }, \          { 0, 0 }, \
           { 0, 0 }, \
         { "iflist", CTLTYPE_STRUCT }, \          { "iflist", CTLTYPE_STRUCT }, \
 }  }
 #endif /* _NETBSD_SOURCE */  #endif /* _NETBSD_SOURCE */

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.89.22.2

CVSweb <webmaster@jp.NetBSD.org>