Home
last modified time | relevance | path

Searched refs:arp_type (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/libsystemd-network/
Ddhcp-identifier.c67 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 …]
Ddhcp-network.c26 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 &eth_mac, arp_type, dhcp_hlen, port); in dhcp_network_bind_raw_socket()
Ddhcp-packet.c22 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()
Dsd-dhcp-client.c93 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 …]
Ddhcp-internal.h38 uint16_t arp_type, uint16_t port);
56 uint8_t type, uint16_t arp_type, uint8_t hlen, const uint8_t *chaddr,
Dsd-dhcp6-client.c100 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()
Ddhcp-identifier.h63 uint16_t arp_type,
Ddhcp6-internal.h40 uint16_t arp_type; member
Dfuzz-dhcp-client.c19 uint16_t arp_type, uint16_t port) { in dhcp_network_bind_raw_socket() argument
Dtest-dhcp-client.c236 uint16_t arp_type, uint16_t port) { in dhcp_network_bind_raw_socket() argument
/systemd-251/src/systemd/
Dsd-dhcp6-client.h212 uint16_t arp_type);
Dsd-dhcp-client.h253 uint16_t arp_type);