Home
last modified time | relevance | path

Searched refs:ipvlan (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ipvlan/
H A Dipvlan_main.c19 struct ipvl_dev *ipvlan; in ipvlan_set_port_mode() local
27 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode()
28 flags = ipvlan->dev->flags; in ipvlan_set_port_mode()
30 err = dev_change_flags(ipvlan->dev, in ipvlan_set_port_mode()
34 err = dev_change_flags(ipvlan->dev, in ipvlan_set_port_mode()
58 list_for_each_entry_continue_reverse(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode()
59 flags = ipvlan->dev->flags; in ipvlan_set_port_mode()
62 dev_change_flags(ipvlan->dev, flags | IFF_NOARP, in ipvlan_set_port_mode()
65 dev_change_flags(ipvlan->dev, flags & ~IFF_NOARP, in ipvlan_set_port_mode()
171 struct ipvl_dev *ipvlan = netdev_priv(dev); in ipvlan_init() local
[all …]
H A DMakefile6 obj-$(CONFIG_IPVLAN) += ipvlan.o
9 ipvlan-objs-$(CONFIG_IPVLAN_L3S) += ipvlan_l3s.o
10 ipvlan-objs := ipvlan_core.o ipvlan_main.o $(ipvlan-objs-y)
H A Dipvlan.h161 void ipvlan_ht_addr_add(struct ipvl_dev *ipvlan, struct ipvl_addr *addr);
162 struct ipvl_addr *ipvlan_find_addr(const struct ipvl_dev *ipvlan,
169 void ipvlan_count_rx(const struct ipvl_dev *ipvlan,
/linux/Documentation/networking/
H A Dipvlan.rst34 ip link add link <master> name <slave> type ipvlan [ mode MODE ] [ FLAGS ]
44 bash# ip link add link eth0 name ipvl0 type ipvlan
47 bash# ip link add link eth0 name ipvl0 type ipvlan mode l2 bridge
51 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 private
55 bash# ip link add link eth0 name ipvlan type ipvlan mode l2 vepa
120 6. What to choose (macvlan vs. ipvlan)?
125 situations defines your use case then you can choose to use ipvlan:
161 (b) Create two ipvlan slaves on eth0 (master device)::
163 ip link add link eth0 ipvl0 type ipvlan mode l2
164 ip link add link eth0 ipvl1 type ipvlan mode l2
H A Dindex.rst67 ipvlan
/linux/Documentation/translations/zh_CN/networking/
H A Dindex.rst91 * ipvlan