/systemd-251/src/libsystemd-network/ ! |
D | test-dhcp-client.c | 140 be32_t iaid; in test_dhcp_identifier_set_iaid() local 145 /* use_mac = */ true, &iaid) >= 0); in test_dhcp_identifier_set_iaid() 150 assert_se(iaid == htole32(0x8dde4ba8u)); in test_dhcp_identifier_set_iaid() 152 assert_se(iaid == iaid_legacy); in test_dhcp_identifier_set_iaid() 154 assert_se(iaid == bswap_32(iaid_legacy)); in test_dhcp_identifier_set_iaid() 162 uint32_t iaid; in check_options() local 167 …ssert_se(dhcp_identifier_set_iaid(42, mac_addr, ETH_ALEN, true, /* use_mac = */ true, &iaid) >= 0); in check_options() 173 assert_se(memcmp((uint8_t*) option + 1, &iaid, sizeof(iaid)) == 0); in check_options()
|
D | test-dhcp6-client.c | 324 be32_t iaid; in TEST() local 327 memcpy(&iaid, option1 + 4, sizeof(iaid)); in TEST() 335 …r = dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &… in TEST() 339 …r = dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &… in TEST() 343 …r = dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &… in TEST() 348 …r = dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &… in TEST() 353 …r = dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &… in TEST() 361 …r = dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &… in TEST() 372 …r = dhcp6_option_parse_ia(NULL, iaid, be16toh(option->code), be16toh(option->len), option->data, &… in TEST()
|
D | sd-dhcp-client.c | 63 be32_t iaid; member 210 uint32_t iaid = be32toh(client_id->ns.iaid); in sd_dhcp_client_id_to_string() local 215 r = asprintf(&t, "IAID:0x%x/DUID", iaid); in sd_dhcp_client_id_to_string() 452 uint32_t iaid, in dhcp_client_set_iaid_duid_internal() argument 476 client->client_id.ns.iaid = htobe32(iaid); in dhcp_client_set_iaid_duid_internal() 482 &client->client_id.ns.iaid); in dhcp_client_set_iaid_duid_internal() 508 (iaid_append ? sizeof(client->client_id.ns.iaid) : 0); in dhcp_client_set_iaid_duid_internal() 524 uint32_t iaid, in sd_dhcp_client_set_iaid_duid() argument 528 …return dhcp_client_set_iaid_duid_internal(client, true, iaid_set, iaid, duid_type, duid, duid_len,… in sd_dhcp_client_set_iaid_duid() 534 uint32_t iaid, in sd_dhcp_client_set_iaid_duid_llt() argument [all …]
|
D | sd-dhcp6-client.c | 283 int sd_dhcp6_client_set_iaid(sd_dhcp6_client *client, uint32_t iaid) { in sd_dhcp6_client_set_iaid() argument 287 client->ia_na.header.id = htobe32(iaid); in sd_dhcp6_client_set_iaid() 288 client->ia_pd.header.id = htobe32(iaid); in sd_dhcp6_client_set_iaid() 296 uint32_t iaid; in client_ensure_iaid() local 306 &iaid); in client_ensure_iaid() 310 client->ia_na.header.id = iaid; in client_ensure_iaid() 311 client->ia_pd.header.id = iaid; in client_ensure_iaid() 317 int sd_dhcp6_client_get_iaid(sd_dhcp6_client *client, uint32_t *iaid) { in sd_dhcp6_client_get_iaid() argument 319 assert_return(iaid, -EINVAL); in sd_dhcp6_client_get_iaid() 324 *iaid = be32toh(client->ia_na.header.id); in sd_dhcp6_client_get_iaid()
|
D | dhcp6-option.h | 93 be32_t iaid,
|
D | dhcp6-option.c | 676 be32_t iaid, in dhcp6_option_parse_ia() argument 727 if (ia->header.id != iaid) in dhcp6_option_parse_ia()
|
/systemd-251/src/systemd/ ! |
D | sd-dhcp6-client.h | 223 uint32_t iaid); 226 uint32_t *iaid);
|
D | sd-dhcp-client.h | 262 uint32_t iaid, 269 uint32_t iaid,
|
D | sd-network.h | 186 int sd_network_link_get_dhcp6_client_iaid_string(int ifindex, char **iaid);
|
/systemd-251/src/network/ ! |
D | networkd-dhcp-common.c | 574 uint32_t iaid; in config_parse_iaid() local 583 r = safe_atou32(rvalue, &iaid); in config_parse_iaid() 591 network->dhcp_iaid = iaid; in config_parse_iaid() 596 network->dhcp6_iaid = iaid; in config_parse_iaid() 601 network->dhcp6_iaid = iaid; in config_parse_iaid()
|
D | networkd-dhcp6.c | 793 uint32_t iaid; in link_serialize_dhcp6_client() local 801 r = sd_dhcp6_client_get_iaid(link->dhcp6_client, &iaid); in link_serialize_dhcp6_client() 803 fprintf(f, "DHCP6_CLIENT_IAID=0x%x\n", iaid); in link_serialize_dhcp6_client()
|
D | networkctl.c | 1552 _cleanup_free_ char *t = NULL, *network = NULL, *iaid = NULL, *duid = NULL, in link_status_one() local 2264 r = sd_network_link_get_dhcp6_client_iaid_string(info->ifindex, &iaid); in link_status_one() 2269 TABLE_STRING, iaid); in link_status_one()
|
/systemd-251/src/libsystemd/sd-network/ ! |
D | sd-network.c | 216 int sd_network_link_get_dhcp6_client_iaid_string(int ifindex, char **iaid) { in sd_network_link_get_dhcp6_client_iaid_string() argument 217 return network_link_get_string(ifindex, "DHCP6_CLIENT_IAID", iaid); in sd_network_link_get_dhcp6_client_iaid_string()
|