add hack option for FTP; this fills options, so move
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 23 Jan 1983 14:56:53 +0000 (06:56 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 23 Jan 1983 14:56:53 +0000 (06:56 -0800)
pseudo option out of range for reuse

SCCS-vsn: sys/sys/socket.h 4.25

usr/src/sys/sys/socket.h

index 362f70f..aad626c 100644 (file)
@@ -1,4 +1,4 @@
-/*     socket.h        4.24    83/01/13        */
+/*     socket.h        4.25    83/01/22        */
 
 /*
  * Externally visible attributes of sockets.
 
 /*
  * Externally visible attributes of sockets.
  */
 #define        SO_DEBUG        0x01            /* turn on debugging info recording */
 #define        SO_ACCEPTCONN   0x02            /* willing to accept connections */
  */
 #define        SO_DEBUG        0x01            /* turn on debugging info recording */
 #define        SO_ACCEPTCONN   0x02            /* willing to accept connections */
-#define        SO_DONTLINGER   0x04            /* don't linger on close */
+#define        SO_REUSEADDR    0x04            /* allow local address reuse (gag) */
 #define        SO_KEEPALIVE    0x08            /* keep connections alive */
 #define        SO_DONTROUTE    0x10            /* just use interface addresses */
 #define        SO_NEWFDONCONN  0x20            /* give new fd on connection */
 #define        SO_USELOOPBACK  0x40            /* bypass hardware when possible */
 #define        SO_KEEPALIVE    0x08            /* keep connections alive */
 #define        SO_DONTROUTE    0x10            /* just use interface addresses */
 #define        SO_NEWFDONCONN  0x20            /* give new fd on connection */
 #define        SO_USELOOPBACK  0x40            /* bypass hardware when possible */
-#define        SO_LINGER       0x80            /* ~SO_DONTLINGER */
+#define        SO_LINGER       0x80            /* linger on close if data present */
+#define        SO_DONTLINGER   (~SO_LINGER)    /* ~SO_LINGER */
 
 /*
  * Generic socket protocol format.
 
 /*
  * Generic socket protocol format.