summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/vxcan.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-09-09 11:00:28 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-09-10 12:30:17 +0200
commitd0899c6a55060a9d50d3e5e4b7fe0ba3fa715d88 (patch)
tree6a1ae4c0db703be1ebf42747c92a45cfafbeebde /src/network/netdev/vxcan.h
parentnetwork/vxcan: refuse when peer and the main interface names are equivalent (diff)
downloadsystemd-d0899c6a55060a9d50d3e5e4b7fe0ba3fa715d88.tar.xz
systemd-d0899c6a55060a9d50d3e5e4b7fe0ba3fa715d88.zip
network/vxcan: also manage peer interface name by manager
Then, the Link object for the peer interface can have a reference to the corresponding NetDev object.
Diffstat (limited to '')
-rw-r--r--src/network/netdev/vxcan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/netdev/vxcan.h b/src/network/netdev/vxcan.h
index 47be3f017d..b835ce2c91 100644
--- a/src/network/netdev/vxcan.h
+++ b/src/network/netdev/vxcan.h
@@ -9,6 +9,7 @@ struct VxCan {
NetDev meta;
char *ifname_peer;
+ int ifindex_peer;
};
DEFINE_NETDEV_CAST(VXCAN, VxCan);