Lines Matching refs:stream_dev

629 	if (!netif_running(amt->stream_dev) || !netif_running(amt->dev))  in amt_send_discovery()
636 amt->stream_dev->ifindex); in amt_send_discovery()
718 if (!netif_running(amt->stream_dev) || !netif_running(amt->dev)) in amt_send_request()
725 amt->stream_dev->ifindex); in amt_send_request()
1018 fl4.flowi4_oif = amt->stream_dev->ifindex; in amt_send_membership_update()
1077 fl4.flowi4_oif = amt->stream_dev->ifindex; in amt_send_multicast_data()
1131 fl4.flowi4_oif = amt->stream_dev->ifindex; in amt_send_membership_query()
2566 if (!netif_running(amt->stream_dev) || !netif_running(amt->dev)) in amt_send_advertisement()
2573 amt->stream_dev->ifindex); in amt_send_advertisement()
2724 if (!netif_running(amt->dev) || !netif_running(amt->stream_dev)) in amt_request_handler()
3186 amt->stream_dev = dev_get_by_index(net, in amt_newlink()
3188 if (!amt->stream_dev) { in amt_newlink()
3194 if (amt->stream_dev->type != ARPHRD_ETHER) { in amt_newlink()
3227 dev->needed_headroom = amt->stream_dev->needed_headroom + in amt_newlink()
3229 dev->mtu = amt->stream_dev->mtu - AMT_RELAY_HLEN; in amt_newlink()
3253 dev->needed_headroom = amt->stream_dev->needed_headroom + in amt_newlink()
3255 dev->mtu = amt->stream_dev->mtu - AMT_GW_HLEN; in amt_newlink()
3267 err = netdev_upper_dev_link(amt->stream_dev, dev, extack); in amt_newlink()
3280 dev_put(amt->stream_dev); in amt_newlink()
3289 netdev_upper_dev_unlink(amt->stream_dev, dev); in amt_dellink()
3290 dev_put(amt->stream_dev); in amt_dellink()
3315 if (nla_put_u32(skb, IFLA_AMT_LINK, amt->stream_dev->ifindex)) in amt_fill_info()
3354 if (amt->stream_dev == dev) in amt_lookup_upper_dev()