X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipcp.h;h=abcd0b13e217264f1822ae0c17e1c829145d42be;hp=b1f9b4032fd9e7d28d70d4e68dfd539c4721b995;hb=642b44a17f5b83cbfbbbca87d85ec0e4d83762cd;hpb=a3396b002507d72b3e1f1169bd02ae018539654b diff --git a/pppd/ipcp.h b/pppd/ipcp.h index b1f9b40..abcd0b1 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.5 1994/09/21 06:47:37 paulus Exp $ + * $Id: ipcp.h,v 1.9 1996/07/01 01:14:04 paulus Exp $ */ /* @@ -26,6 +26,9 @@ #define CI_COMPRESSTYPE 2 /* Compression Type */ #define CI_ADDR 3 +#define CI_MS_DNS1 129 /* Primary DNS value */ +#define CI_MS_DNS2 131 /* Secondary DNS value */ + #define MAX_STATES 16 /* from slcompress.h */ #define IPCP_VJMODE_OLD 1 /* "old" mode (option # = 0x0037) */ @@ -50,6 +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 */ + u_int32_t dnsaddr[2]; /* Primary and secondary MS DNS entries */ } ipcp_options; extern fsm ipcp_fsm[]; @@ -58,11 +62,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)); -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 *)); +char *ip_ntoa __P((u_int32_t)); + +extern struct protent ipcp_protent;