Home | History | Annotate | Download | only in dist

Lines Matching refs:ni

96                  const struct netinfo6 *ni, const u_int print_metric)
101 ND_PRINT("%s/%u", GET_IP6ADDR_STRING(ni->rip6_dest),
102 GET_U_1(ni->rip6_plen));
103 tag = GET_BE_U_2(ni->rip6_tag);
106 metric = GET_U_1(ni->rip6_metric);
117 const struct netinfo6 *ni;
136 j = length_left / sizeof(*ni);
144 if (j * sizeof(*ni) != length_left)
148 for (ni = rp->rip6_nets; length_left >= sizeof(*ni);
149 length_left -= sizeof(*ni), ++ni) {
154 rip6_entry_print(ndo, ni, FALSE);
164 j = length_left / sizeof(*ni);
165 if (j * sizeof(*ni) != length_left)
169 for (ni = rp->rip6_nets; length_left >= sizeof(*ni);
170 length_left -= sizeof(*ni), ++ni) {
175 rip6_entry_print(ndo, ni, TRUE);