Lines Matching refs:IFNAMSIZ
100 [IFA_LABEL] = { .type = NLA_STRING, .len = IFNAMSIZ - 1 },
801 nla_strlcpy(ifa->ifa_label, tb[IFA_LABEL], IFNAMSIZ); in rtm_to_ifaddr()
803 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in rtm_to_ifaddr()
934 ifr.ifr_name[IFNAMSIZ - 1] = 0; in devinet_ioctl()
1064 memcpy(ifa->ifa_label, ifr.ifr_name, IFNAMSIZ); in devinet_ioctl()
1066 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in devinet_ioctl()
1336 char old[IFNAMSIZ], *dot; in inetdev_changename()
1338 memcpy(old, ifa->ifa_label, IFNAMSIZ); in inetdev_changename()
1339 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in inetdev_changename()
1347 if (strlen(dot) + strlen(dev->name) < IFNAMSIZ) in inetdev_changename()
1350 strcpy(ifa->ifa_label + (IFNAMSIZ - strlen(dot) - 1), dot); in inetdev_changename()
1423 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in inetdev_event()
1481 + nla_total_size(IFNAMSIZ) /* IFA_LABEL */ in inet_nlmsg_size()
2187 char path[sizeof("net/ipv4/conf/") + IFNAMSIZ]; in __devinet_sysctl_register()