X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipcp.h;h=620b70fb35b317af3673ee0bf6d0409a6c5925f3;hp=e12514643e015b75a048ce4fafd1db69cfd5fcc5;hb=ccadb11e361406d549ddac1ce16dd67ee9dfae67;hpb=e1746e5f6bc21a42ed4c0b35dc5271026d580a81 diff --git a/pppd/ipcp.h b/pppd/ipcp.h index e125146..620b70f 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.6 1995/12/18 03:45:58 paulus Exp $ + * $Id: ipcp.h,v 1.8 1996/04/04 03:57:37 paulus Exp $ */ /* @@ -53,9 +53,7 @@ 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 */ } ipcp_options; extern fsm ipcp_fsm[]; @@ -72,5 +70,8 @@ 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;