[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.5.4.1 and 1.6

version 1.5.4.1, 1993/11/10 19:53:14 version 1.6, 1994/05/04 10:59:14
Line 92  struct linger {
Line 92  struct linger {
  * Address families.   * Address families.
  */   */
 #define AF_UNSPEC       0               /* unspecified */  #define AF_UNSPEC       0               /* unspecified */
 #define AF_LOCAL        1               /* local to host (pipes, portals) */  #define AF_UNIX         1               /* local to host (pipes, portals) */
 #define AF_UNIX         AF_LOCAL  
 #define AF_INET         2               /* internetwork: UDP, TCP, etc. */  #define AF_INET         2               /* internetwork: UDP, TCP, etc. */
 #define AF_IMPLINK      3               /* arpanet imp addresses */  #define AF_IMPLINK      3               /* arpanet imp addresses */
 #define AF_PUP          4               /* pup protocols: e.g. BSP */  #define AF_PUP          4               /* pup protocols: e.g. BSP */
Line 139  struct sockproto {
Line 138  struct sockproto {
  * Protocol families, same as address families for now.   * Protocol families, same as address families for now.
  */   */
 #define PF_UNSPEC       AF_UNSPEC  #define PF_UNSPEC       AF_UNSPEC
 #define PF_LOCAL        AF_LOCAL  #define PF_UNIX         AF_UNIX
 #define PF_UNIX         AF_LOCAL  
 #define PF_INET         AF_INET  #define PF_INET         AF_INET
 #define PF_IMPLINK      AF_IMPLINK  #define PF_IMPLINK      AF_IMPLINK
 #define PF_PUP          AF_PUP  #define PF_PUP          AF_PUP
Line 242  struct omsghdr {
Line 240  struct omsghdr {
   
 /* structure prototypes */  /* structure prototypes */
 struct socket;  struct socket;
   struct sockbuf;
 struct mbuf;  struct mbuf;
   
 /* function prototypes */  /* function prototypes */
 int     socreate __P((int dom, struct socket **aso, int type, int proto));  void    sbappend __P((struct sockbuf *sb, struct mbuf *m));
 int     sobind __P((struct socket *so, struct mbuf *nam));  int     sbappendaddr __P((struct sockbuf *sb, struct sockaddr *asa,
 int     solisten __P((struct socket *so, int backlog));              struct mbuf *m0, struct mbuf *control));
 int     sofree __P((struct socket *so));  int     sbappendcontrol __P((struct sockbuf *sb, struct mbuf *m0,
 int     soclose __P((struct socket *so));              struct mbuf *control));
   void    sbappendrecord __P((struct sockbuf *sb, struct mbuf *m0));
   void    sbcheck __P((struct sockbuf *sb));
   void    sbcompress __P((struct sockbuf *sb, struct mbuf *m, struct mbuf *n));
   void    sbdrop __P((struct sockbuf *sb, int len));
   void    sbdroprecord __P((struct sockbuf *sb));
   void    sbflush __P((struct sockbuf *sb));
   void    sbinsertoob __P((struct sockbuf *sb, struct mbuf *m0));
   void    sbrelease __P((struct sockbuf *sb));
   int     sbreserve __P((struct sockbuf *sb, u_long cc));
   int     sbwait __P((struct sockbuf *sb));
   int     sb_lock __P((struct sockbuf *sb));
 int     soabort __P((struct socket *so));  int     soabort __P((struct socket *so));
 int     soaccept __P((struct socket *so, struct mbuf *nam));  int     soaccept __P((struct socket *so, struct mbuf *nam));
   int     sobind __P((struct socket *so, struct mbuf *nam));
   void    socantrcvmore __P((struct socket *so));
   void    socantsendmore __P((struct socket *so));
   int     soclose __P((struct socket *so));
 int     soconnect __P((struct socket *so, struct mbuf *nam));  int     soconnect __P((struct socket *so, struct mbuf *nam));
 int     soconnect2 __P((struct socket *so1, struct socket *so2));  int     soconnect2 __P((struct socket *so1, struct socket *so2));
   int     socreate __P((int dom, struct socket **aso, int type, int proto));
 int     sodisconnect __P((struct socket *so));  int     sodisconnect __P((struct socket *so));
 int     sosend __P((struct socket *so, struct mbuf *addr, struct uio *uio,  int     sofree __P((struct socket *so));
                 struct mbuf *top, struct mbuf *control, int flags));  void    soisconnected __P((struct socket *so));
   void    soisconnecting __P((struct socket *so));
   void    soisdisconnected __P((struct socket *so));
   void    soisdisconnecting __P((struct socket *so));
   int     solisten __P((struct socket *so, int backlog));
   struct socket *
           sonewconn1 __P((struct socket *head, int connstatus));
   void    soqinsque __P((struct socket *head, struct socket *so, int q));
   int     soqremque __P((struct socket *so, int q));
 int     soreceive __P((struct socket *so, struct mbuf **paddr, struct uio *uio,  int     soreceive __P((struct socket *so, struct mbuf **paddr, struct uio *uio,
                 struct mbuf **mp0, struct mbuf **controlp, int *flagsp));                  struct mbuf **mp0, struct mbuf **controlp, int *flagsp));
   int     soreserve __P((struct socket *so, u_long sndcc, u_long rcvcc));
 void    socantsendmore __P((struct socket *so));  int     sosend __P((struct socket *so, struct mbuf *addr, struct uio *uio,
 void    socantrcvmore __P((struct socket *so));                  struct mbuf *top, struct mbuf *control, int flags));
   void    sowakeup __P((struct socket *so, struct sockbuf *sb));
   
 #else   /* !KERNEL */  #else   /* !KERNEL */
   

Legend:
Removed from v.1.5.4.1  
changed lines
  Added in v.1.6

CVSweb <webmaster@jp.NetBSD.org>