Lines Matching refs:length_left
113 unsigned int length_left; in ripng_print() local
120 length_left = length; in ripng_print()
121 if (length_left < (sizeof(struct rip6) - sizeof(struct netinfo6))) in ripng_print()
123 length_left -= (sizeof(struct rip6) - sizeof(struct netinfo6)); in ripng_print()
124 j = length_left / sizeof(*ni); in ripng_print()
133 if (j * sizeof(*ni) != length_left) in ripng_print()
137 for (ni = rp->rip6_nets; length_left >= sizeof(*ni); in ripng_print()
138 length_left -= sizeof(*ni), ++ni) { in ripng_print()
146 if (length_left != 0) in ripng_print()
150 length_left = length; in ripng_print()
151 if (length_left < (sizeof(struct rip6) - sizeof(struct netinfo6))) in ripng_print()
153 length_left -= (sizeof(struct rip6) - sizeof(struct netinfo6)); in ripng_print()
154 j = length_left / sizeof(*ni); in ripng_print()
155 if (j * sizeof(*ni) != length_left) in ripng_print()
159 for (ni = rp->rip6_nets; length_left >= sizeof(*ni); in ripng_print()
160 length_left -= sizeof(*ni), ++ni) { in ripng_print()
168 if (length_left != 0) in ripng_print()