Searched refs:bcast_addr (Results 1 – 10 of 10) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | dhcp-network.c | 23 const uint8_t *bcast_addr, in _bind_raw_socket() argument 105 …memcpy(link->ll.sll_addr, bcast_addr, bcast_addr_len); /* We may overflow link->ll. link->ll_buffe… in _bind_raw_socket() 120 const uint8_t *bcast_addr, in dhcp_network_bind_raw_socket() argument 150 if (bcast_addr && bcast_addr_len > 0) in dhcp_network_bind_raw_socket() 153 bcast_addr = default_bcast_addr; in dhcp_network_bind_raw_socket() 157 return _bind_raw_socket(ifindex, link, xid, bcast_addr, bcast_addr_len, in dhcp_network_bind_raw_socket()
|
D | fuzz-dhcp-client.c | 49 uint8_t bcast_addr[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; in LLVMFuzzerTestOneInput() local 67 … assert_se(sd_dhcp_client_set_mac(client, mac_addr, bcast_addr, ETH_ALEN, ARPHRD_ETHER) >= 0); in LLVMFuzzerTestOneInput()
|
D | sd-dhcp-client.c | 91 uint8_t bcast_addr[MAX_MAC_ADDR_LEN]; member 318 const uint8_t *bcast_addr, in sd_dhcp_client_set_mac() argument 340 (client->bcast_addr_len > 0) == !!bcast_addr && in sd_dhcp_client_set_mac() 341 (!bcast_addr || memcmp(&client->bcast_addr, bcast_addr, addr_len) == 0)) in sd_dhcp_client_set_mac() 355 if (bcast_addr) { in sd_dhcp_client_set_mac() 356 memcpy(&client->bcast_addr, bcast_addr, addr_len); in sd_dhcp_client_set_mac() 1434 client->bcast_addr, client->bcast_addr_len, in client_start_delayed() 1485 client->bcast_addr, client->bcast_addr_len, in client_timeout_t2()
|
D | test-dhcp-client.c | 26 static uint8_t bcast_addr[] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; variable 285 … assert_se(sd_dhcp_client_set_mac(client, mac_addr, bcast_addr, ETH_ALEN, ARPHRD_ETHER) >= 0); in test_discover_message() 503 … assert_se(sd_dhcp_client_set_mac(client, mac_addr, bcast_addr, ETH_ALEN, ARPHRD_ETHER) >= 0); in test_addr_acq()
|
D | dhcp-internal.h | 37 const uint8_t *bcast_addr, size_t bcast_addr_len,
|
/systemd-251/src/network/ |
D | networkd-link.h | 61 struct hw_addr_data bcast_addr; member
|
D | networkd-dhcp4.c | 1386 link->bcast_addr.length > 0 ? link->bcast_addr.bytes : NULL, in dhcp4_configure() 1544 link->bcast_addr.length > 0 ? link->bcast_addr.bytes : NULL, in dhcp4_update_mac()
|
D | networkd-json.c | 1188 … JSON_BUILD_PAIR_HW_ADDR_NON_NULL("BroadcastAddress", &link->bcast_addr), in link_build_json()
|
D | networkd-link.c | 2141 r = netlink_message_read_hw_addr(message, IFLA_BROADCAST, &link->bcast_addr); in link_update_hardware_address()
|
/systemd-251/src/systemd/ |
D | sd-dhcp-client.h | 251 const uint8_t *bcast_addr,
|