diff options
author | brian <brian@FreeBSD.org> | 2002-08-29 02:44:58 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-08-29 02:44:58 +0000 |
commit | 4a8007c87f865d6a7f92065a9a25755b840eb822 (patch) | |
tree | 3d3c39c0a4951159b05970965109d47aca8f77d7 /usr.sbin/ppp/ipv6cp.h | |
parent | 538db5220dfdbc2d35657e701341c46eba4116e0 (diff) | |
download | FreeBSD-src-4a8007c87f865d6a7f92065a9a25755b840eb822.zip FreeBSD-src-4a8007c87f865d6a7f92065a9a25755b840eb822.tar.gz |
- made ppp compliant to RFC 2472 (based on a patch from another
contributor)
- support ipv6cpretry and ipv6cpretries, which are IPv6 versions
of ipcpretry and ipcpretries.
- improve handling of IPv6 link-local addresses
Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>
Diffstat (limited to 'usr.sbin/ppp/ipv6cp.h')
-rw-r--r-- | usr.sbin/ppp/ipv6cp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ipv6cp.h b/usr.sbin/ppp/ipv6cp.h index a2c1c63..53f7153 100644 --- a/usr.sbin/ppp/ipv6cp.h +++ b/usr.sbin/ppp/ipv6cp.h @@ -32,6 +32,8 @@ #define TY_TOKEN 1 #define TY_COMPPROTO 2 +#define IPV6CP_IFIDLEN 8 /* RFC2472 */ + struct ipv6cp { struct fsm fsm; /* The finite state machine */ @@ -41,8 +43,8 @@ struct ipv6cp { unsigned peer_tokenreq : 1; /* Any TY_TOKEN REQs from the peer ? */ - u_int32_t my_token; /* Token I'm willing to use */ - u_int32_t peer_token; /* Token he's willing to use */ + u_char my_ifid[IPV6CP_IFIDLEN]; /* Local Interface Identifier */ + u_char his_ifid[IPV6CP_IFIDLEN]; /* Peer Interface Identifier */ struct ncpaddr myaddr; /* Local address */ struct ncpaddr hisaddr; /* Peer address */ |