Home
last modified time | relevance | path

Searched refs:bcast_addr (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/libsystemd-network/
Ddhcp-network.c23 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()
Dfuzz-dhcp-client.c49 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()
Dsd-dhcp-client.c91 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()
Dtest-dhcp-client.c26 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()
Ddhcp-internal.h37 const uint8_t *bcast_addr, size_t bcast_addr_len,
/systemd-251/src/network/
Dnetworkd-link.h61 struct hw_addr_data bcast_addr; member
Dnetworkd-dhcp4.c1386 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()
Dnetworkd-json.c1188 … JSON_BUILD_PAIR_HW_ADDR_NON_NULL("BroadcastAddress", &link->bcast_addr), in link_build_json()
Dnetworkd-link.c2141 r = netlink_message_read_hw_addr(message, IFLA_BROADCAST, &link->bcast_addr); in link_update_hardware_address()
/systemd-251/src/systemd/
Dsd-dhcp-client.h251 const uint8_t *bcast_addr,