Lines Matching refs:optlen
938 int optlen = 0; variable
1412 int optlen, totlen; in pr_options() local
1430 optlen = optptr[1]; in pr_options()
1431 if (optlen < 2 || optlen > totlen) in pr_options()
1552 totlen -= optlen; in pr_options()
1553 optptr += optlen; in pr_options()
1956 optlen = 40; in main()
1981 optlen = 40; in main()
1998 optlen = 40; in main()
2004 hold += ((hold+511)/512)*(optlen + 20 + 16 + 64 + 160); in main()
2037 if (datalen > 0xFFFF - 8 - optlen - 20) { in main()
2039 …printf(stderr, "Error: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); in main()
2043 …intf(stderr, "WARNING: packet size %d is too large. Maximum is %d\n", datalen, 0xFFFF-8-20-optlen); in main()
2057 printf("%d(%d) bytes of data.\n", datalen, datalen+8+optlen+20); in main()