/net/bluetooth/bnep/ |
H A D | Makefile | 7 bnep-objs := core.o sock.o netdev.o
|
/net/openvswitch/ |
H A D | vport-internal_dev.c | 32 #include "vport-netdev.h" 38 static struct internal_dev *internal_dev_priv(struct net_device *netdev) argument 40 return netdev_priv(netdev); 44 static struct rtnl_link_stats64 *internal_dev_get_stats(struct net_device *netdev, argument 47 struct vport *vport = ovs_internal_dev_get_vport(netdev); 67 static int internal_dev_xmit(struct sk_buff *skb, struct net_device *netdev) argument 70 ovs_vport_receive(internal_dev_priv(netdev)->vport, skb); 75 static int internal_dev_open(struct net_device *netdev) argument 77 netif_start_queue(netdev); 81 static int internal_dev_stop(struct net_device *netdev) argument 87 internal_dev_getinfo(struct net_device *netdev, struct ethtool_drvinfo *info) argument 98 internal_dev_change_mtu(struct net_device *netdev, int new_mtu) argument 124 do_setup(struct net_device *netdev) argument 212 struct net_device *netdev = netdev_vport_priv(vport)->dev; local 238 ovs_is_internal_dev(const struct net_device *netdev) argument 243 ovs_internal_dev_get_vport(struct net_device *netdev) argument [all...] |
H A D | Makefile | 14 vport-netdev.o \
|
/net/wireless/ |
H A D | nl80211.h | 16 struct net_device *netdev, u32 cmd); 18 struct net_device *netdev); 21 struct net_device *netdev, 24 struct net_device *netdev, 27 struct net_device *netdev, 30 struct net_device *netdev, 33 struct net_device *netdev, 36 struct net_device *netdev, 39 struct net_device *netdev, const u8 *bssid, 44 struct net_device *netdev, cons [all...] |
H A D | trace.h | 39 memcpy(__entry->name, netdev->name, IFNAMSIZ); \ 40 (__entry->ifindex) = (netdev->ifindex); \ 42 #define NETDEV_PR_FMT "netdev:%s(%d)" 356 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, 358 TP_ARGS(wiphy, netdev, type), 374 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, 376 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr), 397 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u8 key_index, 399 TP_ARGS(wiphy, netdev, key_index, pairwise, mac_addr) 403 TP_PROTO(struct wiphy *wiphy, struct net_device *netdev, u [all...] |
H A D | rdev-ops.h | 74 struct net_device *netdev, u8 key_index, 79 trace_rdev_add_key(&rdev->wiphy, netdev, key_index, pairwise, mac_addr); 80 ret = rdev->ops->add_key(&rdev->wiphy, netdev, key_index, pairwise, 87 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, argument 92 trace_rdev_get_key(&rdev->wiphy, netdev, key_index, pairwise, mac_addr); 93 ret = rdev->ops->get_key(&rdev->wiphy, netdev, key_index, pairwise, 100 struct net_device *netdev, u8 key_index, 104 trace_rdev_del_key(&rdev->wiphy, netdev, key_index, pairwise, mac_addr); 105 ret = rdev->ops->del_key(&rdev->wiphy, netdev, key_index, pairwise, 113 struct net_device *netdev, u 73 rdev_add_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, u8 key_index, bool pairwise, const u8 *mac_addr, struct key_params *params) argument 99 rdev_del_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, u8 key_index, bool pairwise, const u8 *mac_addr) argument 112 rdev_set_default_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, u8 key_index, bool unicast, bool multicast) argument 126 rdev_set_default_mgmt_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, u8 key_index) argument 553 rdev_dump_survey(struct cfg80211_registered_device *rdev, struct net_device *netdev, int idx, struct survey_info *info) argument 567 rdev_set_pmksa(struct cfg80211_registered_device *rdev, struct net_device *netdev, struct cfg80211_pmksa *pmksa) argument 578 rdev_del_pmksa(struct cfg80211_registered_device *rdev, struct net_device *netdev, struct cfg80211_pmksa *pmksa) argument 589 rdev_flush_pmksa(struct cfg80211_registered_device *rdev, struct net_device *netdev) argument [all...] |
H A D | core.c | 173 if (!wdev->netdev) 175 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; 176 err = dev_change_net_namespace(wdev->netdev, net, "wlan%d"); 179 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; 188 if (!wdev->netdev) 190 wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; 191 err = dev_change_net_namespace(wdev->netdev, net, 194 wdev->netdev->features |= NETIF_F_NETNS_LOCAL; 261 if (wdev->netdev) { 262 dev_close(wdev->netdev); [all...] |
H A D | nl80211.c | 85 if (have_ifidx && wdev->netdev && 86 wdev->netdev->ifindex == ifidx) { 110 struct net_device *netdev; local 151 netdev = dev_get_by_index(netns, ifindex); 152 if (netdev) { 153 if (netdev->ieee80211_ptr) 155 netdev->ieee80211_ptr->wiphy); 159 dev_put(netdev); 1626 struct net_device *netdev; local 1629 netdev 1875 struct net_device *netdev = info->user_ptr[1]; local 1907 struct net_device *netdev = NULL; local 2353 nl80211_valid_4addr(struct cfg80211_registered_device *rdev, struct net_device *netdev, u8 use_4addr, enum nl80211_iftype iftype) argument 9321 nl80211_send_sched_scan_msg(struct sk_buff *msg, struct cfg80211_registered_device *rdev, struct net_device *netdev, u32 portid, u32 seq, int flags, u32 cmd) argument 9400 nl80211_send_sched_scan_results(struct cfg80211_registered_device *rdev, struct net_device *netdev) argument 9419 nl80211_send_sched_scan(struct cfg80211_registered_device *rdev, struct net_device *netdev, u32 cmd) argument 9499 nl80211_send_mlme_event(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, enum nl80211_commands cmd, gfp_t gfp) argument 9533 nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp) argument 9541 nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp) argument 9549 nl80211_send_deauth(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp) argument 9557 nl80211_send_disassoc(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *buf, size_t len, gfp_t gfp) argument 9591 nl80211_send_mlme_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, int cmd, const u8 *addr, gfp_t gfp) argument 9625 nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, gfp_t gfp) argument 9633 nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, gfp_t gfp) argument 9641 nl80211_send_connect_result(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, const u8 *req_ie, size_t req_ie_len, const u8 *resp_ie, size_t resp_ie_len, u16 status, gfp_t gfp) argument 9682 nl80211_send_roamed(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, const u8 *req_ie, size_t req_ie_len, const u8 *resp_ie, size_t resp_ie_len, gfp_t gfp) argument 9721 nl80211_send_disconnected(struct cfg80211_registered_device *rdev, struct net_device *netdev, u16 reason, const u8 *ie, size_t ie_len, bool from_ap) argument 9759 nl80211_send_ibss_bssid(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, gfp_t gfp) argument 9834 nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *addr, enum nl80211_key_type key_type, int key_id, const u8 *tsc, gfp_t gfp) argument 10183 struct net_device *netdev = wdev->netdev; local 10222 struct net_device *netdev = wdev->netdev; local 10307 nl80211_gtk_rekey_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, const u8 *bssid, const u8 *replay_ctr, gfp_t gfp) argument 10364 nl80211_pmksa_candidate_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, int index, const u8 *bssid, bool preauth, gfp_t gfp) argument 10421 nl80211_ch_switch_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, struct cfg80211_chan_def *chandef, gfp_t gfp) argument 10533 nl80211_radar_notify(struct cfg80211_registered_device *rdev, struct cfg80211_chan_def *chandef, enum nl80211_radar_event event, struct net_device *netdev, gfp_t gfp) argument 10916 cfg80211_ft_event(struct net_device *netdev, struct cfg80211_ft_event_params *ft_event) argument [all...] |
H A D | sme.c | 151 dev_hold(wdev->netdev); 179 return __cfg80211_mlme_auth(rdev, wdev->netdev, 201 err = __cfg80211_mlme_assoc(rdev, wdev->netdev, params->channel, 205 __cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, 211 __cfg80211_mlme_deauth(rdev, wdev->netdev, params->bssid, 234 if (!wdev->netdev) 238 if (!netif_running(wdev->netdev)) { 252 wdev->netdev, bssid, 321 wdev->netdev, 603 nl80211_send_roamed(wiphy_to_dev(wdev->wiphy), wdev->netdev, bs [all...] |
H A D | mesh.c | 214 if (!netif_running(wdev->netdev)) 222 err = rdev_libertas_set_mesh_channel(rdev, wdev->netdev,
|
H A D | chan.c | 458 if (wdev->netdev && !netif_running(wdev->netdev))
|
H A D | util.c | 704 struct net_device *dev = wdev->netdev; 751 wdev->netdev, bssid, 764 __cfg80211_disconnected(wdev->netdev, 769 __cfg80211_ibss_joined(wdev->netdev, ev->ij.bssid); 1284 } else if (wdev_iter->netdev) { 1285 if (!netif_running(wdev_iter->netdev))
|
H A D | scan.c | 186 if (wdev->netdev) 187 cfg80211_sme_scan_done(wdev->netdev); 202 if (wdev->netdev && !request->aborted) { 205 wireless_send_event(wdev->netdev, SIOCGIWSCAN, &wrqu, NULL); 209 if (wdev->netdev) 210 dev_put(wdev->netdev);
|
H A D | wext-sme.c | 27 if (!netif_running(wdev->netdev)) 57 err = __cfg80211_connect(rdev, wdev->netdev,
|
/net/dcb/ |
H A D | dcbnl.c | 223 static int dcbnl_getstate(struct net_device *netdev, struct nlmsghdr *nlh, argument 226 /* if (!tb[DCB_ATTR_STATE] || !netdev->dcbnl_ops->getstate) */ 227 if (!netdev->dcbnl_ops->getstate) 231 netdev->dcbnl_ops->getstate(netdev)); 234 static int dcbnl_getpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, argument 246 if (!netdev->dcbnl_ops->getpfccfg) 266 netdev->dcbnl_ops->getpfccfg(netdev, i - DCB_PFC_UP_ATTR_0, 279 static int dcbnl_getperm_hwaddr(struct net_device *netdev, struc argument 293 dcbnl_getcap(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 337 dcbnl_getnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 383 dcbnl_setnumtcs(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 416 dcbnl_getpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 426 dcbnl_setpfcstate(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 444 dcbnl_getapp(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 509 dcbnl_setapp(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 556 __dcbnl_pg_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, struct nlattr **tb, struct sk_buff *skb, int dir) argument 690 dcbnl_pgtx_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 696 dcbnl_pgrx_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 702 dcbnl_setstate(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 719 dcbnl_setpfccfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 750 dcbnl_setall(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 768 __dcbnl_pg_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb, int dir) argument 858 dcbnl_pgtx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 864 dcbnl_pgrx_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 870 dcbnl_bcn_getcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 931 dcbnl_bcn_setcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 972 dcbnl_build_peer_app(struct net_device *netdev, struct sk_buff* skb, int app_nested_type, int app_info_type, int app_entry_type) argument 1029 dcbnl_ieee_fill(struct sk_buff *skb, struct net_device *netdev) argument 1189 dcbnl_cee_fill(struct sk_buff *skb, struct net_device *netdev) argument 1382 dcbnl_ieee_set(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1446 dcbnl_ieee_get(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1457 dcbnl_ieee_del(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1502 dcbnl_getdcbx(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1512 dcbnl_setdcbx(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1529 dcbnl_getfeatcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1574 dcbnl_setfeatcfg(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1611 dcbnl_cee_get(struct net_device *netdev, struct nlmsghdr *nlh, u32 seq, struct nlattr **tb, struct sk_buff *skb) argument 1664 struct net_device *netdev; local [all...] |
/net/caif/ |
H A D | chnl_net.c | 51 struct net_device *netdev; member in struct:chnl_net 93 skb->dev = priv->netdev; 111 priv->netdev->stats.rx_errors++; 127 priv->netdev->stats.rx_packets++; 128 priv->netdev->stats.rx_bytes += pktlen; 136 if (dev->netdev) 137 unregister_netdevice(dev->netdev); 151 dev_close(dev->netdev); 160 dev_hold(priv->netdev); 166 dev_put(priv->netdev); [all...] |
H A D | caif_dev.c | 35 struct net_device *netdev; member in struct:caif_device_entry 103 caifd->netdev = dev; 115 if (caifd->netdev == dev) 174 skb->dev = caifd->netdev; 179 if (likely(caifd->netdev->tx_queue_len == 0)) 185 if (likely(!netif_queue_stopped(caifd->netdev))) { 193 high = (caifd->netdev->tx_queue_len * q_high) / 100; 213 netif_queue_stopped(caifd->netdev), 251 !netif_oper_up(caifd->netdev)) { 479 dev_put(caifd->netdev); [all...] |
H A D | cfcnfg.c | 380 struct net_device *netdev; local 425 netdev = phyinfo->dev_info.dev; 427 netdev->mtu);
|
/net/atm/ |
H A D | br2684.c | 547 * the next one from the netdev queue, when we need it. More than that 601 /* initialize netdev carrier state */ 633 static void br2684_setup(struct net_device *netdev) argument 635 struct br2684_dev *brdev = BRPRIV(netdev); 637 ether_setup(netdev); 638 netdev->hard_header_len += sizeof(llc_oui_pid_pad); /* worst case */ 639 brdev->net_dev = netdev; 641 netdev->netdev_ops = &br2684_netdev_ops; 646 static void br2684_setup_routed(struct net_device *netdev) argument 648 struct br2684_dev *brdev = BRPRIV(netdev); 664 struct net_device *netdev; local [all...] |
/net/core/ |
H A D | net-sysfs.c | 75 struct net_device *netdev = to_net_dev(dev); local 76 struct net *net = dev_net(netdev); 90 if (dev_isalive(netdev)) { 91 if ((ret = (*set)(netdev, new)) == 0) 146 struct net_device *netdev = to_net_dev(dev); local 147 if (netif_running(netdev)) { 148 return sprintf(buf, fmt_dec, !!netif_carrier_ok(netdev)); 156 struct net_device *netdev = to_net_dev(dev); local 162 if (netif_running(netdev)) { 164 if (!__ethtool_get_settings(netdev, 174 struct net_device *netdev = to_net_dev(dev); local 205 struct net_device *netdev = to_net_dev(dev); local 226 const struct net_device *netdev = to_net_dev(dev); local 289 struct net_device *netdev = to_net_dev(dev); local 312 const struct net_device *netdev = to_net_dev(dev); local [all...] |
/net/phonet/ |
H A D | pn_dev.c | 69 pnd->netdev = dev; 84 if (pnd->netdev == dev) 96 if (pnd->netdev == dev) 132 dev = pnd->netdev; 136 ((pnd->netdev->flags & IFF_UP)) == IFF_UP) 231 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || 232 ((pnd->netdev->flags & IFF_UP)) != IFF_UP)
|
/net/irda/ |
H A D | irlap.c | 126 self->netdev = dev; 587 irda_device_set_media_busy(self->netdev, FALSE); 618 irda_device_set_media_busy(self->netdev, SMALL); 903 IRDA_ASSERT(self->netdev != NULL, return;); 960 irda_device_set_media_busy(self->netdev, TRUE); 1148 (self->netdev) ? self->netdev->name : "bug");
|
H A D | timer.c | 227 irda_device_set_media_busy(self->netdev, FALSE);
|
H A D | irlap_event.c | 337 IRDA_ASSERT(self->netdev != NULL, return -1;); 516 irda_device_set_media_busy(self->netdev, TRUE); 615 if (irda_device_is_receiving(self->netdev) && !self->add_wait) { 751 IRDA_ASSERT(self->netdev != NULL, return -1;); 878 IRDA_ASSERT(self->netdev != NULL, return -1;); 914 IRDA_ASSERT(self->netdev != NULL, return -1;); 1514 if (irda_device_is_receiving(self->netdev) && !self->add_wait) { 1696 IRDA_ASSERT(self->netdev != NULL, return -1;);
|
/net/dsa/ |
H A D | dsa.c | 397 pd->netdev = ðernet_dev->dev; 507 if (pd == NULL || pd->netdev == NULL) 510 dev = dev_to_net_device(pd->netdev);
|