/systemd-251/src/basic/ |
D | ether-addr-util.h | 20 struct ether_addr ether; 32 int parse_ether_addr(const char *s, struct ether_addr *ret); 72 char* ether_addr_to_string(const struct ether_addr *addr, char buffer[ETHER_ADDR_TO_STRING_MAX]); 73 int ether_addr_to_string_alloc(const struct ether_addr *addr, char **ret); 77 int ether_addr_compare(const struct ether_addr *a, const struct ether_addr *b); 78 static inline bool ether_addr_equal(const struct ether_addr *a, const struct ether_addr *b) { in ether_addr_equal() 82 #define ETHER_ADDR_NULL ((const struct ether_addr){}) 84 static inline bool ether_addr_is_null(const struct ether_addr *addr) { in ether_addr_is_null() 88 static inline bool ether_addr_is_broadcast(const struct ether_addr *addr) { in ether_addr_is_broadcast() 93 static inline bool ether_addr_is_multicast(const struct ether_addr *addr) { in ether_addr_is_multicast() [all …]
|
D | ether-addr-util.c | 60 char* ether_addr_to_string(const struct ether_addr *addr, char buffer[ETHER_ADDR_TO_STRING_MAX]) { in ether_addr_to_string() 79 int ether_addr_to_string_alloc(const struct ether_addr *addr, char **ret) { in ether_addr_to_string_alloc() 95 int ether_addr_compare(const struct ether_addr *a, const struct ether_addr *b) { in ether_addr_compare() 99 static void ether_addr_hash_func(const struct ether_addr *p, struct siphash *state) { in ether_addr_hash_func() 100 siphash24_compress(p, sizeof(struct ether_addr), state); in ether_addr_hash_func() 103 DEFINE_HASH_OPS(ether_addr_hash_ops, struct ether_addr, ether_addr_hash_func, ether_addr_compare); 104 DEFINE_HASH_OPS_WITH_KEY_DESTRUCTOR(ether_addr_hash_ops_free, struct ether_addr, ether_addr_hash_fu… 250 int parse_ether_addr(const char *s, struct ether_addr *ret) { in parse_ether_addr()
|
/systemd-251/src/libsystemd-network/ |
D | arp-util.h | 14 int arp_update_filter(int fd, const struct in_addr *a, const struct ether_addr *mac); 15 int arp_network_bind_raw_socket(int ifindex, const struct in_addr *a, const struct ether_addr *mac); 21 const struct ether_addr *ha, 27 const struct ether_addr *ha) { in arp_send_probe() 34 const struct ether_addr *ha) { in arp_send_announcement()
|
D | icmp6-util.c | 111 int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) { in icmp6_send_router_solicitation() argument 119 struct ether_addr rs_opt_mac; in icmp6_send_router_solicitation() 137 assert(ether_addr); in icmp6_send_router_solicitation() 139 rs.rs_opt_mac = *ether_addr; in icmp6_send_router_solicitation()
|
D | test-ipv4ll.c | 49 const struct ether_addr *ha, in arp_send_packet() 65 int arp_update_filter(int fd, const struct in_addr *a, const struct ether_addr *eth_mac) { in arp_update_filter() 69 int arp_network_bind_raw_socket(int ifindex, const struct in_addr *a, const struct ether_addr *eth_… in arp_network_bind_raw_socket() 80 struct ether_addr mac_addr = { in test_public_api_setters() 129 struct ether_addr mac_addr = { in test_basic_request()
|
D | fuzz-ndisc-rs.c | 35 int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) { in icmp6_send_router_solicitation() argument 40 struct ether_addr mac_addr = { in LLVMFuzzerTestOneInput()
|
D | arp-util.c | 17 int arp_update_filter(int fd, const struct in_addr *a, const struct ether_addr *mac) { in arp_update_filter() 29 …BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, sizeof(struct ether_addr), 1, 0), /* length == sizeof… in arp_update_filter() 69 int arp_network_bind_raw_socket(int ifindex, const struct in_addr *a, const struct ether_addr *mac)… in arp_network_bind_raw_socket() 101 const struct ether_addr *ha, in arp_send_packet()
|
D | icmp6-util.h | 22 int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr);
|
D | sd-ipv4ll.c | 37 struct ether_addr mac; 67 static int ipv4ll_check_mac(sd_ipv4acd *acd, const struct ether_addr *mac, void *userdata); 142 int sd_ipv4ll_set_mac(sd_ipv4ll *ll, const struct ether_addr *addr) { in sd_ipv4ll_set_mac() 371 static int ipv4ll_check_mac(sd_ipv4acd *acd, const struct ether_addr *mac, void *userdata) { in ipv4ll_check_mac()
|
D | lldp-neighbor.h | 33 struct ether_addr source_address; 34 struct ether_addr destination_address;
|
D | test-acd.c | 37 static int client_run(int ifindex, const struct in_addr *pa, const struct ether_addr *ha, sd_event … in client_run() 64 struct ether_addr ha; in test_acd()
|
D | test-ipv4ll-manual.c | 45 static int client_run(int ifindex, const char *seed_str, const struct ether_addr *ha, sd_event *e) { in client_run() 78 struct ether_addr ha; in test_ll()
|
D | test-ndisc-rs.c | 20 static struct ether_addr mac_addr = { 219 int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) { in icmp6_send_router_solicitation() argument
|
D | test-ndisc-ra.c | 19 static struct ether_addr mac_addr = { 222 int icmp6_send_router_solicitation(int s, const struct ether_addr *ether_addr) { in icmp6_send_router_solicitation() argument
|
D | lldp-neighbor.c | 195 memcpy(&n->source_address, h.ether_shost, sizeof(struct ether_addr)); in lldp_neighbor_parse() 196 memcpy(&n->destination_address, h.ether_dhost, sizeof(struct ether_addr)); in lldp_neighbor_parse() 364 int sd_lldp_neighbor_get_source_address(sd_lldp_neighbor *n, struct ether_addr* address) { in sd_lldp_neighbor_get_source_address() 372 int sd_lldp_neighbor_get_destination_address(sd_lldp_neighbor *n, struct ether_addr* address) { in sd_lldp_neighbor_get_destination_address() 407 struct ether_addr a; in format_mac_address()
|
D | sd-ipv4acd.c | 70 struct ether_addr mac_addr; 330 …acd->check_mac_callback(acd, (const struct ether_addr*) arp->arp_sha, acd->check_mac_userdata) > 0) in ipv4acd_arp_conflict() 462 int sd_ipv4acd_set_mac(sd_ipv4acd *acd, const struct ether_addr *addr) { in sd_ipv4acd_set_mac()
|
/systemd-251/src/network/ |
D | test-networkd-conf.c | 56 static void test_config_parse_ether_addr_one(const char *rvalue, int ret, const struct ether_addr* … in test_config_parse_ether_addr_one() 57 struct ether_addr *actual = NULL; in test_config_parse_ether_addr_one() 71 static void test_config_parse_ether_addrs_one(const char *rvalue, const struct ether_addr* list, si… in test_config_parse_ether_addrs_one() 78 _cleanup_free_ struct ether_addr *q = NULL; in test_config_parse_ether_addrs_one() 107 const struct ether_addr t[] = { in TEST()
|
D | networkd-wifi.c | 209 struct ether_addr bssid; in manager_genl_process_nl80211_mlme() 235 struct ether_addr bssid; in manager_genl_process_nl80211_mlme()
|
/systemd-251/src/systemd/ |
D | sd-lldp-rx.h | 67 int sd_lldp_rx_set_filter_address(sd_lldp_rx *lldp_rx, const struct ether_addr *address); 76 int sd_lldp_neighbor_get_source_address(sd_lldp_neighbor *n, struct ether_addr* address); 77 int sd_lldp_neighbor_get_destination_address(sd_lldp_neighbor *n, struct ether_addr* address);
|
D | sd-ipv4acd.h | 39 typedef int (*sd_ipv4acd_check_mac_callback_t)(sd_ipv4acd *acd, const struct ether_addr *mac, void … 46 int sd_ipv4acd_set_mac(sd_ipv4acd *acd, const struct ether_addr *addr);
|
D | sd-ipv4ll.h | 39 typedef int (*sd_ipv4ll_check_mac_callback_t)(sd_ipv4ll *ll, const struct ether_addr *mac, void *us… 46 int sd_ipv4ll_set_mac(sd_ipv4ll *ll, const struct ether_addr *addr);
|
/systemd-251/src/nspawn/ |
D | nspawn-network.c | 63 struct ether_addr *mac, in generate_mac() 134 const struct ether_addr *mac_host, in add_veth() 136 const struct ether_addr *mac_container) { in add_veth() 243 struct ether_addr mac_host, mac_container; in setup_veth() 304 struct ether_addr mac_host, mac_container; in setup_veth_extra() 545 struct ether_addr mac; in setup_macvlan()
|
/systemd-251/src/test/ |
D | test-ether-addr-util.c | 8 struct ether_addr a; in TEST() 26 a = (struct ether_addr) { { 0x01, 0x23, 0x34, 0x56, 0x78, 0x9a } }; in TEST()
|
/systemd-251/src/shared/ |
D | wifi-util.h | 12 int wifi_get_station(sd_netlink *genl, int ifindex, struct ether_addr *ret_bssid);
|
D | net-condition.h | 42 const struct ether_addr *bssid);
|