Lines Matching refs:myaddr
200 struct in6_addr myaddr, hisaddr; in ipcp_SetIPv6address() local
210 memset(&myaddr, '\0', sizeof myaddr); in ipcp_SetIPv6address()
213 myaddr.s6_addr[0] = 0xfe; in ipcp_SetIPv6address()
214 myaddr.s6_addr[1] = 0x80; in ipcp_SetIPv6address()
215 memcpy(&myaddr.s6_addr[8], myifid, IPV6CP_IFIDLEN); in ipcp_SetIPv6address()
217 myaddr.s6_addr[8] |= 0x02; /* set 'universal' bit */ in ipcp_SetIPv6address()
227 ncpaddr_setip6(&ipv6cp->myaddr, &myaddr); in ipcp_SetIPv6address()
229 ncprange_set(&myrange, &ipv6cp->myaddr, 64); in ipcp_SetIPv6address()
241 rt_Set(bundle, RTM_ADD, &range, &ipv6cp->myaddr, 1, 0); in ipcp_SetIPv6address()
253 route_Change(bundle, bundle->ncp.route, &ipv6cp->myaddr, &ipv6cp->hisaddr); in ipcp_SetIPv6address()
257 route_Change(bundle, bundle->radius.ipv6routes, &ipv6cp->myaddr, in ipcp_SetIPv6address()
310 ncpaddr_init(&ipv6cp->myaddr); in ipv6cp_Setup()
334 ncpaddr_ntoa(&ipv6cp->myaddr)); in ipv6cp_Show()
474 snprintf(tbuff, sizeof tbuff, "%s", ncpaddr_ntoa(&ipv6cp->myaddr)); in ipv6cp_LayerUp()
528 snprintf(addr, sizeof addr, "%s", ncpaddr_ntoa(&ipv6cp->myaddr)); in ipv6cp_LayerDown()
748 bundle_AdjustFilters(fp->bundle, &ipv6cp->myaddr, NULL); in ipv6cp_DecodeConfig()