Searched defs:arp (Results 1 - 3 of 3) sorted by relevance
/systemd/src/libsystemd-network/ |
H A D | arp-util.c | 24 #include "arp-util.h" 31 BPF_JUMP(BPF_JMP + BPF_JGE + BPF_K, sizeof(struct ether_arp), 1, 0), /* packet >= arp packet ? */ 120 struct ether_arp arp = { local 133 memcpy(&arp.arp_sha, ha, ETH_ALEN); 134 memcpy(&arp.arp_tpa, &pa, sizeof(pa)); 137 memcpy(&arp.arp_spa, &pa, sizeof(pa)); 139 r = sendto(fd, &arp, sizeof(struct ether_arp), 0, &link.sa, sizeof(link.ll));
|
H A D | test-ipv4ll.c | 30 #include "arp-util.h" 59 const struct ether_arp *arp) { 60 assert_se(arp); 64 if (send(fd, arp, sizeof(struct ether_arp), 0) < 0) 154 struct ether_arp arp; local 184 assert_se(read(test_fd[1], &arp, sizeof(struct ether_arp)) == sizeof(struct ether_arp)); 189 assert_se(read(test_fd[1], &arp, sizeof(struct ether_arp)) == sizeof(struct ether_arp)); 193 assert_se(read(test_fd[1], &arp, sizeof(struct ether_arp)) == sizeof(struct ether_arp)); 58 arp_network_send_raw_socket(int fd, int ifindex, const struct ether_arp *arp) argument
|
H A D | sd-ipv4acd.c | 30 #include "arp-util.h" 224 static bool ipv4acd_arp_conflict(sd_ipv4acd *ll, struct ether_arp *arp) { argument 226 assert(arp); 229 if (memcmp(arp->arp_spa, &ll->address, sizeof(ll->address)) == 0)
|
Completed in 17 milliseconds