Home
last modified time | relevance | path

Searched refs:lowerdev (Results 1 – 3 of 3) sorted by relevance

/drivers/net/
Dmacvlan.c503 dev_forward_skb(vlan->lowerdev, skb); in macvlan_queue_xmit()
510 skb->dev = vlan->lowerdev; in macvlan_queue_xmit()
536 skb->dev = vlan->lowerdev; in macvlan_start_xmit()
561 struct net_device *lowerdev = vlan->lowerdev; in macvlan_hard_header() local
563 return dev_hard_header(skb, lowerdev, type, daddr, in macvlan_hard_header()
579 struct net_device *lowerdev = vlan->lowerdev; in macvlan_open() local
584 err = dev_set_promiscuity(lowerdev, 1); in macvlan_open()
591 if (lowerdev->features & NETIF_F_HW_L2FW_DOFFLOAD && in macvlan_open()
594 lowerdev->netdev_ops->ndo_dfwd_add_station(lowerdev, dev); in macvlan_open()
609 err = dev_uc_add(lowerdev, dev->dev_addr); in macvlan_open()
[all …]
Dvxlan.c2422 struct net_device *lowerdev, in __vxlan_change_mtu() argument
2427 if (lowerdev) in __vxlan_change_mtu()
2428 max_mtu = lowerdev->mtu; in __vxlan_change_mtu()
2453 struct net_device *lowerdev = __dev_get_by_index(vxlan->net, in vxlan_change_mtu() local
2455 return __vxlan_change_mtu(dev, lowerdev, dst, new_mtu, true); in vxlan_change_mtu()
2831 struct net_device *lowerdev = NULL; in vxlan_dev_configure() local
2852 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_dev_configure()
2855 if (!lowerdev) { in vxlan_dev_configure()
2862 struct inet6_dev *idev = __in6_dev_get(lowerdev); in vxlan_dev_configure()
2871 dev->mtu = lowerdev->mtu - (use_ipv6 ? VXLAN6_HEADROOM : VXLAN_HEADROOM); in vxlan_dev_configure()
[all …]
/drivers/net/wireless/
Dvirt_wifi.c206 struct net_device *lowerdev; member
412 skb->dev = priv->lowerdev; in virt_wifi_start_xmit()
505 priv->lowerdev = __dev_get_by_index(src_net, in virt_wifi_newlink()
508 if (!priv->lowerdev) in virt_wifi_newlink()
511 dev->mtu = priv->lowerdev->mtu; in virt_wifi_newlink()
512 else if (dev->mtu > priv->lowerdev->mtu) in virt_wifi_newlink()
515 err = netdev_rx_handler_register(priv->lowerdev, virt_wifi_rx_handler, in virt_wifi_newlink()
518 dev_err(&priv->lowerdev->dev, in virt_wifi_newlink()
523 eth_hw_addr_inherit(dev, priv->lowerdev); in virt_wifi_newlink()
524 netif_stacked_transfer_operstate(priv->lowerdev, dev); in virt_wifi_newlink()
[all …]