Lines Matching refs:ifa_label
375 (rta[IFA_LABEL-1] && strcmp(RTA_DATA(rta[IFA_LABEL-1]), ifa->ifa_label)) || in inet_rtm_deladdr()
428 memcpy(ifa->ifa_label, RTA_DATA(rta[IFA_LABEL-1]), IFNAMSIZ); in inet_rtm_newaddr()
430 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in inet_rtm_newaddr()
542 if ((strcmp(ifr.ifr_name, ifa->ifa_label) == 0) in devinet_ioctl()
553 if (strcmp(ifr.ifr_name, ifa->ifa_label) == 0) in devinet_ioctl()
605 memcpy(ifa->ifa_label, ifr.ifr_name, IFNAMSIZ); in devinet_ioctl()
607 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in devinet_ioctl()
718 if (ifa->ifa_label) in inet_gifconf()
719 strcpy(ifr.ifr_name, ifa->ifa_label); in inet_gifconf()
895 memcpy(old, ifa->ifa_label, IFNAMSIZ); in inetdev_changename()
896 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in inetdev_changename()
899 dot = strchr(ifa->ifa_label, ':'); in inetdev_changename()
905 strcat(ifa->ifa_label, dot); in inetdev_changename()
907 strcpy(ifa->ifa_label + (IFNAMSIZ - strlen(dot) - 1), dot); in inetdev_changename()
942 memcpy(ifa->ifa_label, dev->name, IFNAMSIZ); in inetdev_event()
996 if (ifa->ifa_label[0]) in inet_fill_ifaddr()
997 RTA_PUT(skb, IFA_LABEL, IFNAMSIZ, &ifa->ifa_label); in inet_fill_ifaddr()