Lines Matching refs:ifi
50 struct ifinfomsg *ifi = NLMSG_DATA(n); in print_token() local
58 len -= NLMSG_LENGTH(sizeof(*ifi)); in print_token()
62 if (ifi->ifi_family != AF_INET6) in print_token()
64 if (ifi->ifi_index == 0) in print_token()
66 if (ifindex > 0 && ifi->ifi_index != ifindex) in print_token()
68 if (ifi->ifi_flags & (IFF_LOOPBACK | IFF_NOARP)) in print_token()
71 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in print_token()
82 format_host_rta(ifi->ifi_family, ltb[IFLA_INET6_TOKEN]), in print_token()
83 ll_index_to_name(ifi->ifi_index)); in print_token()
121 struct ifinfomsg ifi; in iptoken_set() member
127 .ifi.ifi_family = AF_INET6, in iptoken_set()
137 if ((req.ifi.ifi_index = in iptoken_set()
146 get_prefix(&addr, *argv, req.ifi.ifi_family); in iptoken_set()