Searched refs:IPV6CP_IFIDLEN (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/usr.sbin/ppp/ |
H A D | ipv6cp.h | 37 #define IPV6CP_IFIDLEN 8 /* RFC2472 */ macro 48 u_char my_ifid[IPV6CP_IFIDLEN]; /* Local Interface Identifier */ 49 u_char his_ifid[IPV6CP_IFIDLEN]; /* Peer Interface Identifier */
|
H A D | ipv6cp.c | 127 memset(ifid, 0, IPV6CP_IFIDLEN); 217 memcpy(&myaddr.s6_addr[8], myifid, IPV6CP_IFIDLEN); 224 memcpy(&hisaddr.s6_addr[8], hisifid, IPV6CP_IFIDLEN); 284 } while (memcmp(ipv6cp->his_ifid, ipv6cp->my_ifid, IPV6CP_IFIDLEN) == 0); 294 && memcmp(ipv6cp->his_ifid, ipv6cp->my_ifid, IPV6CP_IFIDLEN) == 0); 623 u_char buff[IPV6CP_IFIDLEN+2]; 629 memcpy(o->data, ipv6cp->my_ifid, IPV6CP_IFIDLEN); 630 INC_FSM_OPT(TY_TOKEN, IPV6CP_IFIDLEN + 2, o); 666 u_char zero[IPV6CP_IFIDLEN]; 668 memset(zero, 0, IPV6CP_IFIDLEN); [all...] |
Completed in 376 milliseconds