]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/ipxcp.h
add a few defs
[ppp.git] / pppd / ipxcp.h
index 64cd062c0f5b2edb70c6d9eabc2aa161be0aa291..62385b0a499bb3498b396325b7b214f7d2066cac 100644 (file)
@@ -16,7 +16,7 @@
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
- * $Id: ipxcp.h,v 1.1 1995/12/18 03:33:00 paulus Exp $
+ * $Id: ipxcp.h,v 1.3 1997/03/04 03:39:33 paulus Exp $
  */
 
 /*
 #define IPX_ROUTER_NAME           5
 #define IPX_COMPLETE              6
 
+/* Values for the router protocol */
+#define IPX_NONE                 0
+#define RIP_SAP                          2
+#define NLSP                     4
 
 typedef struct ipxcp_options {
     int neg_node       : 1;    /* Negotiate IPX node number? */
@@ -45,6 +49,9 @@ typedef struct ipxcp_options {
     int accept_remote  : 1;    /* accept peer's value for hisnode */
     int accept_network : 1;    /* accept network number */
 
+    int tried_nlsp     : 1;     /* I have suggested NLSP already */
+    int tried_rip      : 1;     /* I have suggested RIP/SAP already */
+
     u_int32_t his_network;     /* base network number */
     u_int32_t our_network;     /* our value for network number */
     u_int32_t network;         /* the final network number */
@@ -61,13 +68,4 @@ extern ipxcp_options ipxcp_gotoptions[];
 extern ipxcp_options ipxcp_allowoptions[];
 extern ipxcp_options ipxcp_hisoptions[];
 
-void ipxcp_init __P((int));
-void ipxcp_open __P((int));
-void ipxcp_close __P((int, char *));
-void ipxcp_lowerup __P((int));
-void ipxcp_lowerdown __P((int));
-void ipxcp_input __P((int, u_char *, int));
-void ipxcp_protrej __P((int));
-int  ipxcp_printpkt __P((u_char *, int, void (*)(), void *));
-
 extern struct protent ipxcp_protent;