diff options
author | peter <peter@FreeBSD.org> | 1995-10-31 21:21:51 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1995-10-31 21:21:51 +0000 |
commit | 9fba2426b57d3eedd0717a9ebbbfcd4377a3fae5 (patch) | |
tree | 4d3d1e7e23ca53f41a20a9c41f78068854a5325f /usr.sbin/pppd/ipcp.h | |
parent | 583ff5b6cdf30f69dbefba600748f3d4c9d15de4 (diff) | |
download | FreeBSD-src-9fba2426b57d3eedd0717a9ebbbfcd4377a3fae5.zip FreeBSD-src-9fba2426b57d3eedd0717a9ebbbfcd4377a3fae5.tar.gz |
Bring pppd from ppp-2.2 onto the mainline..
(more work needs to be done here, I'm trying to beat the supscan)
Diffstat (limited to 'usr.sbin/pppd/ipcp.h')
-rw-r--r-- | usr.sbin/pppd/ipcp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/usr.sbin/pppd/ipcp.h b/usr.sbin/pppd/ipcp.h index 393c9af..b1f9b40 100644 --- a/usr.sbin/pppd/ipcp.h +++ b/usr.sbin/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.2 1994/09/25 02:32:00 wollman Exp $ + * $Id: ipcp.h,v 1.5 1994/09/21 06:47:37 paulus Exp $ */ /* @@ -35,7 +35,7 @@ #define IPCP_VJ_COMP 0x002d /* current value for VJ compression option*/ #define IPCP_VJ_COMP_OLD 0x0037 /* "old" (i.e, broken) value for VJ */ - /* compression option*/ + /* compression option*/ typedef struct ipcp_options { int neg_addr : 1; /* Negotiate IP Address? */ @@ -49,7 +49,7 @@ typedef struct ipcp_options { 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 */ + u_int32_t ouraddr, hisaddr; /* Addresses in NETWORK BYTE ORDER */ } ipcp_options; extern fsm ipcp_fsm[]; @@ -58,11 +58,11 @@ extern ipcp_options ipcp_gotoptions[]; extern ipcp_options ipcp_allowoptions[]; extern ipcp_options ipcp_hisoptions[]; -void ipcp_init __ARGS((int)); -void ipcp_open __ARGS((int)); -void ipcp_close __ARGS((int)); -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 *)); +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 *)); |