Home
last modified time | relevance | path

Searched refs:iaid (Results 1 – 9 of 9) sorted by relevance

/external/dhcpcd-6.8.2/
Ddhcpcd.c475 if (ifp->hwlen >= sizeof(ifo->iaid)) in configure_interface1()
476 memcpy(ifo->iaid, in configure_interface1()
477 ifp->hwaddr + ifp->hwlen - sizeof(ifo->iaid), in configure_interface1()
478 sizeof(ifo->iaid)); in configure_interface1()
483 if (len <= sizeof(ifo->iaid)) { in configure_interface1()
484 memcpy(ifo->iaid, ifp->name, len); in configure_interface1()
485 if (len < sizeof(ifo->iaid)) in configure_interface1()
486 memset(ifo->iaid + len, 0, in configure_interface1()
487 sizeof(ifo->iaid) - len); in configure_interface1()
491 memcpy(ifo->iaid, &len, sizeof(len)); in configure_interface1()
[all …]
Dif-options.c396 parse_iaid1(uint8_t *iaid, const char *arg, size_t len, int n) in parse_iaid1() argument
406 memcpy(iaid, &narg, sizeof(narg)); in parse_iaid1()
410 if ((s = parse_string((char *)iaid, len, arg)) < 1) in parse_iaid1()
413 iaid[3] = '\0'; in parse_iaid1()
415 iaid[2] = '\0'; in parse_iaid1()
417 iaid[1] = '\0'; in parse_iaid1()
422 parse_iaid(uint8_t *iaid, const char *arg, size_t len) in parse_iaid() argument
425 return parse_iaid1(iaid, arg, len, 1); in parse_iaid()
657 uint8_t iaid[4]; in parse_option() local
690 parse_iaid(ia->iaid, "0", sizeof(ia->iaid)); in parse_option()
[all …]
Ddhcp6.c339 dhcp6_findselfsla(struct interface *ifp, const uint8_t *iaid) in dhcp6_findselfsla() argument
344 if (iaid == NULL || in dhcp6_findselfsla()
345 memcmp(&ifp->options->ia[i].iaid, iaid, in dhcp6_findselfsla()
346 sizeof(ifp->options->ia[i].iaid)) == 0) in dhcp6_findselfsla()
792 memcpy(p, ifo->ia[l].iaid, sizeof(u32)); in dhcp6_makemessage()
799 if (memcmp(ifo->ia[l].iaid, ap->iaid, sizeof(u32))) in dhcp6_makemessage()
1342 memcpy(&a->iaid, &ia->iaid, sizeof(a->iaid)); in dhcp6_addrequestedaddrs()
1738 dhcp6_findna(struct interface *ifp, uint16_t ot, const uint8_t *iaid, in dhcp6_findna() argument
1778 memcpy(a->iaid, iaid, sizeof(a->iaid)); in dhcp6_findna()
1819 dhcp6_findpd(struct interface *ifp, const uint8_t *iaid, in dhcp6_findpd() argument
[all …]
Dif-options.h134 uint8_t iaid[4]; member
153 uint8_t iaid[4]; member
Ddhcpcd-definitions.conf298 embed binhex:4 iaid
305 embed uint32 iaid
359 embed binhex:4 iaid
Dipv6.h107 uint8_t iaid[4]; member
Ddhcp.c3509 memcpy(state->clientid + 2, ifo->iaid, 4); in dhcp_init()
/external/toybox/toys/pending/
Ddhcpd.c184 uint32_t iaid; member
201 uint32_t iaid; member
221 uint32_t iaid; 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
1384 …ssigned_nip, uint8_t *duid, uint16_t duid_len, uint16_t ia_type, uint32_t iaid, uint32_t *lifetime… in addip6_to_lease() argument
1403 dls6->iaid = iaid; 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 …]
Ddhcp6.c109 uint32_t iaid, t1, t2; member
120 uint32_t iaid , t1,t2, pf_lf, va_lf; member
232 iana.iaid = rand(); in fill_iaid()
363 dhcp_data.iaid = ntohl(*((uint32_t*)(t+4))); in parse_ia_na()