[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.15 and 1.23

version 1.15, 1996/05/02 00:25:13 version 1.23, 1997/05/02 19:02:02
Line 64 
Line 64 
 #define SO_LINGER       0x0080          /* linger on close if data present */  #define SO_LINGER       0x0080          /* linger on close if data present */
 #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 */
   
 /*  /*
  * Additional options, not kept in so_options.   * Additional options, not kept in so_options.
Line 119  struct linger {
Line 120  struct linger {
 #define AF_CNT          21              /* Computer Network Technology */  #define AF_CNT          21              /* Computer Network Technology */
 #define pseudo_AF_RTIP  22              /* Help Identify RTIP packets */  #define pseudo_AF_RTIP  22              /* Help Identify RTIP packets */
 #define AF_IPX          23              /* Novell Internet Protocol */  #define AF_IPX          23              /* Novell Internet Protocol */
 #define AF_SIP          24              /* Simple Internet Protocol */  #define AF_INET6        24              /* IP version 6 */
 #define pseudo_AF_PIP   25              /* Help Identify PIP packets */  #define pseudo_AF_PIP   25              /* Help Identify PIP packets */
   #define AF_ISDN         26              /* Integrated Services Digital Network*/
   #define AF_E164         AF_ISDN         /* CCITT E.164 recommendation */
   #define AF_NATM         27              /* native ATM access */
   #define AF_ARP          28              /* (rev.) addr. res. prot. (RFC 826) */
   #define pseudo_AF_KEY   29              /* Internal key management protocol  */
   
 #define AF_MAX          26  #define AF_MAX          30
   
 /*  /*
  * Structure used by kernel to store most   * Structure used by kernel to store most
Line 170  struct sockproto {
Line 176  struct sockproto {
 #define PF_XTP          pseudo_AF_XTP   /* really just proto family, no AF */  #define PF_XTP          pseudo_AF_XTP   /* really just proto family, no AF */
 #define PF_COIP         AF_COIP  #define PF_COIP         AF_COIP
 #define PF_CNT          AF_CNT  #define PF_CNT          AF_CNT
 #define PF_SIP          AF_SIP  #define PF_INET6        AF_INET6
 #define PF_IPX          AF_IPX          /* same format as AF_NS */  #define PF_IPX          AF_IPX          /* same format as AF_NS */
 #define PF_RTIP         pseudo_AF_FTIP  /* same format as AF_INET */  #define PF_RTIP         pseudo_AF_FTIP  /* same format as AF_INET */
 #define PF_PIP          pseudo_AF_PIP  #define PF_PIP          pseudo_AF_PIP
   #define PF_ISDN         AF_ISDN         /* same as E164 */
   #define PF_E164         AF_E164
   #define PF_NATM         AF_NATM
   #define PF_ARP          AF_ARP
   #define PF_KEY          pseudo_AF_KEY   /* like PF_ROUTE, only for key mgmt */
   
 #define PF_MAX          AF_MAX  #define PF_MAX          AF_MAX
   
Line 212  struct sockproto {
Line 223  struct sockproto {
         { "cnt", CTLTYPE_NODE }, \          { "cnt", CTLTYPE_NODE }, \
         { "rtip", CTLTYPE_NODE }, \          { "rtip", CTLTYPE_NODE }, \
         { "ipx", CTLTYPE_NODE }, \          { "ipx", CTLTYPE_NODE }, \
         { "sip", CTLTYPE_NODE }, \          { "inet6", CTLTYPE_NODE }, \
         { "pip", CTLTYPE_NODE }, \          { "pip", CTLTYPE_NODE }, \
           { "isdn", CTLTYPE_NODE }, \
           { "natm", CTLTYPE_NODE }, \
           { "arp", CTLTYPE_NODE }, \
           { "key", CTLTYPE_NODE }, \
 }  }
   
 /*  /*
Line 239  struct sockproto {
Line 254  struct sockproto {
 /*  /*
  * Maximum queue length specifiable by listen(2).   * Maximum queue length specifiable by listen(2).
  */   */
 #ifndef SOMAXCONN  
 #define SOMAXCONN       128  #define SOMAXCONN       128
 #endif  
 /*  /*
  * Message header for recvmsg and sendmsg calls.   * Message header for recvmsg and sendmsg calls.
  * Used value-result for recvmsg, value only for sendmsg.   * Used value-result for recvmsg, value only for sendmsg.
Line 292  struct cmsghdr {
Line 307  struct cmsghdr {
   
 /* "Socket"-level control message types: */  /* "Socket"-level control message types: */
 #define SCM_RIGHTS      0x01            /* access rights (array of int) */  #define SCM_RIGHTS      0x01            /* access rights (array of int) */
   #define SCM_TIMESTAMP   0x02            /* timestamp (struct timeval) */
   
 /*  /*
  * 4.3 compat sockaddr, move to compat file later   * 4.3 compat sockaddr, move to compat file later

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.23

CVSweb <webmaster@jp.NetBSD.org>