changes for var. length sockaddrs, routing lookup changes,
[unix-history] / usr / src / sys / netns / spp_var.h
index 9c8549c..ba7de44 100644 (file)
@@ -3,13 +3,18 @@
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms are permitted
- * provided that this notice is preserved and that due credit is given
- * to the University of California at Berkeley. The name of the University
- * may not be used to endorse or promote products derived from this
- * software without specific prior written permission. This software
- * is provided ``as is'' without express or implied warranty.
+ * provided that the above copyright notice and this paragraph are
+ * duplicated in all such forms and that any documentation,
+ * advertising materials, and other materials related to such
+ * distribution and use acknowledge that the software was developed
+ * by the University of California, Berkeley.  The name of the
+ * University may not be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
+ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
+ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  *
- *      @(#)spp_var.h  7.4 (Berkeley) %G%
+ *     @(#)spp_var.h   7.6 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -85,6 +90,9 @@ struct sppcb {
        u_short s_want;                 /* Last candidate for sending */
        char    s_outx;                 /* exit taken from spp_output */
        char    s_inx;                  /* exit taken from spp_input */
        u_short s_want;                 /* Last candidate for sending */
        char    s_outx;                 /* exit taken from spp_output */
        char    s_inx;                  /* exit taken from spp_input */
+       u_short s_flags2;               /* more flags for testing */
+#define SF_NEWCALL     0x100           /* for new_recvmsg */
+#define SO_NEWCALL     10              /* for new_recvmsg */
 };
 
 #define        nstosppcb(np)   ((struct sppcb *)(np)->nsp_pcb)
 };
 
 #define        nstosppcb(np)   ((struct sppcb *)(np)->nsp_pcb)