diff options
Diffstat (limited to 'usr.sbin/pppd/ipcp.h')
-rw-r--r-- | usr.sbin/pppd/ipcp.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/usr.sbin/pppd/ipcp.h b/usr.sbin/pppd/ipcp.h index dafc115..90a625a 100644 --- a/usr.sbin/pppd/ipcp.h +++ b/usr.sbin/pppd/ipcp.h @@ -25,10 +25,11 @@ #define CI_ADDRS 1 /* IP Addresses */ #define CI_COMPRESSTYPE 2 /* Compression Type */ #define CI_ADDR 3 -#define CI_DNS1 129 /* Primary DNS */ -#define CI_NBNS1 130 /* Primary NBNS */ -#define CI_DNS2 131 /* Secondary DNS */ -#define CI_NBNS2 132 /* Secondary NBNS */ + +#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 */ @@ -54,6 +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 */ + 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[]; @@ -62,11 +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)); -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; |