Home
last modified time | relevance | path

Searched refs:ia_type (Results 1 – 6 of 6) sorted by relevance

/external/toybox/toys/pending/
Ddhcpd.c183 uint16_t ia_type; member
199 uint16_t ia_type; member
1306 static int verifyip6_in_lease(uint8_t *nip6, uint8_t *duid, uint16_t ia_type, uint32_t iaid) in verifyip6_in_lease() argument
1316 && ((dyn_lease6*) listdls->arg)->ia_type == ia_type) in verifyip6_in_lease()
1384 …_lease(uint8_t *assigned_nip, uint8_t *duid, uint16_t duid_len, uint16_t ia_type, uint32_t iaid, u… in addip6_to_lease() argument
1402 dls6->ia_type = ia_type; in addip6_to_lease()
1480 static uint8_t *getip6_from_pool(uint8_t *duid, uint16_t duid_len, uint16_t ia_type, uint32_t iaid,… in getip6_from_pool() argument
1494 if(verifyip6_in_lease(nip6, duid, ia_type, iaid) < 0) in getip6_from_pool()
1515 if(!verifyip6_in_lease(nip6, duid, ia_type, iaid)) break; in getip6_from_pool()
1534 addip6_to_lease(nip6, duid, duid_len, ia_type, iaid, lifetime, 1); in getip6_from_pool()
[all …]
/external/dhcpcd-6.8.2/
Ddhcp6.c646 if (ap->ia_type == D6_OPTION_IA_PD) { in dhcp6_makemessage()
665 if (ifo->ia[l].ia_type == D6_OPTION_IA_PD) { in dhcp6_makemessage()
783 if (ifo->ia[l].ia_type == D6_OPTION_IA_PD) { in dhcp6_makemessage()
789 o->code = htons(ifo->ia[l].ia_type); in dhcp6_makemessage()
802 if (ap->ia_type == D6_OPTION_IA_PD) { in dhcp6_makemessage()
1331 if (!((ia->ia_type == D6_OPTION_IA_PD && ia->prefix_len) || in dhcp6_addrequestedaddrs()
1343 a->ia_type = ia->ia_type; in dhcp6_addrequestedaddrs()
1347 if (ia->ia_type == D6_OPTION_IA_PD) { in dhcp6_addrequestedaddrs()
1463 if (t && t != ifp->options->ia[i].ia_type) { in dhcp6_hasprefixdelegation()
1465 ifp->options->ia[i].ia_type == D6_OPTION_IA_PD) in dhcp6_hasprefixdelegation()
[all …]
Dif-options.h136 uint16_t ia_type; member
Dipv6.h108 uint16_t ia_type; member
Dif-options.c689 ia->ia_type = D6_OPTION_IA_NA; in parse_option()
700 ia->ia_type = D6_OPTION_IA_PD; in parse_option()
1351 if (ia && ia->ia_type != (uint16_t)i) { in parse_option()
1364 ia->ia_type = (uint16_t)i; in parse_option()
1375 ia->ia_type == D6_OPTION_IA_TA) in parse_option()
1388 if (p && ia->ia_type == D6_OPTION_IA_PD) { in parse_option()
1404 if (ia->ia_type != D6_OPTION_IA_PD) in parse_option()
Ddhcpcd.c506 ifo->ia->ia_type = D6_OPTION_IA_NA; in configure_interface1()