Home
last modified time | relevance | path

Searched refs:ND_MIN (Results 1 – 14 of 14) sorted by relevance

/external/tcpdump/
Dprint-zeromq.c105 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()
Dprint-smb.c359 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 …]
Dprint-pptp.c644 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()
Dprint-igrp.c76 metric = ND_MIN(bandwidth + delay, 0xffffff); in igrp_entry_print()
Dprint-decnet.c518 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()
Dprint-mptcp.c479 subtype = ND_MIN(subtype, MPTCP_SUB_FCLOSE + 1); in mptcp_print()
Dprint-olsr.c341 length = ND_MIN(length, GET_BE_U_2(ptr.common->packet_len)); in olsr_print()
Dprint-dhcp6.c425 ndo->ndo_snapend = ND_MIN(tp + optlen, ndo->ndo_snapend); in dhcp6opt_print()
Dprint-icmp.c688 ndo->ndo_snapend = ND_MIN(bp + GET_BE_U_2(ip->ip_len), in icmp_print()
Dprint-rx.c954 i = ND_MIN(AFSOPAQUEMAX, i); in fs_print()
1088 i = ND_MIN(AFSOPAQUEMAX, i); in fs_reply_print()
Dsmbutil.c318 n = ND_MIN(8, i % 16); in smb_data_print()
Dnetdissect.h306 #define ND_MIN(a,b) ((a)>(b)?(b):(a)) macro
Dprint-tcp.c632 ndo->ndo_snapend = ND_MIN(cp - 2 + len, in tcp_print()
Dprint-openflow-1.0.c1030 ndo->ndo_snapend = ND_MIN(cp + len, ndo->ndo_snapend); in of10_packet_data_print()