Searched refs:dev (Results 251 - 275 of 460) sorted by relevance

<<111213141516171819

/net/mac80211/
H A Dtdls.c401 ieee80211_prep_tdls_encap_data(struct wiphy *wiphy, struct net_device *dev, argument
405 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
470 ieee80211_prep_tdls_direct(struct wiphy *wiphy, struct net_device *dev, argument
474 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
506 ieee80211_tdls_prep_mgmt_packet(struct wiphy *wiphy, struct net_device *dev, argument
512 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev);
540 ret = ieee80211_prep_tdls_encap_data(wiphy, dev, peer,
546 ret = ieee80211_prep_tdls_direct(wiphy, dev, peer, action_code,
624 ret = ieee80211_subif_start_xmit(skb, dev);
635 ieee80211_tdls_mgmt_setup(struct wiphy *wiphy, struct net_device *dev, argument
690 ieee80211_tdls_mgmt_teardown(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capability, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument
735 ieee80211_tdls_mgmt(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, u8 action_code, u8 dialog_token, u16 status_code, u32 peer_capability, bool initiator, const u8 *extra_ies, size_t extra_ies_len) argument
796 ieee80211_tdls_oper(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, enum nl80211_tdls_operation oper) argument
[all...]
/net/bridge/
H A Dbr_sysfs_br.c40 if (!ns_capable(dev_net(br->dev)->user_ns, CAP_NET_ADMIN))
133 if (!ns_capable(dev_net(br->dev)->user_ns, CAP_NET_ADMIN))
167 if (!ns_capable(dev_net(br->dev)->user_ns, CAP_NET_ADMIN))
299 if (!ns_capable(dev_net(br->dev)->user_ns, CAP_NET_ADMIN))
339 if (!ns_capable(dev_net(br->dev)->user_ns, CAP_NET_ADMIN))
810 struct device *dev = to_dev(kobj); local
811 struct net_bridge *br = to_bridge(dev);
845 int br_sysfs_addbr(struct net_device *dev) argument
847 struct kobject *brobj = &dev->dev
881 br_sysfs_delbr(struct net_device *dev) argument
[all...]
H A Dbr_multicast.c232 if (!netif_running(br->dev) || timer_pending(&mp->timer))
277 netif_running(br->dev))
292 if (!netif_running(br->dev) || timer_pending(&pg->timer) ||
357 skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*eth) + sizeof(*iph) +
367 ether_addr_copy(eth->h_source, br->dev->dev_addr);
389 inet_select_addr(br->dev, 0, RT_SCOPE_LINK) : 0;
426 skb = netdev_alloc_skb_ip_align(br->dev, sizeof(*eth) + sizeof(*ip6h) +
437 ether_addr_copy(eth->h_source, br->dev->dev_addr);
450 if (ipv6_dev_get_saddr(dev_net(br->dev), br->dev,
2177 br_multicast_list_adjacent(struct net_device *dev, struct list_head *br_ip_list) argument
2226 br_multicast_has_querier_anywhere(struct net_device *dev, int proto) argument
2263 br_multicast_has_querier_adjacent(struct net_device *dev, int proto) argument
[all...]
/net/core/
H A Dfib_rules.c334 struct net_device *dev; local
338 dev = __dev_get_by_name(net, rule->iifname);
339 if (dev)
340 rule->iifindex = dev->ifindex;
344 struct net_device *dev; local
348 dev = __dev_get_by_name(net, rule->oifname);
349 if (dev)
350 rule->oifindex = dev->ifindex;
755 static void attach_rules(struct list_head *rules, struct net_device *dev) argument
761 strcmp(dev
769 detach_rules(struct list_head *rules, struct net_device *dev) argument
785 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local
[all...]
/net/ipv6/
H A Dreassembly.c80 struct net_device *dev);
131 struct net_device *dev = NULL; local
141 dev = dev_get_by_index_rcu(net, fq->iif);
142 if (!dev)
145 IP6_INC_STATS_BH(net, __in6_dev_get(dev), IPSTATS_MIB_REASMFAILS);
150 IP6_INC_STATS_BH(net, __in6_dev_get(dev), IPSTATS_MIB_REASMTIMEOUT);
157 * segment was received. And do not use fq->dev
160 fq->q.fragments->dev = dev;
209 struct net_device *dev; local
375 ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, struct net_device *dev) argument
[all...]
H A Dicmp.c91 struct net *net = dev_net(skb->dev);
96 ip6_redirect(skb, net, skb->dev->ifindex, 0);
197 } else if (dst->dev && (dst->dev->flags&IFF_LOOPBACK)) {
392 struct net *net = dev_net(skb->dev);
421 if (ipv6_chk_addr(net, &hdr->daddr, skb->dev, 0) ||
422 ipv6_chk_acast_addr_src(net, skb->dev, &hdr->daddr))
446 iif = skb->dev->ifindex;
517 idev = __in6_dev_get(skb->dev);
548 struct net *net = dev_net(skb->dev);
677 struct net_device *dev = skb->dev; local
[all...]
H A Dxfrm6_output.c81 skb->dev = dst->dev;
171 NULL, skb_dst(skb)->dev, __xfrm6_output,
H A Dfib6_rules.c97 ip6_dst_idev(&rt->dst)->dev,
125 struct net_device *dev = NULL; local
128 dev = rt->rt6i_idev->dev;
139 if (rule->suppress_ifgroup != -1 && dev && dev->group == rule->suppress_ifgroup)
/net/dcb/
H A Ddcbnl.c1141 static int dcbnl_cee_pg_fill(struct sk_buff *skb, struct net_device *dev, argument
1145 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops;
1164 ops->getpgtccfgrx(dev, i - DCB_PG_ATTR_TC_0,
1167 ops->getpgtccfgtx(dev, i - DCB_PG_ATTR_TC_0,
1182 ops->getpgbwgcfgrx(dev, i - DCB_PG_ATTR_BW_ID_0,
1185 ops->getpgbwgcfgtx(dev, i - DCB_PG_ATTR_BW_ID_0,
1334 static int dcbnl_notify(struct net_device *dev, int event, int cmd, argument
1337 struct net *net = dev_net(dev);
1340 const struct dcbnl_rtnl_ops *ops = dev->dcbnl_ops;
1351 err = dcbnl_ieee_fill(skb, dev);
1368 dcbnl_ieee_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid) argument
1375 dcbnl_cee_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 portid) argument
1760 dcb_getapp(struct net_device *dev, struct dcb_app *app) argument
1781 dcb_setapp(struct net_device *dev, struct dcb_app *new) argument
1821 dcb_ieee_getapp_mask(struct net_device *dev, struct dcb_app *app) argument
1843 dcb_ieee_setapp(struct net_device *dev, struct dcb_app *new) argument
1874 dcb_ieee_delapp(struct net_device *dev, struct dcb_app *del) argument
[all...]
/net/rds/
H A Diw_cm.c181 struct ib_device *dev = rds_iwdev->dev; local
201 attr->send_cq = ib_create_cq(dev, send_cq_handler,
211 attr->recv_cq = ib_create_cq(dev, recv_cq_handler,
250 struct ib_device *dev = ic->i_cm_id->device; local
260 rds_iwdev = ib_get_client_data(dev, &rds_iw_client);
263 dev->name);
291 ic->i_send_hdrs = ib_dma_alloc_coherent(dev,
301 ic->i_recv_hdrs = ib_dma_alloc_coherent(dev,
311 ic->i_ack = ib_dma_alloc_coherent(dev, sizeo
585 struct ib_device *dev = ic->i_cm_id->device; local
[all...]
H A Dib_cm.c269 struct ib_device *dev = ic->i_cm_id->device; local
278 rds_ibdev = rds_ib_get_client_data(dev);
282 /* add the conn now so that connection establishment has the dev */
294 ic->i_send_cq = ib_create_cq(dev, rds_ib_send_cq_comp_handler,
304 ic->i_recv_cq = ib_create_cq(dev, rds_ib_recv_cq_comp_handler,
350 ic->i_send_hdrs = ib_dma_alloc_coherent(dev,
360 ic->i_recv_hdrs = ib_dma_alloc_coherent(dev,
370 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header),
379 ibdev_to_node(dev));
387 ibdev_to_node(dev));
634 struct ib_device *dev = ic->i_cm_id->device; local
[all...]
/net/ax25/
H A Dax25_out.c36 ax25_cb *ax25_send_frame(struct sk_buff *skb, int paclen, ax25_address *src, ax25_address *dest, ax25_digi *digi, struct net_device *dev) argument
46 if ((ax25_dev = ax25_dev_ax25dev(dev)) == NULL)
55 if ((ax25 = ax25_find_cb(src, dest, digi, dev)) != NULL) {
60 if ((ax25_dev = ax25_dev_ax25dev(dev)) == NULL)
361 ax25_queue_xmit(skb, ax25->ax25_dev->dev);
368 void ax25_queue_xmit(struct sk_buff *skb, struct net_device *dev) argument
372 skb->protocol = ax25_type_trans(skb, ax25_fwd_dev(dev));
/net/ipv4/
H A Dxfrm4_policy.c76 static int xfrm4_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, argument
84 xdst->u.dst.dev = dev;
85 dev_hold(dev);
110 oif = skb_dst(skb)->dev->ifindex;
224 static void xfrm4_dst_ifdown(struct dst_entry *dst, struct net_device *dev, argument
230 xfrm_dst_ifdown(dst, dev);
H A Dfib_semantics.c333 int ip_fib_check_default(__be32 gw, struct net_device *dev) argument
341 hash = fib_devindex_hashfn(dev->ifindex);
344 if (nh->nh_dev == dev &&
608 struct net_device *dev; local
620 dev = __dev_get_by_index(net, nh->nh_oif);
621 if (!dev)
623 if (!(dev->flags & IFF_UP))
625 nh->nh_dev = dev;
626 dev_hold(dev);
653 nh->nh_dev = dev
1118 fib_sync_down_dev(struct net_device *dev, int force) argument
1231 fib_sync_up(struct net_device *dev) argument
[all...]
/net/ipv6/netfilter/
H A Dnf_log_ipv6.c289 struct net_device *dev = skb->dev; local
298 switch (dev->type) {
310 if (dev->hard_header_len &&
313 unsigned int len = dev->hard_header_len;
316 if (dev->type == ARPHRD_SIT) {
330 if (dev->type == ARPHRD_SIT) {
/net/can/
H A Dgw.c138 struct net_device *dev; member in union:cgw_job::__anon24
142 struct net_device *dev; member in union:cgw_job::__anon25
378 if (!(gwj->dst.dev->flags & IFF_UP)) {
385 can_skb_prv(skb)->ifindex == gwj->dst.dev->ifindex)
411 nskb->dev = gwj->dst.dev;
442 return can_rx_register(gwj->src.dev, gwj->ccgw.filter.can_id,
449 can_rx_unregister(gwj->src.dev, gwj->ccgw.filter.can_id,
456 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local
458 if (!net_eq(dev_net(dev),
[all...]
/net/nfc/
H A Dllcp.h65 struct nfc_dev *dev; member in struct:nfc_llcp_local
117 struct nfc_dev *dev; member in struct:nfc_llcp_sock
162 #define nfc_llcp_dev(sk) (nfc_llcp_sock((sk))->dev)
216 struct nfc_llcp_local *nfc_llcp_find_local(struct nfc_dev *dev);
249 int nfc_llcp_send_symm(struct nfc_dev *dev);
/net/sunrpc/
H A Daddr.c180 struct net_device *dev; local
182 dev = dev_get_by_name(net, p);
183 if (dev != NULL) {
184 scope_id = dev->ifindex;
185 dev_put(dev);
/net/bluetooth/hidp/
H A Dcore.c140 static int hidp_input_event(struct input_dev *dev, unsigned int type, argument
143 struct hidp_session *session = input_get_drvdata(dev);
153 newleds = (!!test_bit(LED_KANA, dev->led) << 3) |
154 (!!test_bit(LED_COMPOSE, dev->led) << 3) |
155 (!!test_bit(LED_SCROLLL, dev->led) << 2) |
156 (!!test_bit(LED_CAPSL, dev->led) << 1) |
157 (!!test_bit(LED_NUML, dev->led) << 0);
173 struct input_dev *dev = session->input; local
182 input_report_key(dev, hidp_keycode[i + 224], (udata[0] >> i) & 1);
192 input_report_key(dev, hidp_keycod
[all...]
/net/rose/
H A Daf_rose.c79 static void rose_set_lockdep_one(struct net_device *dev, argument
86 static void rose_set_lockdep_key(struct net_device *dev) argument
88 lockdep_set_class(&dev->addr_list_lock, &rose_netdev_addr_lock_key);
89 netdev_for_each_tx_queue(dev, rose_set_lockdep_one, NULL);
185 static void rose_kill_by_device(struct net_device *dev) argument
193 if (rose->device == dev) {
208 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local
210 if (!net_eq(dev_net(dev), &init_net))
216 switch (dev->type) {
218 rose_kill_by_device(dev);
660 struct net_device *dev; local
722 struct net_device *dev; local
968 rose_rx_call_request(struct sk_buff *skb, struct net_device *dev, struct rose_neigh *neigh, unsigned int lci) argument
1407 const struct net_device *dev = rose->device; local
1537 struct net_device *dev; local
1625 struct net_device *dev = dev_rose[i]; local
[all...]
/net/irda/irlan/
H A Dirlan_common.c201 struct net_device *dev; local
207 dev = alloc_irlandev(eth ? "eth%d" : "irlan%d");
208 if (!dev)
211 self = netdev_priv(dev);
212 self->dev = dev;
228 dev->dev_addr[0] = 0x40;
229 dev->dev_addr[1] = 0x00;
230 dev->dev_addr[2] = 0x00;
231 dev
[all...]
/net/netfilter/
H A Dxt_TPROXY.c68 indev = __in_dev_get_rcu(skb->dev);
264 sk2 = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol,
267 skb->dev, NFT_LOOKUP_LISTENER);
303 sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol,
306 skb->dev, NFT_LOOKUP_ESTABLISHED);
319 sk = nf_tproxy_get_sock_v4(dev_net(skb->dev), iph->protocol,
322 skb->dev, NFT_LOOKUP_LISTENER);
375 indev = __in6_dev_get(skb->dev);
427 sk2 = nf_tproxy_get_sock_v6(dev_net(skb->dev), tproto,
432 skb->dev, NFT_LOOKUP_LISTENE
[all...]
/net/wireless/
H A Dnl80211.c1958 struct net_device *dev,
1966 if (dev)
1967 wdev = dev->ieee80211_ptr;
1985 if (!dev || !rdev->ops->set_ap_chanwidth ||
1997 result = rdev_set_ap_chanwidth(rdev, dev, &chandef);
2028 struct net_device *dev = info->user_ptr[1]; local
2029 struct wireless_dev *wdev = dev->ieee80211_ptr;
2035 if (netif_running(dev))
2045 return rdev_set_wds_peer(rdev, dev, bssid);
2341 struct net_device *dev local
1957 __nl80211_set_channel(struct cfg80211_registered_device *rdev, struct net_device *dev, struct genl_info *info) argument
2509 struct net_device *dev = info->user_ptr[1]; local
2710 struct net_device *dev = info->user_ptr[1]; local
2775 struct net_device *dev = info->user_ptr[1]; local
2855 struct net_device *dev = info->user_ptr[1]; local
2923 struct net_device *dev = info->user_ptr[1]; local
2972 struct net_device *dev = info->user_ptr[1]; local
3092 struct net_device *dev = info->user_ptr[1]; local
3220 struct net_device *dev = info->user_ptr[1]; local
3391 struct net_device *dev = info->user_ptr[1]; local
3420 struct net_device *dev = info->user_ptr[1]; local
3594 nl80211_send_station(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo) argument
3821 struct net_device *dev = info->user_ptr[1]; local
4124 struct net_device *dev = info->user_ptr[1]; local
4233 struct net_device *dev = info->user_ptr[1]; local
4400 struct net_device *dev = info->user_ptr[1]; local
4418 nl80211_send_mpath(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct net_device *dev, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument
4526 struct net_device *dev = info->user_ptr[1]; local
4565 struct net_device *dev = info->user_ptr[1]; local
4590 struct net_device *dev = info->user_ptr[1]; local
4615 struct net_device *dev = info->user_ptr[1]; local
4630 struct net_device *dev = info->user_ptr[1]; local
4795 struct net_device *dev = info->user_ptr[1]; local
5140 struct net_device *dev = info->user_ptr[1]; local
5569 struct net_device *dev = info->user_ptr[1]; local
5866 struct net_device *dev = info->user_ptr[1]; local
5919 struct net_device *dev = info->user_ptr[1]; local
6231 nl80211_send_survey(struct sk_buff *msg, u32 portid, u32 seq, int flags, struct net_device *dev, struct survey_info *survey) argument
6360 struct net_device *dev = info->user_ptr[1]; local
6557 struct net_device *dev = info->user_ptr[1]; local
6659 struct net_device *dev = info->user_ptr[1]; local
6706 struct net_device *dev = info->user_ptr[1]; local
6781 struct net_device *dev = info->user_ptr[1]; local
6914 struct net_device *dev = info->user_ptr[1]; local
6928 struct net_device *dev = info->user_ptr[1]; local
7184 struct net_device *dev = info->user_ptr[1]; local
7324 struct net_device *dev = info->user_ptr[1]; local
7377 struct net_device *dev = info->user_ptr[1]; local
7416 struct net_device *dev = info->user_ptr[1]; local
7431 struct net_device *dev = info->user_ptr[1]; local
7468 struct net_device *dev = info->user_ptr[1]; local
7697 struct net_device *dev = info->user_ptr[1]; local
7999 struct net_device *dev = info->user_ptr[1]; local
8033 struct net_device *dev = info->user_ptr[1]; local
8086 struct net_device *dev = info->user_ptr[1]; local
8106 struct net_device *dev = info->user_ptr[1]; local
8165 struct net_device *dev = info->user_ptr[1]; local
8250 struct net_device *dev = info->user_ptr[1]; local
8980 struct net_device *dev = info->user_ptr[1]; local
9027 struct net_device *dev = info->user_ptr[1]; local
9045 struct net_device *dev = info->user_ptr[1]; local
9203 struct net_device *dev = info->user_ptr[1]; local
9391 struct net_device *dev = info->user_ptr[1]; local
9440 struct net_device *dev = info->user_ptr[1]; local
9505 struct net_device *dev = info->user_ptr[1]; local
9541 struct net_device *dev; local
10642 cfg80211_rx_unprot_mlme_mgmt(struct net_device *dev, const u8 *buf, size_t len) argument
10865 cfg80211_notify_new_peer_candidate(struct net_device *dev, const u8 *addr, const u8* ie, u8 ie_len, gfp_t gfp) argument
11071 cfg80211_new_sta(struct net_device *dev, const u8 *mac_addr, struct station_info *sinfo, gfp_t gfp) argument
11095 cfg80211_del_sta(struct net_device *dev, const u8 *mac_addr, gfp_t gfp) argument
11130 cfg80211_conn_failed(struct net_device *dev, const u8 *mac_addr, enum nl80211_connect_failed_reason reason, gfp_t gfp) argument
11166 __nl80211_unexpected_frame(struct net_device *dev, u8 cmd, const u8 *addr, gfp_t gfp) argument
11203 cfg80211_rx_spurious_frame(struct net_device *dev, const u8 *addr, gfp_t gfp) argument
11223 cfg80211_rx_unexpected_4addr_frame(struct net_device *dev, const u8 *addr, gfp_t gfp) argument
11328 cfg80211_cqm_rssi_notify(struct net_device *dev, enum nl80211_cqm_rssi_threshold_event rssi_event, gfp_t gfp) argument
11421 cfg80211_gtk_rekey_notify(struct net_device *dev, const u8 *bssid, const u8 *replay_ctr, gfp_t gfp) argument
11479 cfg80211_pmksa_candidate_notify(struct net_device *dev, int index, const u8 *bssid, bool preauth, gfp_t gfp) argument
11526 cfg80211_ch_switch_notify(struct net_device *dev, struct cfg80211_chan_def *chandef) argument
11549 cfg80211_cqm_txe_notify(struct net_device *dev, const u8 *peer, u32 num_packets, u32 rate, u32 intvl, gfp_t gfp) argument
11650 cfg80211_cqm_pktloss_notify(struct net_device *dev, const u8 *peer, u32 num_packets, gfp_t gfp) argument
11698 cfg80211_probe_status(struct net_device *dev, const u8 *addr, u64 cookie, bool acked, gfp_t gfp) argument
11894 cfg80211_tdls_oper_request(struct net_device *dev, const u8 *peer, enum nl80211_tdls_operation oper, u16 reason_code, gfp_t gfp) argument
[all...]
/net/802/
H A Dpsnap.c49 static int snap_rcv(struct sk_buff *skb, struct net_device *dev, argument
67 rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev);
H A Dstp.c33 static int stp_pdu_rcv(struct sk_buff *skb, struct net_device *dev, argument
57 proto->rcv(proto, skb, dev);

Completed in 373 milliseconds

<<111213141516171819