X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fipcp.h;h=748487200aee47538a10e8965ffc29e93eddb0b4;hp=8ebfe63f2365821d6881ba92ff19702d07bf669c;hb=1615280ee6c970215e911325a243288c5e47ea7d;hpb=0b63a24d54ba4708c88e31bdd74b0145956c1478 diff --git a/pppd/ipcp.h b/pppd/ipcp.h index 8ebfe63..7484872 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.1 1993/11/11 03:54:25 paulus Exp $ + * $Id: ipcp.h,v 1.4 1994/09/01 00:23:12 paulus Exp $ */ /* @@ -45,9 +45,11 @@ typedef struct ipcp_options { int proxy_arp : 1; /* Make proxy ARP entry for peer? */ int neg_vj : 1; /* Van Jacobson Compression? */ int old_vj : 1; /* use old (short) form of VJ option? */ + int accept_local : 1; /* accept peer's value for ouraddr */ + int accept_remote : 1; /* accept peer's value for hisaddr */ u_short vj_protocol; /* protocol value to use in VJ option */ u_char maxslotindex, cflag; /* values for RFC1332 VJ compression neg. */ - u_long ouraddr, hisaddr; /* Addresses in NETWORK BYTE ORDER */ + uint32 ouraddr, hisaddr; /* Addresses in NETWORK BYTE ORDER */ } ipcp_options; extern fsm ipcp_fsm[]; @@ -63,3 +65,4 @@ void ipcp_lowerup __ARGS((int)); void ipcp_lowerdown __ARGS((int)); void ipcp_input __ARGS((int, u_char *, int)); void ipcp_protrej __ARGS((int)); +int ipcp_printpkt __ARGS((u_char *, int, void (*)(), void *));