summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-neighbor.h
diff options
context:
space:
mode:
author1848 <nomail>2019-07-17 19:43:35 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-19 00:14:58 +0200
commitf9ab224eb8eba3e52ecb49695894433dee5184ea (patch)
treeb964c542a3f3e873f286828fd7edf4efd6def554 /src/network/networkd-neighbor.h
parentmeson: update hint in man/rules/ (diff)
downloadsystemd-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.h9
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);
};