Searched refs:ipvlan (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ipvlan/ |
| H A D | ipvlan_main.c | 13 struct ipvl_dev *ipvlan; in ipvlan_set_port_mode() local 19 list_for_each_entry(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode() 20 flags = ipvlan->dev->flags; in ipvlan_set_port_mode() 22 err = dev_change_flags(ipvlan->dev, in ipvlan_set_port_mode() 26 err = dev_change_flags(ipvlan->dev, in ipvlan_set_port_mode() 48 list_for_each_entry_continue_reverse(ipvlan, &port->ipvlans, pnode) { in ipvlan_set_port_mode() 49 flags = ipvlan->dev->flags; in ipvlan_set_port_mode() 52 dev_change_flags(ipvlan->dev, flags | IFF_NOARP, in ipvlan_set_port_mode() 55 dev_change_flags(ipvlan->dev, flags & ~IFF_NOARP, in ipvlan_set_port_mode() 134 struct ipvl_dev *ipvlan = netdev_priv(dev); in ipvlan_init() local [all …]
|
| H A D | ipvlan_core.c | 17 void ipvlan_count_rx(const struct ipvl_dev *ipvlan, in ipvlan_count_rx() argument 23 pcptr = this_cpu_ptr(ipvlan->pcpu_stats); in ipvlan_count_rx() 31 this_cpu_inc(ipvlan->pcpu_stats->rx_errs); in ipvlan_count_rx() 90 void ipvlan_ht_addr_add(struct ipvl_dev *ipvlan, struct ipvl_addr *addr) in ipvlan_ht_addr_add() argument 92 struct ipvl_port *port = ipvlan->port; in ipvlan_ht_addr_add() 107 struct ipvl_addr *ipvlan_find_addr(const struct ipvl_dev *ipvlan, in ipvlan_find_addr() argument 112 assert_spin_locked(&ipvlan->port->addrs_lock); in ipvlan_find_addr() 114 list_for_each_entry(addr, &ipvlan->addrs, anode) { in ipvlan_find_addr() 123 struct ipvl_dev *ipvlan; in ipvlan_addr_busy() local 127 list_for_each_entry_rcu(ipvlan, &port->ipvlans, pnode) { in ipvlan_addr_busy() [all …]
|
| H A D | Makefile | 6 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 D | ipvlan.h | 159 void ipvlan_ht_addr_add(struct ipvl_dev *ipvlan, struct ipvl_addr *addr); 160 struct ipvl_addr *ipvlan_find_addr(const struct ipvl_dev *ipvlan, 167 void ipvlan_count_rx(const struct ipvl_dev *ipvlan,
|
| /linux/Documentation/networking/ |
| H A D | ipvlan.rst | 34 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
|
| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | index.rst | 92 * ipvlan
|
| /linux/drivers/net/ |
| H A D | Kconfig | 215 "ip link add link <main-dev> [ NAME ] type ipvlan" 218 will be called ipvlan. 228 can be added in the same way as a ipvlan device, using 'type
|