diff options
author | Tom Gundersen <teg@jklm.no> | 2014-07-03 09:38:33 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-07-03 11:00:01 +0200 |
commit | 0372cb2bd2342fa5c5585c666f79159a8341f4a6 (patch) | |
tree | 2c97ec733d2da13e8ea80156280058a3d6969cb7 /src/network/networkd.h | |
parent | 620a687cd2b27e93e289e057aad0e57f30651bf9 (diff) |
networkd: split out vlan and macvlan handling
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 4 |
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_; |