Lines Matching defs:maxlen
564 int maxlen;
581 maxlen = sizeof(*ip6) + sizeof(*nd_ns);
582 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7;
583 if (max_linkhdr + maxlen >= MCLBYTES) {
585 printf("nd6_ns_output: max_linkhdr + maxlen >= MCLBYTES "
586 "(%d + %d > %d)\n", max_linkhdr, maxlen, MCLBYTES);
592 if (m && max_linkhdr + maxlen >= MHLEN) {
1279 int icmp6len, maxlen, error;
1292 maxlen = sizeof(*ip6) + sizeof(*nd_na);
1293 maxlen += (sizeof(struct nd_opt_hdr) + ifp->if_addrlen + 7) & ~7;
1294 if (max_linkhdr + maxlen >= MCLBYTES) {
1296 printf("nd6_na_output: max_linkhdr + maxlen >= MCLBYTES "
1297 "(%d + %d > %d)\n", max_linkhdr, maxlen, MCLBYTES);
1303 if (m && max_linkhdr + maxlen >= MHLEN) {