Lines Matching refs:nsplen
510 u_int nsplen, pktlen; in decnet_print() local
577 nsplen = length - sizeof(struct longhdr); in decnet_print()
585 nsplen = length - sizeof(struct shorthdr); in decnet_print()
605 if (!print_nsp(ndo, nspp, nsplen)) in decnet_print()
856 const u_char *nspp, u_int nsplen) in print_nsp() argument
861 if (nsplen < sizeof(struct nsphdr)) in print_nsp()
884 if (nsplen < data_off) in print_nsp()
894 if (nsplen < data_off) in print_nsp()
904 if (nsplen < data_off) in print_nsp()
912 if (nsplen > data_off) { in print_nsp()
914 ND_TCHECK2(*dp, nsplen - data_off); in print_nsp()
915 pdata(ndo, dp, nsplen - data_off); in print_nsp()
930 if (nsplen < data_off) in print_nsp()
940 if (nsplen < data_off) in print_nsp()
950 if (nsplen < data_off) in print_nsp()
958 if (nsplen > data_off) { in print_nsp()
960 ND_TCHECK2(*dp, nsplen - data_off); in print_nsp()
961 pdata(ndo, dp, nsplen - data_off); in print_nsp()
975 if (nsplen < sizeof(struct seghdr) + sizeof(struct lsmsg)) in print_nsp()
1038 if (nsplen < sizeof(struct ackmsg)) in print_nsp()
1063 if (nsplen < sizeof(struct ackmsg)) in print_nsp()
1107 if (nsplen < sizeof(struct cimsg)) in print_nsp()
1143 if (nsplen > sizeof(struct cimsg)) { in print_nsp()
1145 ND_TCHECK2(*dp, nsplen - sizeof(struct cimsg)); in print_nsp()
1146 pdata(ndo, dp, nsplen - sizeof(struct cimsg)); in print_nsp()
1161 if (nsplen < sizeof(struct ccmsg)) in print_nsp()
1200 if (optlen > nsplen - sizeof(struct ccmsg)) in print_nsp()
1219 if (nsplen < sizeof(struct dimsg)) in print_nsp()
1229 if (optlen > nsplen - sizeof(struct dimsg)) in print_nsp()