/net/core/ |
H A D | net-sysfs.c | 36 static inline int dev_isalive(const struct net_device *dev) argument 38 return dev->reg_state <= NETREG_REGISTERED; 42 static ssize_t netdev_show(const struct device *dev, argument 46 struct net_device *ndev = to_net_dev(dev); 59 static ssize_t format_##field(const struct net_device *dev, char *buf) \ 61 return sprintf(buf, format_string, dev->field); \ 63 static ssize_t field##_show(struct device *dev, \ 66 return netdev_show(dev, attr, buf, format_##field); \ 78 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, argument 82 struct net_device *netdev = to_net_dev(dev); 115 format_name_assign_type(const struct net_device *dev, char *buf) argument 120 name_assign_type_show(struct device *dev, struct device_attribute *attr, char *buf) argument 135 address_show(struct device *dev, struct device_attribute *attr, char *buf) argument 149 broadcast_show(struct device *dev, struct device_attribute *attr, char *buf) argument 159 change_carrier(struct net_device *dev, unsigned long new_carrier) argument 166 carrier_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument 172 carrier_show(struct device *dev, struct device_attribute *attr, char *buf) argument 183 speed_show(struct device *dev, struct device_attribute *attr, char *buf) argument 202 duplex_show(struct device *dev, struct device_attribute *attr, char *buf) argument 234 dormant_show(struct device *dev, struct device_attribute *attr, char *buf) argument 256 operstate_show(struct device *dev, struct device_attribute *attr, char *buf) argument 275 carrier_changes_show(struct device *dev, struct device_attribute *attr, char *buf) argument 287 change_mtu(struct net_device *dev, unsigned long new_mtu) argument 292 mtu_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument 299 change_flags(struct net_device *dev, unsigned long new_flags) argument 304 flags_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument 311 change_tx_queue_len(struct net_device *dev, unsigned long new_len) argument 317 tx_queue_len_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument 328 ifalias_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument 351 ifalias_show(struct device *dev, struct device_attribute *attr, char *buf) argument 366 change_group(struct net_device *dev, unsigned long new_group) argument 372 group_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t len) argument 380 phys_port_id_show(struct device *dev, struct device_attribute *attr, char *buf) argument 435 struct net_device *dev = to_net_dev(d); local 783 struct device *dev = &queue->dev->dev; local 799 rx_queue_add_kobject(struct net_device *dev, int index) argument 828 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) argument 1034 struct net_device *dev = queue->dev; local 1047 struct net_device *dev = queue->dev; local 1093 struct net_device *dev = queue->dev; local 1142 struct device *dev = &queue->dev->dev; local 1158 netdev_queue_add_kobject(struct net_device *dev, int index) argument 1187 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) argument 1216 register_queue_kobjects(struct net_device *dev) argument 1247 remove_queue_kobjects(struct net_device *dev) argument 1302 struct net_device *dev = to_net_dev(d); local 1325 struct net_device *dev = to_net_dev(d); local 1335 struct net_device *dev; local 1354 struct device *dev = &(ndev->dev); local 1368 struct device *dev = &(ndev->dev); local [all...] |
H A D | rtnetlink.c | 334 struct net_device *dev; local 337 for_each_netdev(net, dev) { 338 if (dev->rtnl_link_ops == ops) 339 ops->dellink(dev, &list_kill); 404 static size_t rtnl_link_get_slave_info_data_size(const struct net_device *dev) argument 409 master_dev = netdev_master_upper_dev_get((struct net_device *) dev); 417 ops->get_slave_size(master_dev, dev); 420 static size_t rtnl_link_get_size(const struct net_device *dev) argument 422 const struct rtnl_link_ops *ops = dev->rtnl_link_ops; 434 ops->get_size(dev); 497 rtnl_link_get_af_size(const struct net_device *dev) argument 516 rtnl_have_link_slave_info(const struct net_device *dev) argument 526 rtnl_link_slave_info_fill(struct sk_buff *skb, const struct net_device *dev) argument 558 rtnl_link_info_fill(struct sk_buff *skb, const struct net_device *dev) argument 590 rtnl_link_fill(struct sk_buff *skb, const struct net_device *dev) argument 711 set_operstate(struct net_device *dev, unsigned char transition) argument 738 rtnl_dev_get_flags(const struct net_device *dev) argument 744 rtnl_dev_combine_flags(const struct net_device *dev, const struct ifinfomsg *ifm) argument 795 rtnl_vfinfo_size(const struct net_device *dev, u32 ext_filter_mask) argument 814 rtnl_port_size(const struct net_device *dev, u32 ext_filter_mask) argument 841 if_nlmsg_size(const struct net_device *dev, u32 ext_filter_mask) argument 874 rtnl_vf_ports_fill(struct sk_buff *skb, struct net_device *dev) argument 910 rtnl_port_self_fill(struct sk_buff *skb, struct net_device *dev) argument 930 rtnl_port_fill(struct sk_buff *skb, struct net_device *dev, u32 ext_filter_mask) argument 952 rtnl_phys_port_id_fill(struct sk_buff *skb, struct net_device *dev) argument 970 rtnl_fill_ifinfo(struct sk_buff *skb, struct net_device *dev, int type, u32 pid, u32 seq, u32 change, unsigned int flags, u32 ext_filter_mask) argument 1248 struct net_device *dev; local 1331 validate_linkmsg(struct net_device *dev, struct nlattr *tb[]) argument 1367 do_setvfinfo(struct net_device *dev, struct nlattr *attr) argument 1449 do_set_master(struct net_device *dev, int ifindex) argument 1487 do_setlink(const struct sk_buff *skb, struct net_device *dev, struct ifinfomsg *ifm, struct nlattr **tb, char *ifname, int status) argument 1738 struct net_device *dev; local 1779 struct net_device *dev; local 1813 rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm) argument 1837 struct net_device *dev; local 1892 struct net_device *dev; local 1911 struct net_device *dev; local 2122 struct net_device *dev = NULL; local 2167 struct net_device *dev; local 2224 rtmsg_ifinfo(int type, struct net_device *dev, unsigned int change, gfp_t flags) argument 2251 nlmsg_populate_fdb_fill(struct sk_buff *skb, struct net_device *dev, u8 *addr, u32 pid, u32 seq, int type, unsigned int flags, int nlflags) argument 2288 rtnl_fdb_notify(struct net_device *dev, u8 *addr, int type) argument 2313 ndo_dflt_fdb_add(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 flags) argument 2347 struct net_device *dev; local 2410 ndo_dflt_fdb_del(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr) argument 2439 struct net_device *dev; local 2502 nlmsg_populate_fdb(struct sk_buff *skb, struct netlink_callback *cb, struct net_device *dev, int *idx, struct netdev_hw_addr_list *list) argument 2539 ndo_dflt_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb, struct net_device *dev, struct net_device *filter_dev, int idx) argument 2560 struct net_device *dev; local 2631 ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev, u16 mode) argument 2685 struct net_device *dev; local 2746 rtnl_bridge_notify(struct net_device *dev, u16 flags) argument 2786 struct net_device *dev; local 2859 struct net_device *dev; local 2998 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local [all...] |
H A D | sock.c | 458 skb->dev = NULL; 484 skb->dev = NULL; 581 struct net_device *dev; local 584 dev = dev_get_by_name_rcu(net, devname); 585 if (dev) 586 index = dev->ifindex; 589 if (!dev) 1558 sk->sk_route_caps = dst->dev->features; 1567 sk->sk_gso_max_size = dst->dev->gso_max_size; 1568 sk->sk_gso_max_segs = dst->dev [all...] |
H A D | pktgen.c | 211 #define T_REMDEV (1<<3) /* Remove one dev */ 1948 static void pktgen_change_name(const struct pktgen_net *pn, struct net_device *dev) argument 1957 if (pkt_dev->odev != dev) 1962 pkt_dev->entry = proc_create_data(dev->name, 0600, 1968 dev->name); 1978 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local 1979 struct pktgen_net *pn = net_generic(dev_net(dev), pg_net_id); 1990 pktgen_change_name(pn, dev); 1994 pktgen_mark_device(pn, dev->name); 2720 static struct sk_buff *pktgen_alloc_skb(struct net_device *dev, argument [all...] |
H A D | skbuff.c | 96 pr_emerg("%s: text:%p len:%d put:%d head:%p data:%p tail:%#lx end:%#lx dev:%s\n", 99 skb->dev ? skb->dev->name : "<NULL>"); 411 * @dev: network device to receive on 422 struct sk_buff *__netdev_alloc_skb(struct net_device *dev, argument 448 skb->dev = dev; 698 new->dev = old->dev; 2877 * @features: features for the output path (see dev [all...] |
/net/decnet/ |
H A D | af_decnet.c | 727 struct net_device *dev, *ldev; local 753 for_each_netdev_rcu(&init_net, dev) { 754 if (!dev->dn_ptr) 756 if (dn_dev_islocal(dev, dn_saddr2dn(saddr))) { 757 ldev = dev; 958 sk->sk_route_caps = dst->dev->features; 1848 unsigned int dn_mss_from_pmtu(struct net_device *dev, int mtu) argument 1851 if (dev) { 1852 struct dn_dev *dn_db = rcu_dereference_raw(dev->dn_ptr); 1853 mtu -= LL_RESERVED_SPACE(dev); 2085 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local [all...] |
H A D | dn_route.c | 117 static void dn_dst_ifdown(struct dst_entry *, struct net_device *dev, int how); 164 static void dn_dst_ifdown(struct dst_entry *dst, struct net_device *dev, int how) argument 170 if (n && n->dev == dev) { 171 n->dev = dev_net(dev)->loopback_dev; 172 dev_hold(n->dev); 173 dev_put(dev); 279 dn = n ? rcu_dereference_raw(n->dev->dn_ptr) : NULL; 526 char *devname = skb->dev 629 dn_route_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument 759 struct net_device *dev = dst->dev; local 800 struct net_device *dev = skb->dev; local 887 struct net_device *dev = rt->dst.dev; local 928 dnet_select_source(const struct net_device *dev, __le16 daddr, int scope) argument 980 struct net_device *dev_out = NULL, *dev; local 1680 struct net_device *dev; local [all...] |
/net/ipv4/ |
H A D | devinet.c | 9 * Derived from the IP parts of dev.c 1.0.19 149 struct net_device *dev = ifa->ifa_dev->dev; local 151 if (!net_eq(dev_net(dev), net)) 153 result = dev; 218 struct net_device *dev = idev->dev; local 224 pr_debug("%s: %p=%s\n", __func__, idev, dev ? dev->name : "NIL"); 226 dev_put(dev); 234 inetdev_init(struct net_device *dev) argument 288 struct net_device *dev; local 499 inet_set_ifa(struct net_device *dev, struct in_ifaddr *ifa) argument 526 struct net_device *dev; local 727 struct net_device *dev; local 893 struct net_device *dev; local 1132 inet_gifconf(struct net_device *dev, char __user *buf, int len) argument 1168 inet_select_addr(const struct net_device *dev, __be32 dst, int scope) argument 1266 struct net_device *dev; local 1305 inetdev_changename(struct net_device *dev, struct in_device *in_dev) argument 1336 inetdev_send_gratuitous_arp(struct net_device *dev, struct in_device *in_dev) argument 1356 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local 1544 struct net_device *dev; local 1622 inet_get_link_af_size(const struct net_device *dev) argument 1632 inet_fill_link_af(struct sk_buff *skb, const struct net_device *dev) argument 1655 inet_validate_link_af(const struct net_device *dev, const struct nlattr *nla) argument 1683 inet_set_link_af(struct net_device *dev, const struct nlattr *nla) argument 1806 struct net_device *dev; local 1864 struct net_device *dev; local 1933 struct net_device *dev; local 1949 struct net_device *dev; local [all...] |
H A D | igmp.c | 133 (IPV4_DEVCONF_ALL(dev_net(in_dev->dev), FORCE_IGMP_VERSION) == 1 || \ 138 (IPV4_DEVCONF_ALL(dev_net(in_dev->dev), FORCE_IGMP_VERSION) == 2 || \ 321 static struct sk_buff *igmpv3_newpack(struct net_device *dev, unsigned int mtu) argument 327 struct net *net = dev_net(dev); 329 int hlen = LL_RESERVED_SPACE(dev); 330 int tlen = dev->needed_tailroom; 346 IPPROTO_IGMP, 0, dev->ifindex); 353 skb->dev = dev; 407 struct net_device *dev local 431 struct net_device *dev = pmc->interface->dev; local 671 struct net_device *dev = in_dev->dev; local 1040 struct net_device *dev = in_dev->dev; local 1060 struct net_device *dev = in_dev->dev; local 1508 struct net_device *dev = NULL; local 2437 struct net_device *dev; member in struct:igmp_mc_iter_state 2579 struct net_device *dev; member in struct:igmp_mcf_iter_state 2762 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local [all...] |
H A D | ipconfig.c | 183 struct net_device *dev; member in struct:ic_device 192 static bool __init ic_is_init_dev(struct net_device *dev) argument 194 if (dev->flags & IFF_LOOPBACK) 196 return user_dev_name[0] ? !strcmp(dev->name, user_dev_name) : 197 (!(dev->flags & IFF_LOOPBACK) && 198 (dev->flags & (IFF_POINTOPOINT|IFF_BROADCAST)) && 199 strncmp(dev->name, "dummy", 5)); 205 struct net_device *dev; local 213 for_each_netdev(&init_net, dev) { 214 if (!(dev 302 struct net_device *dev; local 496 ic_rarp_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument 592 struct net_device *dev = d->dev; local 795 struct net_device *dev = d->dev; local 948 ic_bootp_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument 1376 struct net_device *dev; local [all...] |
H A D | ipmr.c | 112 #define VIF_EXISTS(_mrt, _idx) ((_mrt)->vif_table[_idx].dev != NULL) 357 static void ipmr_del_tunnel(struct net_device *dev, struct vifctl *v) argument 359 struct net *net = dev_net(dev); 361 dev_close(dev); 363 dev = __dev_get_by_name(net, "tunl0"); 364 if (dev) { 365 const struct net_device_ops *ops = dev->netdev_ops; 382 ops->ndo_do_ioctl(dev, &ifr, SIOCDELTUNNEL); 391 struct net_device *dev; local 393 dev 452 reg_vif_xmit(struct sk_buff *skb, struct net_device *dev) argument 482 reg_vif_setup(struct net_device *dev) argument 494 struct net_device *dev; local 554 struct net_device *dev; local 718 struct net_device *dev; local 1617 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local 1695 struct net_device *dev; local 1790 ipmr_find_vif(struct mr_table *mrt, struct net_device *dev) argument 2211 struct net_device *dev; local [all...] |
H A D | route.c | 431 return rth->rt_genid != rt_genid_ipv4(dev_net(rth->dst.dev)); 443 struct net_device *dev = dst->dev; local 454 n = __ipv4_neigh_lookup(dev, *(__force u32 *)pkey); 457 return neigh_create(&arp_tbl, pkey, dev); 526 int oif = skb->dev->ifindex; 710 struct net_device *dev = skb->dev; local 730 in_dev = __in_dev_get_rcu(dev); 734 net = dev_net(dev); 1351 rt_flush_dev(struct net_device *dev) argument 1420 rt_dst_alloc(struct net_device *dev, bool nopolicy, bool noxfrm, bool will_cache) argument 1430 ip_route_input_mc(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev, int our) argument 1502 ip_handle_martian_source(struct net_device *dev, struct in_device *in_dev, struct sk_buff *skb, __be32 daddr, __be32 saddr) argument 1649 ip_route_input_slow(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev) argument 1832 ip_route_input_noref(struct sk_buff *skb, __be32 daddr, __be32 saddr, u8 tos, struct net_device *dev) argument 2449 struct net_device *dev; local [all...] |
/net/ipv4/netfilter/ |
H A D | arp_tables.c | 103 struct net_device *dev, 148 arpptr += dev->addr_len; 152 arpptr += dev->addr_len; 155 if (FWINV(arp_devaddr_compare(&arpinfo->src_devaddr, src_devaddr, dev->addr_len), 157 FWINV(arp_devaddr_compare(&arpinfo->tgt_devaddr, tgt_devaddr, dev->addr_len), 265 if (!pskb_may_pull(skb, arp_hdr_len(skb->dev))) 294 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { 299 ADD_COUNTER(e->counters, arp_hdr_len(skb->dev), 1); 102 arp_packet_match(const struct arphdr *arphdr, struct net_device *dev, const char *indev, const char *outdev, const struct arpt_arp *arpinfo) argument
|
/net/ipv6/ |
H A D | ip6mr.c | 95 #define MIF_EXISTS(_mrt, _idx) ((_mrt)->vif6_table[_idx].dev != NULL) 457 const char *name = vif->dev ? vif->dev->name : "none"; 630 struct net *net = dev_net(skb->dev); 633 .flowi6_iif = skb->dev->ifindex, 665 reg_dev = mrt->vif6_table[reg_vif_num].dev; 697 struct net_device *dev) 699 struct net *net = dev_net(dev); 702 .flowi6_oif = dev->ifindex, 715 dev 696 reg_vif_xmit(struct sk_buff *skb, struct net_device *dev) argument 727 reg_vif_setup(struct net_device *dev) argument 739 struct net_device *dev; local 782 struct net_device *dev; local 933 struct net_device *dev; local 1329 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local 2004 struct net_device *dev; local 2072 ip6mr_find_vif(struct mr6_table *mrt, struct net_device *dev) argument 2303 struct net_device *dev; local [all...] |
H A D | mcast.c | 137 struct net_device *dev = NULL; local 169 dev = rt->dst.dev; 173 dev = __dev_get_by_index(net, ifindex); 175 if (dev == NULL) { 181 mc_lst->ifindex = dev->ifindex; 190 err = ipv6_dev_mc_inc(dev, addr); 225 struct net_device *dev; local 229 dev = __dev_get_by_index(net, mc_lst->ifindex); 230 if (dev ! 255 struct net_device *dev = NULL; local 292 struct net_device *dev; local 646 struct net_device *dev = mc->idev->dev; local 676 struct net_device *dev = mc->idev->dev; local 855 ipv6_dev_mc_inc(struct net_device *dev, const struct in6_addr *addr) argument 938 ipv6_dev_mc_dec(struct net_device *dev, const struct in6_addr *addr) argument 957 ipv6_chk_mcast_addr(struct net_device *dev, const struct in6_addr *group, const struct in6_addr *src_addr) argument 1528 ip6_mc_hdr(struct sock *sk, struct sk_buff *skb, struct net_device *dev, const struct in6_addr *saddr, const struct in6_addr *daddr, int proto, int len) argument 1555 struct net_device *dev = idev->dev; local 1676 struct net_device *dev = pmc->idev->dev; local 1701 struct net_device *dev = idev->dev; local 1933 igmp6_send(struct in6_addr *addr, struct net_device *dev, int type) argument 2581 struct net_device *dev; member in struct:igmp6_mc_iter_state 2708 struct net_device *dev; member in struct:igmp6_mcf_iter_state [all...] |
H A D | route.c | 83 struct net_device *dev, int how); 98 static struct rt6_info *rt6_add_route_info(struct net_device *dev, 101 static struct rt6_info *rt6_get_route_info(struct net_device *dev, 188 n = __ipv6_neigh_lookup(dst->dev, daddr); 191 return neigh_create(&nd_tbl, daddr, dst->dev); 217 return mtu ? : dst->dev->mtu; 304 struct net_device *dev, 308 struct rt6_info *rt = dst_alloc(&net->ipv6.ip6_dst_ops, dev, 344 static void ip6_dst_ifdown(struct dst_entry *dst, struct net_device *dev, argument 350 dev_net(dev) 303 ip6_dst_alloc(struct net *net, struct net_device *dev, int flags, struct fib6_table *table) argument 451 struct net_device *dev = sprt->dst.dev; local 489 struct net_device *dev; member in struct:__rt6_probe_work 561 struct net_device *dev = rt->dst.dev; local 699 rt6_route_rcv(struct net_device *dev, u8 *opt, int len, const struct in6_addr *gwaddr) argument 988 ip6_route_input_lookup(struct net *net, struct net_device *dev, struct flowi6 *fl6, int flags) argument 1308 struct net_device *dev = dst->dev; local 1351 icmp6_dst_alloc(struct net_device *dev, struct flowi6 *fl6) argument 1467 struct net_device *dev = NULL; local 1905 rt6_get_route_info(struct net_device *dev, const struct in6_addr *prefix, int prefixlen, const struct in6_addr *gwaddr) argument 1938 rt6_add_route_info(struct net_device *dev, const struct in6_addr *prefix, int prefixlen, const struct in6_addr *gwaddr, unsigned int pref) argument 1967 rt6_get_dflt_router(const struct in6_addr *addr, struct net_device *dev) argument 1990 rt6_add_dflt_router(const struct in6_addr *gwaddr, struct net_device *dev, unsigned int pref) argument 2187 struct net_device *dev; member in struct:arg_dev_net_ip 2194 struct net_device *dev = ((struct arg_dev_net_ip *)arg)->dev; local 2240 struct net_device *dev; member in struct:arg_dev_net 2247 const struct net_device *dev = adn->dev; local 2256 rt6_ifdown(struct net *net, struct net_device *dev) argument 2268 struct net_device *dev; member in struct:rt6_mtu_change_arg 2311 rt6_mtu_change(struct net_device *dev, unsigned int mtu) argument 2724 struct net_device *dev; local 2807 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local [all...] |
/net/iucv/ |
H A D | af_iucv.c | 89 static int afiucv_hs_rcv(struct sk_buff *skb, struct net_device *dev, 128 static int afiucv_pm_prepare(struct device *dev) argument 136 static void afiucv_pm_complete(struct device *dev) argument 145 * @dev: AFIUCV dummy device 149 static int afiucv_pm_freeze(struct device *dev) argument 183 * @dev: AFIUCV dummy device 187 static int afiucv_pm_restore_thaw(struct device *dev) argument 355 skb->dev = iucv->hs_dev; 356 if (!skb->dev) 358 if (!(skb->dev 705 struct net_device *dev; local 2118 afiucv_hs_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt, struct net_device *orig_dev) argument [all...] |
H A D | iucv.c | 78 static int iucv_bus_match(struct device *dev, struct device_driver *drv) argument 1851 static int iucv_pm_prepare(struct device *dev) argument 1858 if (dev->driver && dev->driver->pm && dev->driver->pm->prepare) 1859 rc = dev->driver->pm->prepare(dev); 1863 static void iucv_pm_complete(struct device *dev) argument 1868 if (dev->driver && dev 1897 iucv_pm_freeze(struct device *dev) argument 1934 iucv_pm_thaw(struct device *dev) argument 1969 iucv_pm_restore(struct device *dev) argument [all...] |
/net/mac80211/ |
H A D | cfg.c | 55 struct net_device *dev, 59 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 132 struct net_device *dev, 135 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 141 static int ieee80211_add_key(struct wiphy *wiphy, struct net_device *dev, argument 145 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 248 static int ieee80211_del_key(struct wiphy *wiphy, struct net_device *dev, argument 251 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 289 static int ieee80211_get_key(struct wiphy *wiphy, struct net_device *dev, argument 305 sdata = IEEE80211_DEV_TO_SUB_IF(dev); 54 ieee80211_change_iface(struct wiphy *wiphy, struct net_device *dev, enum nl80211_iftype type, u32 *flags, struct vif_params *params) argument 131 ieee80211_set_noack_map(struct wiphy *wiphy, struct net_device *dev, u16 noack_map) argument 383 ieee80211_config_default_key(struct wiphy *wiphy, struct net_device *dev, u8 key_idx, bool uni, bool multi) argument 395 ieee80211_config_default_mgmt_key(struct wiphy *wiphy, struct net_device *dev, u8 key_idx) argument 472 ieee80211_dump_station(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *mac, struct station_info *sinfo) argument 494 ieee80211_dump_survey(struct wiphy *wiphy, struct net_device *dev, int idx, struct survey_info *survey) argument 502 ieee80211_get_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_info *sinfo) argument 668 ieee80211_start_ap(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_ap_settings *params) argument 778 ieee80211_change_beacon(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_beacon_data *params) argument 805 ieee80211_stop_ap(struct wiphy *wiphy, struct net_device *dev) argument 1157 ieee80211_add_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_parameters *params) argument 1227 ieee80211_del_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac) argument 1241 ieee80211_change_station(struct wiphy *wiphy, struct net_device *dev, const u8 *mac, struct station_parameters *params) argument 1366 ieee80211_add_mpath(struct wiphy *wiphy, struct net_device *dev, const u8 *dst, const u8 *next_hop) argument 1394 ieee80211_del_mpath(struct wiphy *wiphy, struct net_device *dev, const u8 *dst) argument 1406 ieee80211_change_mpath(struct wiphy *wiphy, struct net_device *dev, const u8 *dst, const u8 *next_hop) argument 1477 ieee80211_get_mpath(struct wiphy *wiphy, struct net_device *dev, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument 1498 ieee80211_dump_mpath(struct wiphy *wiphy, struct net_device *dev, int idx, u8 *dst, u8 *next_hop, struct mpath_info *pinfo) argument 1519 ieee80211_get_mesh_config(struct wiphy *wiphy, struct net_device *dev, struct mesh_config *conf) argument 1582 ieee80211_update_mesh_config(struct wiphy *wiphy, struct net_device *dev, u32 mask, const struct mesh_config *nconf) argument 1693 ieee80211_join_mesh(struct wiphy *wiphy, struct net_device *dev, const struct mesh_config *conf, const struct mesh_setup *setup) argument 1720 ieee80211_leave_mesh(struct wiphy *wiphy, struct net_device *dev) argument 1733 ieee80211_change_bss(struct wiphy *wiphy, struct net_device *dev, struct bss_parameters *params) argument 1813 ieee80211_set_txq_params(struct wiphy *wiphy, struct net_device *dev, struct ieee80211_txq_params *params) argument 1911 ieee80211_sched_scan_start(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_sched_scan_request *req) argument 1924 ieee80211_sched_scan_stop(struct wiphy *wiphy, struct net_device *dev) argument 1934 ieee80211_auth(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_auth_request *req) argument 1940 ieee80211_assoc(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_assoc_request *req) argument 1946 ieee80211_deauth(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_deauth_request *req) argument 1952 ieee80211_disassoc(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_disassoc_request *req) argument 1958 ieee80211_join_ibss(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_ibss_params *params) argument 1964 ieee80211_leave_ibss(struct wiphy *wiphy, struct net_device *dev) argument 1969 ieee80211_set_mcast_rate(struct wiphy *wiphy, struct net_device *dev, int rate[IEEE80211_NUM_BANDS]) argument 2092 ieee80211_set_wds_peer(struct wiphy *wiphy, struct net_device *dev, const u8 *addr) argument 2275 ieee80211_set_power_mgmt(struct wiphy *wiphy, struct net_device *dev, bool enabled, int timeout) argument 2308 ieee80211_set_cqm_rssi_config(struct wiphy *wiphy, struct net_device *dev, s32 rssi_thold, u32 rssi_hyst) argument 2331 ieee80211_set_bitrate_mask(struct wiphy *wiphy, struct net_device *dev, const u8 *addr, const struct cfg80211_bitrate_mask *mask) argument 2691 ieee80211_start_radar_detection(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_chan_def *chandef, u32 cac_time_ms) argument 3051 __ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_csa_settings *params) argument 3131 ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_csa_settings *params) argument 3356 ieee80211_set_rekey_data(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_gtk_rekey_data *data) argument 3371 ieee80211_probe_client(struct wiphy *wiphy, struct net_device *dev, const u8 *peer, u64 *cookie) argument 3484 ieee80211_set_qos_map(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_qos_map *qos_map) argument 3509 ieee80211_set_ap_chanwidth(struct wiphy *wiphy, struct net_device *dev, struct cfg80211_chan_def *chandef) argument [all...] |
H A D | rx.c | 469 skb2->dev = prev_dev; 474 prev_dev = sdata->dev; 475 sdata->dev->stats.rx_packets++; 476 sdata->dev->stats.rx_bytes += skb->len; 480 skb->dev = prev_dev; 1057 cfg80211_rx_spurious_frame(rx->sdata->dev, 1363 rx->sdata->dev, sta->sta.addr, 1834 cfg80211_rx_unprot_mlme_mgmt(rx->sdata->dev, 1844 cfg80211_rx_unprot_mlme_mgmt(rx->sdata->dev, 1933 struct net_device *dev local 2024 struct net_device *dev = rx->sdata->dev; local 2221 struct net_device *dev = sdata->dev; local [all...] |
H A D | tx.c | 886 tmp->dev = skb->dev; 1144 if (!tx->sta && sdata->dev->ieee80211_ptr->use_4addr) 1624 struct net_device *dev) 1626 struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr); 1707 sdata = IEEE80211_DEV_TO_SUB_IF(dev); 1790 * @dev: incoming interface 1801 struct net_device *dev) 1803 struct ieee80211_sub_if_data *sdata = IEEE80211_DEV_TO_SUB_IF(dev); 2065 dev 1623 ieee80211_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev) argument 1800 ieee80211_subif_start_xmit(struct sk_buff *skb, struct net_device *dev) argument [all...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 1308 struct net_device *dev; local 1312 dev = __dev_get_by_name(net, ifname); 1313 if (!dev) 1316 if (sk->sk_bound_dev_if && dev->ifindex != sk->sk_bound_dev_if) 1320 inet->mc_index = dev->ifindex; 1335 struct net_device *dev; local 1339 dev = __dev_get_by_name(net, ipvs->master_mcast_ifn); 1340 if (!dev) 1343 num = (dev->mtu - sizeof(struct iphdr) - 1351 dev 1375 struct net_device *dev; local 1400 struct net_device *dev; local [all...] |
H A D | ip_vs_ctl.c | 85 is_local = !dst->error && dst->dev && (dst->dev->flags & IFF_LOOPBACK); 1477 ip_vs_forget_dev(struct ip_vs_dest *dest, struct net_device *dev) argument 1483 if (dest_dst && dest_dst->dst_cache->dev == dev) { 1484 IP_VS_DBG_BUF(3, "Reset dev:%s dest %s:%u ,dest->refcnt=%d\n", 1485 dev->name, 1500 struct net_device *dev = netdev_notifier_info_to_dev(ptr); local 1501 struct net *net = dev_net(dev); 1509 IP_VS_DBG(3, "%s() dev [all...] |
/net/rds/ |
H A D | iw.h | 182 struct ib_device *dev; member in struct:rds_iw_device 237 static inline void rds_iw_dma_sync_sg_for_cpu(struct ib_device *dev, argument 243 ib_dma_sync_single_for_cpu(dev, 244 ib_sg_dma_address(dev, &sg[i]), 245 ib_sg_dma_len(dev, &sg[i]), 251 static inline void rds_iw_dma_sync_sg_for_device(struct ib_device *dev, argument 257 ib_dma_sync_single_for_device(dev, 258 ib_sg_dma_address(dev, &sg[i]), 259 ib_sg_dma_len(dev, &sg[i]),
|
/net/sched/ |
H A D | sch_api.c | 292 struct Qdisc *qdisc_lookup(struct net_device *dev, u32 handle) argument 296 q = qdisc_match_from_root(dev->qdisc, handle); 300 if (dev_ingress_queue(dev)) 302 dev_ingress_queue(dev)->qdisc_sleeping, 726 static u32 qdisc_alloc_handle(struct net_device *dev) argument 735 if (!qdisc_lookup(dev, autohandle)) 786 * to device "dev". 794 static int qdisc_graft(struct net_device *dev, struct Qdisc *parent, argument 799 struct net *net = dev_net(dev); 806 num_q = dev 878 qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue, struct Qdisc *p, u32 parent, u32 handle, struct nlattr **tca, int *errp) argument 1102 struct net_device *dev; local 1171 struct net_device *dev; local 1464 struct net_device *dev; local 1513 struct net_device *dev; local 1775 struct net_device *dev; local [all...] |