Searched defs:arp_type (Results 1 - 5 of 5) sorted by relevance

/systemd/src/libsystemd-network/
H A Ddhcp-network.c39 uint16_t arp_type, uint8_t dhcp_hlen) {
62 BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, arp_type, 1, 0), /* header type == arp_type ? */
112 link->ll.sll_hatype = htons(arp_type);
128 size_t mac_addr_len, uint16_t arp_type) {
142 if (arp_type == ARPHRD_ETHER) {
147 } else if (arp_type == ARPHRD_INFINIBAND) {
154 bcast_addr, &eth_mac, arp_type, dhcp_hlen);
34 _bind_raw_socket(int ifindex, union sockaddr_union *link, uint32_t xid, const uint8_t *mac_addr, size_t mac_addr_len, const uint8_t *bcast_addr, const struct ether_addr *eth_mac, uint16_t arp_type, uint8_t dhcp_hlen) argument
126 dhcp_network_bind_raw_socket(int ifindex, union sockaddr_union *link, uint32_t xid, const uint8_t *mac_addr, size_t mac_addr_len, uint16_t arp_type) argument
H A Ddhcp-packet.c32 uint8_t type, uint16_t arp_type, size_t optlen,
38 assert(arp_type == ARPHRD_ETHER || arp_type == ARPHRD_INFINIBAND);
41 message->htype = arp_type;
42 message->hlen = (arp_type == ARPHRD_ETHER) ? ETHER_ADDR_LEN : 0;
31 dhcp_message_init(DHCPMessage *message, uint8_t op, uint32_t xid, uint8_t type, uint16_t arp_type, size_t optlen, size_t *optoffset) argument
H A Dtest-dhcp-client.c198 uint16_t arp_type) {
193 dhcp_network_bind_raw_socket( int index, union sockaddr_union *link, uint32_t id, const uint8_t *addr, size_t addr_len, uint16_t arp_type) argument
H A Dsd-dhcp6-client.c51 uint16_t arp_type; member in struct:sd_dhcp6_client
148 uint16_t arp_type) {
153 assert_return(arp_type > 0, -EINVAL);
157 if (arp_type == ARPHRD_ETHER)
159 else if (arp_type == ARPHRD_INFINIBAND)
170 client->arp_type = arp_type;
145 sd_dhcp6_client_set_mac( sd_dhcp6_client *client, const uint8_t *addr, size_t addr_len, uint16_t arp_type) argument
H A Dsd-dhcp-client.c67 uint16_t arp_type; member in struct:sd_dhcp_client
200 size_t addr_len, uint16_t arp_type) {
207 assert_return(arp_type > 0, -EINVAL);
209 if (arp_type == ARPHRD_ETHER)
211 else if (arp_type == ARPHRD_INFINIBAND)
229 client->arp_type = arp_type;
433 client->arp_type, optlen, &optoffset);
460 if (client->request_broadcast || client->arp_type != ARPHRD_ETHER)
469 if (client->arp_type
199 sd_dhcp_client_set_mac(sd_dhcp_client *client, const uint8_t *addr, size_t addr_len, uint16_t arp_type) argument
[all...]

Completed in 1304 milliseconds