summaryrefslogtreecommitdiff
path: root/src/network/networkd.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-07-03 09:38:33 +0200
committerTom Gundersen <teg@jklm.no>2014-07-03 11:00:01 +0200
commit0372cb2bd2342fa5c5585c666f79159a8341f4a6 (patch)
tree2c97ec733d2da13e8ea80156280058a3d6969cb7 /src/network/networkd.h
parent620a687cd2b27e93e289e057aad0e57f30651bf9 (diff)
networkd: split out vlan and macvlan handling
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r--src/network/networkd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h
index e0232af1e5..0ba9ee5880 100644
--- a/src/network/networkd.h
+++ b/src/network/networkd.h
@@ -339,6 +339,8 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(Manager*, manager_free);
/* NetDev */
+#define VLANID_MAX 4094
+
int netdev_load(Manager *manager);
void netdev_drop(NetDev *netdev);
@@ -354,6 +356,8 @@ int netdev_enslave(NetDev *netdev, Link *link, sd_rtnl_message_handler_t cb);
int netdev_create_tunnel(NetDev *netdev, Link *link, sd_rtnl_message_handler_t callback);
int netdev_create_veth(NetDev *netdev, sd_rtnl_message_handler_t callback);
int netdev_create_vxlan(NetDev *netdev, Link *link, sd_rtnl_message_handler_t callback);
+int netdev_create_vlan(NetDev *netdev, Link *link, sd_rtnl_message_handler_t callback);
+int netdev_create_macvlan(NetDev *netdev, Link *link, sd_rtnl_message_handler_t callback);
int netdev_create_dummy(NetDev *netdev, sd_rtnl_message_handler_t callback);
const char *netdev_kind_to_string(NetDevKind d) _const_;