X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipxcp.h;h=62385b0a499bb3498b396325b7b214f7d2066cac;hp=64cd062c0f5b2edb70c6d9eabc2aa161be0aa291;hb=98516bb41580f3d34d750165e9a65289bc5ad248;hpb=0f61ac5460e89dd768f1fb56fbdd8fa6f8af79f1 diff --git a/pppd/ipxcp.h b/pppd/ipxcp.h index 64cd062..62385b0 100644 --- a/pppd/ipxcp.h +++ b/pppd/ipxcp.h @@ -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 $ */ /* @@ -29,6 +29,10 @@ #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;