Searched refs:arp_type (Results 1 – 12 of 12) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | dhcp-identifier.c | 67 static int dhcp_identifier_set_duid_llt(const uint8_t *addr, size_t addr_len, uint16_t arp_type, us… in dhcp_identifier_set_duid_llt() argument 77 if (arp_type == ARPHRD_ETHER) in dhcp_identifier_set_duid_llt() 79 else if (arp_type == ARPHRD_INFINIBAND) in dhcp_identifier_set_duid_llt() 90 unaligned_write_be16(&ret_duid->llt.htype, arp_type); in dhcp_identifier_set_duid_llt() 99 static int dhcp_identifier_set_duid_ll(const uint8_t *addr, size_t addr_len, uint16_t arp_type, str… in dhcp_identifier_set_duid_ll() argument 107 if (arp_type == ARPHRD_ETHER) in dhcp_identifier_set_duid_ll() 109 else if (arp_type == ARPHRD_INFINIBAND) in dhcp_identifier_set_duid_ll() 115 unaligned_write_be16(&ret_duid->ll.htype, arp_type); in dhcp_identifier_set_duid_ll() 180 uint16_t arp_type, in dhcp_identifier_set_duid() argument 188 … return dhcp_identifier_set_duid_llt(addr, addr_len, arp_type, llt_time, ret_duid, ret_len); in dhcp_identifier_set_duid() [all …]
|
D | dhcp-network.c | 26 uint16_t arp_type, uint8_t dhcp_hlen, in _bind_raw_socket() argument 50 …BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, arp_type, 1, 0), /* header type == arp_type … in _bind_raw_socket() 102 .sll_hatype = htobe16(arp_type), in _bind_raw_socket() 122 uint16_t arp_type, in dhcp_network_bind_raw_socket() argument 137 if (arp_type == ARPHRD_ETHER) { in dhcp_network_bind_raw_socket() 144 } else if (arp_type == ARPHRD_INFINIBAND) { in dhcp_network_bind_raw_socket() 158 ð_mac, arp_type, dhcp_hlen, port); in dhcp_network_bind_raw_socket()
|
D | dhcp-packet.c | 22 uint16_t arp_type, in dhcp_message_init() argument 35 message->htype = arp_type; in dhcp_message_init() 48 message->hlen = (arp_type == ARPHRD_INFINIBAND) ? 0 : hlen; in dhcp_message_init()
|
D | sd-dhcp-client.c | 93 uint16_t arp_type; member 320 uint16_t arp_type) { in sd_dhcp_client_set_mac() argument 329 assert_return(arp_type > 0, -EINVAL); in sd_dhcp_client_set_mac() 331 if (arp_type == ARPHRD_ETHER) in sd_dhcp_client_set_mac() 333 else if (arp_type == ARPHRD_INFINIBAND) in sd_dhcp_client_set_mac() 352 client->arp_type = arp_type; in sd_dhcp_client_set_mac() 495 client->arp_type, llt_time, client->test_mode, in dhcp_client_set_iaid_duid_internal() 817 client->arp_type, client->mac_addr_len, client->mac_addr, in client_message_init() 845 if (client->request_broadcast || client->arp_type != ARPHRD_ETHER) in client_message_init() 1435 client->arp_type, client->port); in client_start_delayed() [all …]
|
D | dhcp-internal.h | 38 uint16_t arp_type, uint16_t port); 56 uint8_t type, uint16_t arp_type, uint8_t hlen, const uint8_t *chaddr,
|
D | sd-dhcp6-client.c | 100 uint16_t arp_type) { in sd_dhcp6_client_set_mac() argument 109 if (arp_type == ARPHRD_ETHER) in sd_dhcp6_client_set_mac() 111 else if (arp_type == ARPHRD_INFINIBAND) in sd_dhcp6_client_set_mac() 114 client->arp_type = ARPHRD_NONE; in sd_dhcp6_client_set_mac() 121 client->arp_type = arp_type; in sd_dhcp6_client_set_mac() 220 … client->arp_type, llt_time, client->test_mode, &client->duid, &client->duid_len); in dhcp6_client_set_duid_internal()
|
D | dhcp-identifier.h | 63 uint16_t arp_type,
|
D | dhcp6-internal.h | 40 uint16_t arp_type; member
|
D | fuzz-dhcp-client.c | 19 uint16_t arp_type, uint16_t port) { in dhcp_network_bind_raw_socket() argument
|
D | test-dhcp-client.c | 236 uint16_t arp_type, uint16_t port) { in dhcp_network_bind_raw_socket() argument
|
/systemd-251/src/systemd/ |
D | sd-dhcp6-client.h | 212 uint16_t arp_type);
|
D | sd-dhcp-client.h | 253 uint16_t arp_type);
|