Lines Matching full:ni
91 const struct netinfo6 *ni, const u_int print_metric)
96 ND_PRINT("%s/%u", GET_IP6ADDR_STRING(ni->rip6_dest),
97 GET_U_1(ni->rip6_plen));
98 tag = GET_BE_U_2(ni->rip6_tag);
101 metric = GET_U_1(ni->rip6_metric);
111 const struct netinfo6 *ni;
130 j = length_left / sizeof(*ni);
138 if (j * sizeof(*ni) != length_left)
142 for (ni = rp->rip6_nets; length_left >= sizeof(*ni);
143 length_left -= sizeof(*ni), ++ni) {
148 rip6_entry_print(ndo, ni, FALSE);
158 j = length_left / sizeof(*ni);
159 if (j * sizeof(*ni) != length_left)
163 for (ni = rp->rip6_nets; length_left >= sizeof(*ni);
164 length_left -= sizeof(*ni), ++ni) {
169 rip6_entry_print(ndo, ni, TRUE);