void zmtp1_print(netdissect_options *ndo, const u_char *cp, u_int len) { const u_char *ep = min(ndo->ndo_snapend, cp + len); ND_PRINT((ndo, ": ZMTP/1.0")); while (cp < ep) cp = zmtp1_print_frame(ndo, cp, ep); }
void zmtp1_print_datagram(netdissect_options *ndo, const u_char *cp, const u_int len) { const u_char *ep = min(ndo->ndo_snapend, cp + len); cp = zmtp1_print_intermediate_part(ndo, cp, len); while (cp < ep) cp = zmtp1_print_frame(ndo, cp, ep); }
void zmtp1_print(const u_char *cp, u_int len) { const u_char *ep = MIN(snapend, cp + len); printf(": ZMTP/1.0"); while (cp < ep) cp = zmtp1_print_frame(cp, ep); }