Lines Matching refs:maxdgram
217 u_long maxdgram; in option_blksize() local
224 len = sizeof(maxdgram); in option_blksize()
226 &maxdgram, &len, NULL, 0) < 0) { in option_blksize()
230 maxdgram -= 4; /* leave room for header */ in option_blksize()
248 if (size > (int)maxdgram) { in option_blksize()
253 "%ld bytes.\n", size, maxdgram); in option_blksize()
260 "%ld bytes.\n", size, maxdgram); in option_blksize()
261 size = maxdgram; in option_blksize()
279 u_long maxdgram; in option_blksize2() local
292 len = sizeof(maxdgram); in option_blksize2()
294 &maxdgram, &len, NULL, 0) < 0) { in option_blksize2()
309 if (size > (int)maxdgram) { in option_blksize2()
311 if ((int)maxdgram < sizes[i+1]) break; in option_blksize2()
315 "sysctl limits it to %ld bytes.\n", size, maxdgram); in option_blksize2()