Lines Matching refs:ifal
59 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(ifal->ifal_family, in print_addrlabel()
82 ifal->ifal_prefixlen); in print_addrlabel()
85 if (ifal->ifal_index) in print_addrlabel()
86 fprintf(fp, "dev %s ", ll_index_to_name(ifal->ifal_index)); in print_addrlabel()
129 struct ifaddrlblmsg ifal; in ipaddrlabel_modify() member
144 req.ifal.ifal_family = preferred_family; in ipaddrlabel_modify()
145 req.ifal.ifal_prefixlen = 0; in ipaddrlabel_modify()
146 req.ifal.ifal_index = 0; in ipaddrlabel_modify()
159 if ((req.ifal.ifal_index = ll_name_to_index(*argv)) == 0) in ipaddrlabel_modify()
180 req.ifal.ifal_prefixlen = prefix.bitlen; in ipaddrlabel_modify()
182 if (req.ifal.ifal_family == AF_UNSPEC) in ipaddrlabel_modify()
183 req.ifal.ifal_family = AF_INET6; in ipaddrlabel_modify()