X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipcp.h;h=470c9ef0068515d336ff6551a9f485455f1d47a5;hp=2dc68e74d3f303541b0ef2e451d77f39bc704558;hb=e28f47d5e53abe7317d9a82703bbbee044482d4f;hpb=f9bce078a5963a8b61826b1fab2df94298f24c1a diff --git a/pppd/ipcp.h b/pppd/ipcp.h index 2dc68e7..470c9ef 100644 --- a/pppd/ipcp.h +++ b/pppd/ipcp.h @@ -16,7 +16,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ipcp.h,v 1.7 1996/01/01 22:56:54 paulus Exp $ + * $Id: ipcp.h,v 1.10 1997/03/04 03:39:20 paulus Exp $ */ /* @@ -26,7 +26,9 @@ #define CI_COMPRESSTYPE 2 /* Compression Type */ #define CI_ADDR 3 +#define CI_MS_WINS1 128 /* Primary WINS value */ #define CI_MS_DNS1 129 /* Primary DNS value */ +#define CI_MS_WINS2 130 /* Secondary WINS value */ #define CI_MS_DNS2 131 /* Secondary DNS value */ #define MAX_STATES 16 /* from slcompress.h */ @@ -53,9 +55,8 @@ typedef struct ipcp_options { u_short vj_protocol; /* protocol value to use in VJ option */ u_char maxslotindex, cflag; /* values for RFC1332 VJ compression neg. */ u_int32_t ouraddr, hisaddr; /* Addresses in NETWORK BYTE ORDER */ -#ifdef USE_MS_DNS - u_int32_t dnsaddr[2]; /* Primary and secondary DNS entries */ -#endif + u_int32_t dnsaddr[2]; /* Primary and secondary MS DNS entries */ + u_int32_t winsaddr[2]; /* Primary and secondary MS WINS entries */ } ipcp_options; extern fsm ipcp_fsm[]; @@ -64,15 +65,6 @@ extern ipcp_options ipcp_gotoptions[]; extern ipcp_options ipcp_allowoptions[]; extern ipcp_options ipcp_hisoptions[]; -void ipcp_init __P((int)); -void ipcp_open __P((int)); -void ipcp_close __P((int, char *)); -void ipcp_lowerup __P((int)); -void ipcp_lowerdown __P((int)); -void ipcp_input __P((int, u_char *, int)); -void ipcp_protrej __P((int)); -int ipcp_printpkt __P((u_char *, int, void (*)(), void *)); -void ip_check_options __P((void)); -int ip_demand_conf __P((int)); +char *ip_ntoa __P((u_int32_t)); extern struct protent ipcp_protent;