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