Lines Matching refs:vlantap

53 	struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap);  in ipvtap_count_tx_dropped()  local
54 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_tx_dropped()
61 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_count_rx_dropped() local
62 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_count_rx_dropped()
70 struct ipvtap_dev *vlantap = container_of(tap, struct ipvtap_dev, tap); in ipvtap_update_features() local
71 struct ipvl_dev *vlan = &vlantap->vlan; in ipvtap_update_features()
81 struct ipvtap_dev *vlantap = netdev_priv(dev); in ipvtap_newlink() local
84 INIT_LIST_HEAD(&vlantap->tap.queue_list); in ipvtap_newlink()
89 vlantap->tap.tap_features = TUN_OFFLOADS; in ipvtap_newlink()
90 vlantap->tap.count_tx_dropped = ipvtap_count_tx_dropped; in ipvtap_newlink()
91 vlantap->tap.update_features = ipvtap_update_features; in ipvtap_newlink()
92 vlantap->tap.count_rx_dropped = ipvtap_count_rx_dropped; in ipvtap_newlink()
94 err = netdev_rx_handler_register(dev, tap_handle_frame, &vlantap->tap); in ipvtap_newlink()
107 vlantap->tap.dev = vlantap->vlan.dev; in ipvtap_newlink()
141 struct ipvtap_dev *vlantap; in ipvtap_device_event() local
151 vlantap = netdev_priv(dev); in ipvtap_device_event()
159 err = tap_get_minor(ipvtap_major, &vlantap->tap); in ipvtap_device_event()
163 devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor); in ipvtap_device_event()
167 tap_free_minor(ipvtap_major, &vlantap->tap); in ipvtap_device_event()
177 if (vlantap->tap.minor == 0) in ipvtap_device_event()
180 devt = MKDEV(MAJOR(ipvtap_major), vlantap->tap.minor); in ipvtap_device_event()
182 tap_free_minor(ipvtap_major, &vlantap->tap); in ipvtap_device_event()
185 if (tap_queue_resize(&vlantap->tap)) in ipvtap_device_event()