X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipxcp.h;h=52bd14adebaa5cfe00fdbd8258424a81764aa92c;hp=898ffe437c313083de912ddd6625a88fd54de44a;hb=31b4bba68d46b38119fd8620ee09ff7f8831f4b5;hpb=6065aefafc841afc421fdcc931cb007a02b825e9 diff --git a/pppd/ipxcp.h b/pppd/ipxcp.h index 898ffe4..52bd14a 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.2 1996/07/01 01:14:37 paulus Exp $ + * $Id: ipxcp.h,v 1.4 1998/11/07 06:59:27 paulus Exp $ */ /* @@ -29,21 +29,28 @@ #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? */ - int req_node : 1; /* Ask peer to send IPX node number? */ + bool neg_node; /* Negotiate IPX node number? */ + bool req_node; /* Ask peer to send IPX node number? */ - int neg_nn : 1; /* Negotiate IPX network number? */ - int req_nn : 1; /* Ask peer to send IPX network number */ + bool neg_nn; /* Negotiate IPX network number? */ + bool req_nn; /* Ask peer to send IPX network number */ - int neg_name : 1; /* Negotiate IPX router name */ - int neg_complete : 1; /* Negotiate completion */ - int neg_router : 1; /* Negotiate IPX router number */ + bool neg_name; /* Negotiate IPX router name */ + bool neg_complete; /* Negotiate completion */ + bool neg_router; /* Negotiate IPX router number */ - int accept_local : 1; /* accept peer's value for ournode */ - int accept_remote : 1; /* accept peer's value for hisnode */ - int accept_network : 1; /* accept network number */ + bool accept_local; /* accept peer's value for ournode */ + bool accept_remote; /* accept peer's value for hisnode */ + bool accept_network; /* accept network number */ + + bool tried_nlsp; /* I have suggested NLSP already */ + bool tried_rip; /* I have suggested RIP/SAP already */ u_int32_t his_network; /* base network number */ u_int32_t our_network; /* our value for network number */