Home
last modified time | relevance | path

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

/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()
/external/scapy/test/
Dregression.uts3702 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…