IFNAMSIZ 296 fs/compat_ioctl.c char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */ IFNAMSIZ 308 fs/compat_ioctl.c char ifru_slave[IFNAMSIZ]; /* Just fits the size */ IFNAMSIZ 309 fs/compat_ioctl.c char ifru_newname[IFNAMSIZ]; IFNAMSIZ 418 fs/compat_ioctl.c if (copy_in_user(&ifr->ifr_name, &ifr32->ifr_name, IFNAMSIZ)) IFNAMSIZ 458 fs/compat_ioctl.c if (copy_in_user(&uifr->ifr_name, &ifr32->ifr_name, IFNAMSIZ)) IFNAMSIZ 478 fs/compat_ioctl.c char tmp_buf[IFNAMSIZ]; IFNAMSIZ 483 fs/compat_ioctl.c IFNAMSIZ)) IFNAMSIZ 495 fs/compat_ioctl.c IFNAMSIZ)) IFNAMSIZ 56 include/linux/atmbr2684.h char ifname[IFNAMSIZ]; IFNAMSIZ 70 include/linux/atmbr2684.h char ifname[IFNAMSIZ]; IFNAMSIZ 71 include/linux/hdlc/ioctl.h char master[IFNAMSIZ]; /* Name of master FRAD device */ IFNAMSIZ 164 include/linux/if.h char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */ IFNAMSIZ 177 include/linux/if.h char ifru_slave[IFNAMSIZ]; /* Just fits the size */ IFNAMSIZ 178 include/linux/if.h char ifru_newname[IFNAMSIZ]; IFNAMSIZ 100 include/linux/if_bonding.h char slave_name[IFNAMSIZ]; IFNAMSIZ 35 include/linux/if_frad.h char devname[IFNAMSIZ]; IFNAMSIZ 46 include/linux/if_pppox.h char dev[IFNAMSIZ]; /* Local device to use */ IFNAMSIZ 27 include/linux/if_tunnel.h char name[IFNAMSIZ]; IFNAMSIZ 124 include/linux/inetdevice.h char ifa_label[IFNAMSIZ]; IFNAMSIZ 19 include/linux/ip6_tunnel.h char name[IFNAMSIZ]; /* name of tunnel device */ IFNAMSIZ 38 include/linux/isdn_ppp.h #define PPPIOCGIFNAME _IOR('t',136, char [IFNAMSIZ] ) IFNAMSIZ 288 include/linux/netdevice.h char name[IFNAMSIZ]; IFNAMSIZ 472 include/linux/netdevice.h char name[IFNAMSIZ]; IFNAMSIZ 5 include/linux/netfilter/xt_RATEEST.h char name[IFNAMSIZ]; IFNAMSIZ 33 include/linux/netfilter/xt_hashlimit.h char name [IFNAMSIZ]; /* name */ IFNAMSIZ 59 include/linux/netfilter/xt_hashlimit.h char name[IFNAMSIZ]; IFNAMSIZ 16 include/linux/netfilter/xt_physdev.h char physindev[IFNAMSIZ]; IFNAMSIZ 17 include/linux/netfilter/xt_physdev.h char in_mask[IFNAMSIZ]; IFNAMSIZ 18 include/linux/netfilter/xt_physdev.h char physoutdev[IFNAMSIZ]; IFNAMSIZ 19 include/linux/netfilter/xt_physdev.h char out_mask[IFNAMSIZ]; IFNAMSIZ 21 include/linux/netfilter/xt_rateest.h char name1[IFNAMSIZ]; IFNAMSIZ 22 include/linux/netfilter/xt_rateest.h char name2[IFNAMSIZ]; IFNAMSIZ 57 include/linux/netfilter_arp/arp_tables.h char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; IFNAMSIZ 58 include/linux/netfilter_arp/arp_tables.h unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ]; IFNAMSIZ 21 include/linux/netfilter_bridge/ebt_ulog.h char indev[IFNAMSIZ]; IFNAMSIZ 22 include/linux/netfilter_bridge/ebt_ulog.h char outdev[IFNAMSIZ]; IFNAMSIZ 23 include/linux/netfilter_bridge/ebt_ulog.h char physindev[IFNAMSIZ]; IFNAMSIZ 24 include/linux/netfilter_bridge/ebt_ulog.h char physoutdev[IFNAMSIZ]; IFNAMSIZ 170 include/linux/netfilter_bridge/ebtables.h char in[IFNAMSIZ]; IFNAMSIZ 172 include/linux/netfilter_bridge/ebtables.h char logical_in[IFNAMSIZ]; IFNAMSIZ 174 include/linux/netfilter_bridge/ebtables.h char out[IFNAMSIZ]; IFNAMSIZ 176 include/linux/netfilter_bridge/ebtables.h char logical_out[IFNAMSIZ]; IFNAMSIZ 27 include/linux/netfilter_ipv4/ip_queue.h char indev_name[IFNAMSIZ]; /* Name of incoming interface */ IFNAMSIZ 28 include/linux/netfilter_ipv4/ip_queue.h char outdev_name[IFNAMSIZ]; /* Name of outgoing interface */ IFNAMSIZ 43 include/linux/netfilter_ipv4/ip_tables.h char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; IFNAMSIZ 44 include/linux/netfilter_ipv4/ip_tables.h unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ]; IFNAMSIZ 40 include/linux/netfilter_ipv4/ipt_ULOG.h char indev_name[IFNAMSIZ]; IFNAMSIZ 41 include/linux/netfilter_ipv4/ipt_ULOG.h char outdev_name[IFNAMSIZ]; IFNAMSIZ 44 include/linux/netfilter_ipv6/ip6_tables.h char iniface[IFNAMSIZ], outiface[IFNAMSIZ]; IFNAMSIZ 45 include/linux/netfilter_ipv6/ip6_tables.h unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ]; IFNAMSIZ 17 include/linux/netpoll.h char dev_name[IFNAMSIZ]; IFNAMSIZ 912 include/linux/wireless.h char name[IFNAMSIZ]; IFNAMSIZ 951 include/linux/wireless.h char ifrn_name[IFNAMSIZ]; /* if name, e.g. "eth0" */ IFNAMSIZ 1078 include/linux/wireless.h char name[IFNAMSIZ]; /* Name of the extension */ IFNAMSIZ 1101 include/linux/wireless.h #define IW_EV_CHAR_LEN (IW_EV_LCP_LEN + IFNAMSIZ) IFNAMSIZ 1134 include/linux/wireless.h #define IW_EV_CHAR_PK_LEN (IW_EV_LCP_PK_LEN + IFNAMSIZ) IFNAMSIZ 83 include/net/act_api.h char kind[IFNAMSIZ]; IFNAMSIZ 14 include/net/dn_dev.h char ifa_label[IFNAMSIZ]; IFNAMSIZ 15 include/net/fib_rules.h char ifname[IFNAMSIZ]; IFNAMSIZ 75 include/net/fib_rules.h [FRA_IFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, \ IFNAMSIZ 124 include/net/irda/irlap.h char hw_name[2*IFNAMSIZ + 1]; IFNAMSIZ 6 include/net/netfilter/xt_rateest.h char name[IFNAMSIZ]; IFNAMSIZ 343 include/net/pkt_cls.h if (nla_strlcpy(indev, indev_tlv, IFNAMSIZ) >= IFNAMSIZ) IFNAMSIZ 109 include/net/sch_generic.h char id[IFNAMSIZ]; IFNAMSIZ 138 include/net/sch_generic.h char kind[IFNAMSIZ]; IFNAMSIZ 301 net/8021q/vlan.c char name[IFNAMSIZ]; IFNAMSIZ 315 net/8021q/vlan.c snprintf(name, IFNAMSIZ, "%s.%.4i", real_dev->name, vlan_id); IFNAMSIZ 321 net/8021q/vlan.c snprintf(name, IFNAMSIZ, "vlan%i", vlan_id); IFNAMSIZ 327 net/8021q/vlan.c snprintf(name, IFNAMSIZ, "%s.%i", real_dev->name, vlan_id); IFNAMSIZ 334 net/8021q/vlan.c snprintf(name, IFNAMSIZ, "vlan%.4i", vlan_id); IFNAMSIZ 532 net/8021q/vlan_dev.c strncpy(ifrr.ifr_name, real_dev->name, IFNAMSIZ); IFNAMSIZ 899 net/appletalk/ddp.c char name[IFNAMSIZ]; IFNAMSIZ 900 net/appletalk/ddp.c if (copy_from_user(name, rt.rt_dev, IFNAMSIZ-1)) IFNAMSIZ 902 net/appletalk/ddp.c name[IFNAMSIZ-1] = '\0'; IFNAMSIZ 138 net/atm/br2684.c if (!strncmp(net_dev->name, s->spec.ifname, IFNAMSIZ)) IFNAMSIZ 925 net/atm/lec.c snprintf(dev_lec[i]->name, IFNAMSIZ, "lec%d", i); IFNAMSIZ 246 net/atm/mpc.c char name[IFNAMSIZ]; IFNAMSIZ 536 net/ax25/af_ax25.c char devname[IFNAMSIZ]; IFNAMSIZ 637 net/ax25/af_ax25.c if (optlen > IFNAMSIZ) IFNAMSIZ 638 net/ax25/af_ax25.c optlen=IFNAMSIZ; IFNAMSIZ 676 net/ax25/af_ax25.c char devname[IFNAMSIZ]; IFNAMSIZ 352 net/bridge/br_ioctl.c char buf[IFNAMSIZ]; IFNAMSIZ 357 net/bridge/br_ioctl.c if (copy_from_user(buf, (void __user *)args[1], IFNAMSIZ)) IFNAMSIZ 360 net/bridge/br_ioctl.c buf[IFNAMSIZ-1] = 0; IFNAMSIZ 382 net/bridge/br_ioctl.c char buf[IFNAMSIZ]; IFNAMSIZ 387 net/bridge/br_ioctl.c if (copy_from_user(buf, uarg, IFNAMSIZ)) IFNAMSIZ 390 net/bridge/br_ioctl.c buf[IFNAMSIZ-1] = 0; IFNAMSIZ 22 net/bridge/br_netlink.c + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */ IFNAMSIZ 215 net/core/dev.c unsigned hash = full_name_hash(name, strnlen(name, IFNAMSIZ)); IFNAMSIZ 478 net/core/dev.c strlcpy(s[i].name, name, IFNAMSIZ); IFNAMSIZ 528 net/core/dev.c char name[IFNAMSIZ]; IFNAMSIZ 600 net/core/dev.c if (!strncmp(dev->name, name, IFNAMSIZ)) IFNAMSIZ 779 net/core/dev.c if (strlen(name) >= IFNAMSIZ) IFNAMSIZ 815 net/core/dev.c p = strnchr(name, IFNAMSIZ-1, '%'); IFNAMSIZ 837 net/core/dev.c snprintf(buf, IFNAMSIZ, name, i); IFNAMSIZ 838 net/core/dev.c if (!strncmp(buf, d->name, IFNAMSIZ)) IFNAMSIZ 846 net/core/dev.c snprintf(buf, IFNAMSIZ, name, i); IFNAMSIZ 873 net/core/dev.c char buf[IFNAMSIZ]; IFNAMSIZ 881 net/core/dev.c strlcpy(dev->name, buf, IFNAMSIZ); IFNAMSIZ 896 net/core/dev.c char oldname[IFNAMSIZ]; IFNAMSIZ 911 net/core/dev.c if (strncmp(newname, dev->name, IFNAMSIZ) == 0) IFNAMSIZ 914 net/core/dev.c memcpy(oldname, dev->name, IFNAMSIZ); IFNAMSIZ 924 net/core/dev.c strlcpy(dev->name, newname, IFNAMSIZ); IFNAMSIZ 929 net/core/dev.c memcpy(dev->name, oldname, IFNAMSIZ); IFNAMSIZ 948 net/core/dev.c memcpy(dev->name, oldname, IFNAMSIZ); IFNAMSIZ 3634 net/core/dev.c ifr->ifr_newname[IFNAMSIZ-1] = '\0'; IFNAMSIZ 3711 net/core/dev.c ifr.ifr_name[IFNAMSIZ-1] = 0; IFNAMSIZ 4014 net/core/dev.c if (!strncmp(d->name, dev->name, IFNAMSIZ)) { IFNAMSIZ 4441 net/core/dev.c char buf[IFNAMSIZ]; IFNAMSIZ 4830 net/core/dev.c char fb_name[IFNAMSIZ]; IFNAMSIZ 4837 net/core/dev.c snprintf(fb_name, IFNAMSIZ, "dev%d", dev->ifindex); IFNAMSIZ 255 net/core/fib_rules.c nla_strlcpy(rule->ifname, tb[FRA_IFNAME], IFNAMSIZ); IFNAMSIZ 450 net/core/fib_rules.c + nla_total_size(IFNAMSIZ) /* FRA_IFNAME */ IFNAMSIZ 492 net/core/net-sysfs.c BUILD_BUG_ON(BUS_ID_SIZE < IFNAMSIZ); IFNAMSIZ 1910 net/core/pktgen.c char b[IFNAMSIZ+5]; IFNAMSIZ 1914 net/core/pktgen.c if(i == IFNAMSIZ) IFNAMSIZ 3575 net/core/pktgen.c if (strncmp(p->odev->name, ifname, IFNAMSIZ) == 0) { IFNAMSIZ 588 net/core/rtnetlink.c + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */ IFNAMSIZ 590 net/core/rtnetlink.c + nla_total_size(IFNAMSIZ) /* IFLA_QDISC */ IFNAMSIZ 708 net/core/rtnetlink.c [IFLA_IFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ-1 }, IFNAMSIZ 917 net/core/rtnetlink.c char ifname[IFNAMSIZ]; IFNAMSIZ 924 net/core/rtnetlink.c nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); IFNAMSIZ 958 net/core/rtnetlink.c char ifname[IFNAMSIZ]; IFNAMSIZ 967 net/core/rtnetlink.c nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); IFNAMSIZ 1038 net/core/rtnetlink.c char ifname[IFNAMSIZ]; IFNAMSIZ 1051 net/core/rtnetlink.c nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); IFNAMSIZ 1146 net/core/rtnetlink.c snprintf(ifname, IFNAMSIZ, "%s%%d", ops->kind); IFNAMSIZ 378 net/core/sock.c char devname[IFNAMSIZ]; IFNAMSIZ 395 net/core/sock.c if (optlen > IFNAMSIZ - 1) IFNAMSIZ 396 net/core/sock.c optlen = IFNAMSIZ - 1; IFNAMSIZ 491 net/decnet/dn_dev.c ifr->ifr_name[IFNAMSIZ-1] = 0; IFNAMSIZ 539 net/decnet/dn_dev.c memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); IFNAMSIZ 623 net/decnet/dn_dev.c .len = IFNAMSIZ - 1 }, IFNAMSIZ 708 net/decnet/dn_dev.c nla_strlcpy(ifa->ifa_label, tb[IFA_LABEL], IFNAMSIZ); IFNAMSIZ 710 net/decnet/dn_dev.c memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); IFNAMSIZ 722 net/decnet/dn_dev.c + nla_total_size(IFNAMSIZ) /* IFA_LABEL */ IFNAMSIZ 80 net/ieee80211/ieee80211_wx.c snprintf(iwe.u.name, IFNAMSIZ, "IEEE 802.11%s", IFNAMSIZ 91 net/ipv4/devinet.c [IFA_LABEL] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 }, IFNAMSIZ 539 net/ipv4/devinet.c nla_strlcpy(ifa->ifa_label, tb[IFA_LABEL], IFNAMSIZ); IFNAMSIZ 541 net/ipv4/devinet.c memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); IFNAMSIZ 607 net/ipv4/devinet.c ifr.ifr_name[IFNAMSIZ - 1] = 0; IFNAMSIZ 735 net/ipv4/devinet.c memcpy(ifa->ifa_label, ifr.ifr_name, IFNAMSIZ); IFNAMSIZ 737 net/ipv4/devinet.c memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); IFNAMSIZ 1011 net/ipv4/devinet.c char old[IFNAMSIZ], *dot; IFNAMSIZ 1013 net/ipv4/devinet.c memcpy(old, ifa->ifa_label, IFNAMSIZ); IFNAMSIZ 1014 net/ipv4/devinet.c memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); IFNAMSIZ 1022 net/ipv4/devinet.c if (strlen(dot) + strlen(dev->name) < IFNAMSIZ) { IFNAMSIZ 1025 net/ipv4/devinet.c strcpy(ifa->ifa_label + (IFNAMSIZ - strlen(dot) - 1), dot); IFNAMSIZ 1082 net/ipv4/devinet.c memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); IFNAMSIZ 1122 net/ipv4/devinet.c + nla_total_size(IFNAMSIZ); /* IFA_LABEL */ IFNAMSIZ 381 net/ipv4/fib_frontend.c char devname[IFNAMSIZ]; IFNAMSIZ 383 net/ipv4/fib_frontend.c if (copy_from_user(devname, rt->rt_dev, IFNAMSIZ-1)) IFNAMSIZ 386 net/ipv4/fib_frontend.c devname[IFNAMSIZ-1] = 0; IFNAMSIZ 307 net/ipv4/ip_gre.c char name[IFNAMSIZ]; IFNAMSIZ 315 net/ipv4/ip_gre.c strlcpy(name, parms->name, IFNAMSIZ); IFNAMSIZ 156 net/ipv4/ipconfig.c static char user_dev_name[IFNAMSIZ] __initdata = { 0, }; IFNAMSIZ 221 net/ipv4/ipip.c char name[IFNAMSIZ]; IFNAMSIZ 232 net/ipv4/ipip.c strlcpy(name, parms->name, IFNAMSIZ); IFNAMSIZ 159 net/ipv4/netfilter/arp_tables.c for (i = 0, ret = 0; i < IFNAMSIZ; i++) { IFNAMSIZ 171 net/ipv4/netfilter/arp_tables.c for (i = 0, ret = 0; i < IFNAMSIZ; i++) { IFNAMSIZ 224 net/ipv4/netfilter/arp_tables.c static const char nulldevname[IFNAMSIZ]; IFNAMSIZ 111 net/ipv4/netfilter/ip_tables.c for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { IFNAMSIZ 124 net/ipv4/netfilter/ip_tables.c for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { IFNAMSIZ 322 net/ipv4/netfilter/ip_tables.c static const char nulldevname[IFNAMSIZ] __attribute__((aligned(sizeof(long)))); IFNAMSIZ 3699 net/ipv6/addrconf.c + nla_total_size(IFNAMSIZ) /* IFLA_IFNAME */ IFNAMSIZ 231 net/ipv6/ip6_tunnel.c char name[IFNAMSIZ]; IFNAMSIZ 236 net/ipv6/ip6_tunnel.c strlcpy(name, p->name, IFNAMSIZ); IFNAMSIZ 124 net/ipv6/netfilter/ip6_tables.c for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { IFNAMSIZ 137 net/ipv6/netfilter/ip6_tables.c for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { IFNAMSIZ 350 net/ipv6/netfilter/ip6_tables.c static const char nulldevname[IFNAMSIZ] __attribute__((aligned(sizeof(long)))); IFNAMSIZ 164 net/ipv6/sit.c char name[IFNAMSIZ]; IFNAMSIZ 175 net/ipv6/sit.c strlcpy(name, parms->name, IFNAMSIZ); IFNAMSIZ 129 net/irda/irnetlink.c .len = IFNAMSIZ-1 }, IFNAMSIZ 510 net/mac80211/debugfs_netdev.c char buf[10+IFNAMSIZ]; IFNAMSIZ 535 net/mac80211/debugfs_netdev.c char buf[10+IFNAMSIZ]; IFNAMSIZ 767 net/netfilter/xt_hashlimit.c char name[IFNAMSIZ]; IFNAMSIZ 27 net/netfilter/xt_physdev.c static const char nulldevname[IFNAMSIZ]; IFNAMSIZ 71 net/netfilter/xt_physdev.c for (i = 0, ret = false; i < IFNAMSIZ/sizeof(unsigned int); i++) { IFNAMSIZ 85 net/netfilter/xt_physdev.c for (i = 0, ret = false; i < IFNAMSIZ/sizeof(unsigned int); i++) { IFNAMSIZ 144 net/netlabel/netlabel_unlabeled.c .len = IFNAMSIZ - 1 }, IFNAMSIZ 1431 net/netrom/af_netrom.c char name[IFNAMSIZ]; IFNAMSIZ 1577 net/rose/af_rose.c char name[IFNAMSIZ]; IFNAMSIZ 474 net/sched/act_api.c char act_name[IFNAMSIZ]; IFNAMSIZ 487 net/sched/act_api.c if (nla_strlcpy(act_name, kind, IFNAMSIZ) >= IFNAMSIZ) IFNAMSIZ 491 net/sched/act_api.c if (strlcpy(act_name, name, IFNAMSIZ) >= IFNAMSIZ) IFNAMSIZ 98 net/sched/act_ipt.c [TCA_IPT_TABLE] = { .type = NLA_STRING, .len = IFNAMSIZ }, IFNAMSIZ 153 net/sched/act_ipt.c tname = kmalloc(IFNAMSIZ, GFP_KERNEL); IFNAMSIZ 157 net/sched/act_ipt.c nla_strlcpy(tname, tb[TCA_IPT_TABLE], IFNAMSIZ) >= IFNAMSIZ) IFNAMSIZ 232 net/sched/cls_api.c char name[IFNAMSIZ]; IFNAMSIZ 235 net/sched/cls_api.c nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) { IFNAMSIZ 45 net/sched/cls_fw.c char indev[IFNAMSIZ]; IFNAMSIZ 191 net/sched/cls_fw.c [TCA_FW_INDEV] = { .type = NLA_STRING, .len = IFNAMSIZ }, IFNAMSIZ 51 net/sched/cls_u32.c char indev[IFNAMSIZ]; IFNAMSIZ 463 net/sched/cls_u32.c [TCA_U32_INDEV] = { .type = NLA_STRING, .len = IFNAMSIZ }, IFNAMSIZ 769 net/sched/sch_api.c char name[IFNAMSIZ]; IFNAMSIZ 770 net/sched/sch_api.c if (nla_strlcpy(name, kind, IFNAMSIZ) < IFNAMSIZ) { IFNAMSIZ 482 net/sched/sch_teql.c strlcpy(master->qops.id, dev->name, IFNAMSIZ); IFNAMSIZ 139 net/tipc/eth_media.c if (!strncmp(pdev->name, driver_name, IFNAMSIZ)) { IFNAMSIZ 64 net/wireless/nl80211.c [NL80211_ATTR_IFNAME] = { .type = NLA_NUL_STRING, .len = IFNAMSIZ-1 }, IFNAMSIZ 916 net/wireless/wext.c ((extra_size + offset) <= IFNAMSIZ)) IFNAMSIZ 924 net/wireless/wext.c (extra_size <= IFNAMSIZ)) IFNAMSIZ 1191 net/wireless/wext.c iwr.ifr_name[IFNAMSIZ-1] = 0;