/external/dhcpcd-6.8.2/ |
D | dhcpcd.c | 475 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 …]
|
D | if-options.c | 396 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 …]
|
D | dhcp6.c | 339 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 …]
|
D | if-options.h | 134 uint8_t iaid[4]; member 153 uint8_t iaid[4]; member
|
D | dhcpcd-definitions.conf | 298 embed binhex:4 iaid 305 embed uint32 iaid 359 embed binhex:4 iaid
|
D | ipv6.h | 107 uint8_t iaid[4]; member
|
D | dhcp.c | 3509 memcpy(state->clientid + 2, ifo->iaid, 4); in dhcp_init()
|
/external/toybox/toys/pending/ |
D | dhcpd.c | 184 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 …]
|
D | dhcp6.c | 109 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()
|
/external/scapy/test/ |
D | regression.uts | 3702 a.optcode == 3 and a.optlen == 12 and a.iaid == 0 and a.T1 == 0 and a.T2==0 and a.ianaopts == [] 3705 raw(DHCP6OptIA_NA(iaid=0x22222222, T1=0x33333333, T2=0x44444444)) == b'\x00\x03\x00\x0c""""3333DDDD' 3708 raw(DHCP6OptIA_NA(optlen=0x1111, iaid=0x22222222, T1=0x33333333, T2=0x44444444)) == b'\x00\x03\x11\… 3711 raw(DHCP6OptIA_NA(iaid=0x22222222, T1=0x33333333, T2=0x44444444, ianaopts=[DHCP6OptIAAddress(), DHC… 3715 a.optcode == 3 and a.optlen == 76 and a.iaid == 0x22222222 and a.T1 == 0x33333333 and a.T2==0x44444… 3727 a.optcode == 4 and a.optlen == 4 and a.iaid == 0 and a.iataopts == [] 3730 raw(DHCP6OptIA_TA(optlen=0x1111, iaid=0x22222222, iataopts=[DHCP6OptIAAddress(), DHCP6OptIAAddress(… 3734 a.optcode == 4 and a.optlen == 0x1111 and a.iaid == 0x22222222 and len(a.iataopts) == 2 and isinsta…
|