Home
last modified time | relevance | path

Searched refs:ND_BYTES_BETWEEN (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/tcpdump/
H A Dsmbutil.c252 return(ND_BYTES_BETWEEN(s0, s) + 1); in name_len()
335 u_int l = ND_BYTES_BETWEEN(fmt, p); in write_bits()
494 l = ND_BYTES_BETWEEN(fmt, p); in smb_fdata1()
744 ND_BYTES_BETWEEN(startbuf, buf), in smb_fdata1()
935 u_int len = ND_BYTES_BETWEEN(buf, maxbuf); in smb_fdata()
H A Dprint-smb.c416 ND_MIN(wct * 2, ND_BYTES_BETWEEN(words + 1, maxbuf))); in print_negprot()
426 ND_MIN(GET_LE_U_2(data), ND_BYTES_BETWEEN(data + 2, maxbuf))); in print_negprot()
457 ND_MIN(wct * 2, ND_BYTES_BETWEEN(words + 1, maxbuf))); in print_sesssetup()
467 ND_MIN(GET_LE_U_2(data), ND_BYTES_BETWEEN(data + 2, maxbuf))); in print_sesssetup()
502 ND_MIN(GET_LE_U_2(data), ND_BYTES_BETWEEN(data + 2, maxbuf))); in print_lockingandx()
875 ND_MIN(bcc, ND_BYTES_BETWEEN(data + 2, maxbuf))); in print_smb()
1199 ND_MIN(rdlen, length - ND_BYTES_BETWEEN(data, p))); in nbt_udp137_print()
H A Dprint-resp.c307 len = ND_BYTES_BETWEEN(bp, bp_ptr); in resp_print_string_error_integer()
432 len = ND_BYTES_BETWEEN(bp, bp_ptr); in resp_print_inline()
H A Dprint-lwres.c268 return ND_BYTES_BETWEEN(p0, p); in lwres_printaddr()
549 if (!unsupported && ND_BYTES_BETWEEN(bp, s) < GET_BE_U_4(np->length)) in lwres_print()
H A Dnetdissect.h388 #define ND_BYTES_BETWEEN(p1, p2) ((const u_char *)(p1) >= (const u_char *)(p2) ? 0 : ((u_int)(((con… macro
394 #define ND_BYTES_AVAILABLE_AFTER(p) ((const u_char *)(p) < ndo->ndo_packetp ? 0 : ND_BYTES_BETWEEN(…
H A Dprint-bgp.c2235 (len-ND_BYTES_BETWEEN(pptr, tptr)), 32); in bgp_attr_print()
2237 (len-ND_BYTES_BETWEEN(pptr, tptr)), 128); in bgp_attr_print()
2264 (len-ND_BYTES_BETWEEN(pptr, tptr)), 32); in bgp_attr_print()
2266 (len-ND_BYTES_BETWEEN(pptr, tptr)), 128); in bgp_attr_print()
H A Dprint-isoclns.c1126 if (length > ND_BYTES_BETWEEN(optr, pptr)) { in clnp_print()
1129 length - ND_BYTES_BETWEEN(optr, pptr)); in clnp_print()
H A DCHANGES70 Update ND_BYTES_BETWEEN() macro for better accuracy.