Lines Matching defs:len
54 int len, count;
65 if ((len = fraglen - 4) < 0)
93 if (len >= sizeof (*nip) &&
96 len -= sizeof (*nip);
98 len >= ntohs(nap->au.a_md5.md5_auth_len))
99 len -= ntohs(nap->au.a_md5.
103 count = len / sizeof (*nip);
104 len %= sizeof (*nip);
107 count, (len != 0 ? "?" : ""), auth);
113 "%s %s File=\"%.*s\"", ripvers, cmdstr, len,
115 len = 0;
120 if (len < sizeof (rip->rip_tsol.rip_generation))
122 len -= sizeof (rip->rip_tsol.rip_generation);
125 while (len > 0) {
126 rsn = rip_next_sec_entry(rsep, len);
129 len -= (const char *)rsn - (const char *)rsep;
135 count, (len != 0 ? "?" : ""));
141 len = 0;
148 len = fraglen - 4;
165 for (nip = rip->rip_nets; len >= sizeof (*nip); nip++,
166 len -= sizeof (*nip)) {
187 " *** Auth MD5 pkt len %d, "
197 if (len - sizeof (*nip) >=
200 len -= ntohs(nap->au.
203 len = sizeof (*nip);
270 if (len < sizeof (*ep))
272 len -= sizeof (*ep);
303 if (len < sizeof (rip->rip_tsol.rip_generation))
305 len -= sizeof (rip->rip_tsol.rip_generation);
314 while (len > 0) {
318 rsn = rip_next_sec_entry(rsep, len);
367 len -= (const char *)rsn - (const char *)rsep;
375 "Trace file = %.*s", len, rip->rip_tracefile);
376 len = 0;
381 return (fraglen - len);
421 rip_next_sec_entry(const struct rip_sec_entry *rsep, int len)
424 const char *limit = (const char *)rsep + len;