Home
last modified time | relevance | path

Searched refs:odev (Results 1 – 4 of 4) sorted by relevance

/net/core/
Dpktgen.c405 struct net_device *odev; /* The out-going device. member
619 pkt_dev->odev->dev_addr : pkt_dev->src_mac); in pktgen_if_show()
1198 !(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))) in pktgen_if_write()
1257 (!(pkt_dev->odev->priv_flags & IFF_TX_SKB_SHARING))))) in pktgen_if_write()
2028 if (pkt_dev->odev != dev) in pktgen_change_name()
2097 struct net_device *odev; in pktgen_setup_dev() local
2101 if (pkt_dev->odev) { in pktgen_setup_dev()
2102 dev_put(pkt_dev->odev); in pktgen_setup_dev()
2103 pkt_dev->odev = NULL; in pktgen_setup_dev()
2106 odev = pktgen_dev_get_by_name(pn, pkt_dev, ifname); in pktgen_setup_dev()
[all …]
/net/ipv6/
Dseg6_local.c336 struct net_device *odev; in input_action_end_dx2() local
355 odev = dev_get_by_index_rcu(net, slwt->oif); in input_action_end_dx2()
356 if (!odev) in input_action_end_dx2()
362 if (odev->type != ARPHRD_ETHER) in input_action_end_dx2()
365 if (!(odev->flags & IFF_UP) || !netif_carrier_ok(odev)) in input_action_end_dx2()
375 if (skb->len - ETH_HLEN > odev->mtu) in input_action_end_dx2()
378 skb->dev = odev; in input_action_end_dx2()
/net/netrom/
Dnr_route.c104 struct net_device *odev; in nr_add_node() local
106 if ((odev=nr_dev_get(nr)) != NULL) { /* Can't add routes to ourself */ in nr_add_node()
107 dev_put(odev); in nr_add_node()
/net/sctp/
Dprotocol.c492 struct net_device *odev; in sctp_v4_get_dst() local
514 odev = __ip_dev_find(sock_net(sk), laddr->a.v4.sin_addr.s_addr, in sctp_v4_get_dst()
516 if (!odev || odev->ifindex != fl4->flowi4_oif) { in sctp_v4_get_dst()