Lines Matching refs:dev

122 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock,
124 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock,
129 static inline void udp_tunnel_get_rx_info(struct net_device *dev)
132 call_netdevice_notifiers(NETDEV_UDP_TUNNEL_PUSH_INFO, dev);
135 static inline void udp_tunnel_drop_rx_info(struct net_device *dev)
138 call_netdevice_notifiers(NETDEV_UDP_TUNNEL_DROP_INFO, dev);
149 struct net_device *dev, struct in6_addr *saddr,
213 struct net_device *dev;
248 int (*set_port)(struct net_device *dev,
251 int (*unset_port)(struct net_device *dev,
256 int (*sync_table)(struct net_device *dev, unsigned int table);
279 void (*get_port)(struct net_device *dev, unsigned int table,
281 void (*set_port_priv)(struct net_device *dev, unsigned int table,
283 void (*add_port)(struct net_device *dev, struct udp_tunnel_info *ti);
284 void (*del_port)(struct net_device *dev, struct udp_tunnel_info *ti);
285 void (*reset_ntf)(struct net_device *dev);
287 size_t (*dump_size)(struct net_device *dev, unsigned int table);
288 int (*dump_write)(struct net_device *dev, unsigned int table,
299 udp_tunnel_nic_get_port(struct net_device *dev, unsigned int table,
311 udp_tunnel_nic_ops->get_port(dev, table, idx, ti);
315 udp_tunnel_nic_set_port_priv(struct net_device *dev, unsigned int table,
319 udp_tunnel_nic_ops->set_port_priv(dev, table, idx, priv);
323 udp_tunnel_nic_add_port(struct net_device *dev, struct udp_tunnel_info *ti)
326 udp_tunnel_nic_ops->add_port(dev, ti);
330 udp_tunnel_nic_del_port(struct net_device *dev, struct udp_tunnel_info *ti)
333 udp_tunnel_nic_ops->del_port(dev, ti);
338 * @dev: network interface device structure
348 static inline void udp_tunnel_nic_reset_ntf(struct net_device *dev)
351 udp_tunnel_nic_ops->reset_ntf(dev);
355 udp_tunnel_nic_dump_size(struct net_device *dev, unsigned int table)
359 return udp_tunnel_nic_ops->dump_size(dev, table);
363 udp_tunnel_nic_dump_write(struct net_device *dev, unsigned int table,
368 return udp_tunnel_nic_ops->dump_write(dev, table, skb);