diff options
author | 1848 <nomail> | 2019-07-17 19:43:35 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-07-19 00:14:58 +0200 |
commit | f9ab224eb8eba3e52ecb49695894433dee5184ea (patch) | |
tree | b964c542a3f3e873f286828fd7edf4efd6def554 /src/network/networkd-neighbor.h | |
parent | meson: update hint in man/rules/ (diff) | |
download | systemd-f9ab224eb8eba3e52ecb49695894433dee5184ea.tar.xz systemd-f9ab224eb8eba3e52ecb49695894433dee5184ea.zip |
network: Added neighbor lladdr support for IPv6
Diffstat (limited to 'src/network/networkd-neighbor.h')
-rw-r--r-- | src/network/networkd-neighbor.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/network/networkd-neighbor.h b/src/network/networkd-neighbor.h index 1405ac25e2..09ccb55274 100644 --- a/src/network/networkd-neighbor.h +++ b/src/network/networkd-neighbor.h @@ -15,13 +15,6 @@ typedef struct Neighbor Neighbor; #include "networkd-network.h" #include "networkd-util.h" -typedef enum { - NEIGHBOR_LLADDR_MAC, - NEIGHBOR_LLADDR_IP, - _NEIGHBOR_LLADDR_MAX, - _NEIGHBOR_LLADDR_INVALID = -1, -} NeighborLLAddressType; - struct Neighbor { Network *network; Link *link; @@ -33,7 +26,7 @@ struct Neighbor { struct ether_addr mac; union in_addr_union ip; } lladdr; - NeighborLLAddressType lladdr_type; + size_t lladdr_size; LIST_FIELDS(Neighbor, neighbors); }; |