Lines Matching refs:ifal
60 struct ifaddrlblmsg *ifal = NLMSG_DATA(n); in print_addrlabel() local
67 len -= NLMSG_LENGTH(sizeof(*ifal)); in print_addrlabel()
71 parse_rtattr(tb, IFAL_MAX, IFAL_RTA(ifal), len); in print_addrlabel()
78 format_host_rta(ifal->ifal_family, in print_addrlabel()
80 ifal->ifal_prefixlen); in print_addrlabel()
83 if (ifal->ifal_index) in print_addrlabel()
84 fprintf(fp, "dev %s ", ll_index_to_name(ifal->ifal_index)); in print_addrlabel()
128 struct ifaddrlblmsg ifal; in ipaddrlabel_modify() member
134 .ifal.ifal_family = preferred_family, in ipaddrlabel_modify()
153 if ((req.ifal.ifal_index = ll_name_to_index(*argv)) == 0) in ipaddrlabel_modify()
174 req.ifal.ifal_prefixlen = prefix.bitlen; in ipaddrlabel_modify()
176 if (req.ifal.ifal_family == AF_UNSPEC) in ipaddrlabel_modify()
177 req.ifal.ifal_family = AF_INET6; in ipaddrlabel_modify()