Searched refs:ND_MIN (Results 1 – 14 of 14) sorted by relevance
/external/tcpdump/ |
D | print-zeromq.c | 105 uint64_t body_len_printed = ND_MIN(body_len_captured, body_len_declared); in zmtp1_print_frame() 118 body_len_printed = ND_MIN(VBYTES + 1, body_len_printed); in zmtp1_print_frame() 142 const u_char *ep = ND_MIN(ndo->ndo_snapend, cp + len); in zmtp1_print() 190 u_int len_printed = ND_MIN(frame_offset, remaining_len); in zmtp1_print_intermediate_part() 193 len_printed = ND_MIN(VBYTES, len_printed); in zmtp1_print_intermediate_part() 209 const u_char *ep = ND_MIN(ndo->ndo_snapend, cp + len); in zmtp1_datagram_print()
|
D | print-smb.c | 359 ND_MIN(words + 1 + 2 * GET_U_1(words), maxbuf), in print_trans() 384 smb_fdata(ndo, param, f3, ND_MIN(param + paramlen, maxbuf), unicodestr); in print_trans() 386 smb_fdata(ndo, data, f4, ND_MIN(data + datalen, maxbuf), unicodestr); in print_trans() 414 smb_fdata(ndo, words + 1, f1, ND_MIN(words + 1 + wct * 2, maxbuf), in print_negprot() 417 smb_data_print(ndo, words + 1, ND_MIN(wct * 2, ND_BYTES_BETWEEN(maxbuf, words + 1))); in print_negprot() 423 smb_fdata(ndo, data + 2, f2, ND_MIN(data + 2 + GET_LE_U_2(data), in print_negprot() 427 ND_MIN(GET_LE_U_2(data), ND_BYTES_BETWEEN(maxbuf, data + 2))); in print_negprot() 454 smb_fdata(ndo, words + 1, f1, ND_MIN(words + 1 + wct * 2, maxbuf), in print_sesssetup() 457 smb_data_print(ndo, words + 1, ND_MIN(wct * 2, ND_BYTES_BETWEEN(maxbuf, words + 1))); in print_sesssetup() 463 smb_fdata(ndo, data + 2, f2, ND_MIN(data + 2 + GET_LE_U_2(data), in print_sesssetup() [all …]
|
D | print-pptp.c | 644 ND_MIN(64, GET_BE_U_2(ptr->phone_no_len))); in pptp_ocrq_print() 680 ND_MIN(64, GET_BE_U_2(ptr->dialed_no_len))); in pptp_icrq_print() 684 ND_MIN(64, GET_BE_U_2(ptr->dialing_no_len))); in pptp_icrq_print()
|
D | print-igrp.c | 76 metric = ND_MIN(bandwidth + delay, 0xffffff); in igrp_entry_print()
|
D | print-decnet.c | 518 ND_DEFAULTPRINT(ap, ND_MIN(length, caplen)); in decnet_print() 553 ND_DEFAULTPRINT((const u_char *)ap, ND_MIN(length, caplen)); in decnet_print() 689 ND_DEFAULTPRINT((const u_char *)rhp, ND_MIN(length, caplen)); in print_decnet_ctlmsg()
|
D | print-mptcp.c | 479 subtype = ND_MIN(subtype, MPTCP_SUB_FCLOSE + 1); in mptcp_print()
|
D | print-olsr.c | 341 length = ND_MIN(length, GET_BE_U_2(ptr.common->packet_len)); in olsr_print()
|
D | print-dhcp6.c | 425 ndo->ndo_snapend = ND_MIN(tp + optlen, ndo->ndo_snapend); in dhcp6opt_print()
|
D | print-icmp.c | 688 ndo->ndo_snapend = ND_MIN(bp + GET_BE_U_2(ip->ip_len), in icmp_print()
|
D | print-rx.c | 954 i = ND_MIN(AFSOPAQUEMAX, i); in fs_print() 1088 i = ND_MIN(AFSOPAQUEMAX, i); in fs_reply_print()
|
D | smbutil.c | 318 n = ND_MIN(8, i % 16); in smb_data_print()
|
D | netdissect.h | 306 #define ND_MIN(a,b) ((a)>(b)?(b):(a)) macro
|
D | print-tcp.c | 632 ndo->ndo_snapend = ND_MIN(cp - 2 + len, in tcp_print()
|
D | print-openflow-1.0.c | 1030 ndo->ndo_snapend = ND_MIN(cp + len, ndo->ndo_snapend); in of10_packet_data_print()
|