/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-tcp.c | 58 static int tcp_verify_signature(netdissect_options *ndo, 64 static void print_tcp_fastopen_option(netdissect_options *ndo, register const u_char *cp, 140 tcp_cksum(netdissect_options *ndo, argument 145 return nextproto4_cksum(ndo, ip, (const uint8_t *)tp, len, len, 150 tcp6_cksum(netdissect_options *ndo, argument 155 return nextproto6_cksum(ndo, ip6, (const uint8_t *)tp, len, len, 160 tcp_print(netdissect_options *ndo, argument 184 ND_PRINT((ndo, "%s > %s: [|tcp]", 185 ipaddr_string(ndo, &ip->ip_src), 186 ipaddr_string(ndo, 795 print_tcp_rst_data(netdissect_options *ndo, register const u_char *sp, u_int length) argument 814 print_tcp_fastopen_option(netdissect_options *ndo, register const u_char *cp, u_int datalen, int exp) argument 840 tcp_verify_signature(netdissect_options *ndo, const struct ip *ip, const struct tcphdr *tp, const u_char *data, int length, const u_char *rcvsig) argument [all...] |
H A D | print-cip.c | 45 cip_print(netdissect_options *ndo, u_int length) argument 50 ND_PRINT((ndo, "%u: ", length)); 60 cip_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument 73 if (ndo->ndo_eflag) 74 cip_print(ndo, length); 77 ND_PRINT((ndo, "[|cip]")); 84 llc_hdrlen = llc_print(ndo, p, length, caplen, NULL, NULL); 87 if (!ndo->ndo_suppress_default_print) 96 ip_print(ndo, p, length);
|
H A D | print-pktap.c | 71 pktap_header_print(netdissect_options *ndo, const u_char *bp, u_int length) argument 82 if (!ndo->ndo_qflag) { 83 ND_PRINT((ndo,"DLT %s (%d) len %d", 86 ND_PRINT((ndo,"%s", (dltname != NULL ? dltname : "UNKNOWN"))); 89 ND_PRINT((ndo, ", length %u: ", length)); 99 pktap_if_print(netdissect_options *ndo, argument 110 ND_PRINT((ndo, "[|pktap]")); 124 ND_PRINT((ndo, "[|pktap]")); 128 ND_PRINT((ndo, "[|pktap]")); 132 if (ndo [all...] |
H A D | print-mptcp.c | 169 dummy_print(netdissect_options *ndo _U_, 176 mp_capable_print(netdissect_options *ndo, argument 186 ND_PRINT((ndo, " Unknown Version (%d)", MP_CAPABLE_OPT_VERSION(mpc->sub_ver))); 191 ND_PRINT((ndo, " csum")); 192 ND_PRINT((ndo, " {0x%" PRIx64, EXTRACT_64BITS(mpc->sender_key))); 194 ND_PRINT((ndo, ",0x%" PRIx64, EXTRACT_64BITS(mpc->receiver_key))); 195 ND_PRINT((ndo, "}")); 200 mp_join_print(netdissect_options *ndo, argument 212 ND_PRINT((ndo, " backup")); 213 ND_PRINT((ndo, " i 240 mp_dss_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags) argument 329 add_addr_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 359 remove_addr_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 376 mp_prio_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 395 mp_fail_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 406 mp_fast_close_print(netdissect_options *ndo, const u_char *opt, u_int opt_len, u_char flags _U_) argument 432 mptcp_print(netdissect_options *ndo, const u_char *cp, u_int len, u_char flags) argument [all...] |
H A D | print-ascii.c | 58 ascii_print(netdissect_options *ndo, argument 64 caplength = (ndo->ndo_snapend >= cp) ? ndo->ndo_snapend - cp : 0; 67 ND_PRINT((ndo, "\n")); 82 ND_PRINT((ndo, ".")); 86 ND_PRINT((ndo, ".")); 88 ND_PRINT((ndo, "%c", s)); 94 hex_and_ascii_print_with_offset(netdissect_options *ndo, register const char *ident, argument 104 caplength = (ndo->ndo_snapend >= cp) ? ndo 145 hex_and_ascii_print(netdissect_options *ndo, register const char *ident, register const u_char *cp, register u_int length) argument 155 hex_print_with_offset(netdissect_options *ndo, const char *ident, const u_char *cp, u_int length, u_int oset) argument 187 hex_print(netdissect_options *ndo,const char *ident, const u_char *cp, u_int length) argument [all...] |
H A D | print-atm.c | 220 atm_llc_print(netdissect_options *ndo, argument 225 llc_hdrlen = llc_print(ndo, p, length, caplen, NULL, NULL); 228 if (!ndo->ndo_suppress_default_print) 248 atm_if_print(netdissect_options *ndo, argument 257 ND_PRINT((ndo, "%s", tstr)); 263 if (ndo->ndo_eflag) 264 ND_PRINT((ndo, "CNLPID ")); 265 isoclns_print(ndo, p + 1, length - 1); 274 ND_PRINT((ndo, "%s", tstr)); 306 ND_PRINT((ndo, " 347 sig_print(netdissect_options *ndo, const u_char *p) argument 385 atm_print(netdissect_options *ndo, u_int vpi, u_int vci, u_int traftype, const u_char *p, u_int length, u_int caplen) argument 450 oam_print(netdissect_options *ndo, const u_char *p, u_int length, u_int hec) argument [all...] |
H A D | print-juniper.c | 454 juniper_ggsn_print(netdissect_options *ndo, argument 469 if (juniper_parse_header(ndo, p, h, &l2info) == 0) 476 if (ndo->ndo_eflag) { 477 ND_PRINT((ndo, "proto %s (%u), vlan %u: ", 485 ip_print(ndo, p, l2info.length); 488 ip6_print(ndo, p, l2info.length); 491 if (!ndo->ndo_eflag) 492 ND_PRINT((ndo, "unknown GGSN proto (%u)", gh->proto)); 498 ND_PRINT((ndo, "[|juniper_services]")); 505 juniper_es_print(netdissect_options *ndo, argument 582 juniper_monitor_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 621 juniper_services_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 661 juniper_pppoe_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 679 juniper_ether_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 697 juniper_ppp_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 715 juniper_frelay_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 733 juniper_chdlc_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 751 juniper_pppoe_atm_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 785 juniper_mlppp_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 845 juniper_mfr_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 907 juniper_mlfr_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 950 juniper_atm1_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 1004 juniper_atm2_print(netdissect_options *ndo, const struct pcap_pkthdr *h, register const u_char *p) argument 1061 juniper_ppp_heuristic_guess(netdissect_options *ndo, register const u_char *p, u_int length) argument 1089 ip_heuristic_guess(netdissect_options *ndo, register const u_char *p, u_int length) argument 1179 juniper_parse_header(netdissect_options *ndo, const u_char *p, const struct pcap_pkthdr *h, struct juniper_l2info_t *l2info) argument [all...] |
H A D | print-decnet.c | 486 decnet_print(netdissect_options *ndo, argument 497 ND_PRINT((ndo, "%s", tstr)); 504 ND_PRINT((ndo, "%s", tstr)); 508 ND_PRINT((ndo, "%s", tstr)); 520 if (ndo->ndo_vflag) 521 ND_PRINT((ndo, "[pad:%d] ", padlen)); 523 ND_PRINT((ndo, "%s", tstr)); 536 ND_PRINT((ndo, "future-version-decnet")); 543 if (!print_decnet_ctlmsg(ndo, rhp, length, caplen)) 551 ND_PRINT((ndo, " 599 print_decnet_ctlmsg(netdissect_options *ndo, register const union routehdr *rhp, u_int length, u_int caplen) argument 735 print_t_info(netdissect_options *ndo, int info) argument 752 print_l1_routes(netdissect_options *ndo, const char *rp, u_int len) argument 783 print_l2_routes(netdissect_options *ndo, const char *rp, u_int len) argument 814 print_i_info(netdissect_options *ndo, int info) argument 840 print_nsp(netdissect_options *ndo, const u_char *nspp, u_int nsplen) argument 1221 print_reason(netdissect_options *ndo, register int reason) argument 1228 dnnum_string(netdissect_options *ndo, u_short dnaddr) argument [all...] |
H A D | print-bootp.c | 283 bootp_print(netdissect_options *ndo, argument 293 ND_PRINT((ndo, "BOOTP/DHCP, %s", 299 ND_PRINT((ndo, " from %s", etheraddr_string(ndo, bp->bp_chaddr))); 302 ND_PRINT((ndo, ", length %u", length)); 304 if (!ndo->ndo_vflag) 311 ND_PRINT((ndo, ", htype %d", bp->bp_htype)); 315 ND_PRINT((ndo, ", hlen %d", bp->bp_hlen)); 319 ND_PRINT((ndo, ", hops %d", bp->bp_hops)); 321 ND_PRINT((ndo, ", xi 596 rfc1048_print(netdissect_options *ndo, register const u_char *bp) argument 1047 cmu_print(netdissect_options *ndo, register const u_char *bp) argument [all...] |
H A D | print-lspping.c | 489 lspping_print(netdissect_options *ndo, argument 534 ND_PRINT((ndo, "LSP-PING version %u packet not supported", 540 if (ndo->ndo_vflag < 1) { 541 ND_PRINT((ndo, "LSP-PINGv%u, %s, seq %u, length: %u", 553 ND_PRINT((ndo, "\n\tLSP-PINGv%u, msg-type: %s (%u), length: %u\n\t reply-mode: %s (%u)", 571 ND_PRINT((ndo, "\n\t Return Code: %s %u (%u)\n\t Return Subcode: (%u)", 577 ND_PRINT((ndo, "\n\t Return Code: %s (%u)\n\t Return Subcode: (%u)", 582 ND_PRINT((ndo, "\n\t Sender Handle: 0x%08x, Sequence: %u", 588 ND_PRINT((ndo, "\n\t Sender Timestamp: ")); 589 ts_print(ndo, [all...] |
H A D | print-sunrpc.c | 168 sunrpcrequest_print(netdissect_options *ndo, register const u_char *bp, argument 179 if (!ndo->ndo_nflag) { 192 ND_PRINT((ndo, "%s.%s > %s.%s: %d", 193 ipaddr_string(ndo, &ip->ip_src), srcid, 194 ipaddr_string(ndo, &ip->ip_dst), dstid, length)); 198 ND_PRINT((ndo, "%s.%s > %s.%s: %d", 199 ip6addr_string(ndo, &ip6->ip6_src), srcid, 200 ip6addr_string(ndo, &ip6->ip6_dst), dstid, length)); 203 ND_PRINT((ndo, "%s.%s > %s.%s: %d", "?", srcid, "?", dstid, length)); 207 ND_PRINT((ndo, " [all...] |
H A D | print-esp.c | 185 int esp_print_decrypt_buffer_by_ikev2(netdissect_options *ndo, argument 201 for (sa = ndo->ndo_sa_list_head; sa != NULL; sa = sa->next) { 227 (*ndo->ndo_warning)(ndo, "espkey init failed"); 244 (*ndo->ndo_error)(ndo, "can't allocate memory for encrypted data buffer"); 260 (*ndo->ndo_error)(ndo, "can't allocate memory for decryption buffer"); 273 ndo->ndo_packetp = buf; 274 ndo 280 esp_print_addsa(netdissect_options *ndo, struct sa_list *sa, int sa_def) argument 301 hexdigit(netdissect_options *ndo, char hex) argument 314 hex2byte(netdissect_options *ndo, char *hexstring) argument 326 espprint_decode_hex(netdissect_options *ndo, u_char *binbuf, unsigned int binbuf_len, char *hex) argument 356 espprint_decode_encalgo(netdissect_options *ndo, char *decode, struct sa_list *sa) argument 425 espprint_decode_authalgo(netdissect_options *ndo, char *decode, struct sa_list *sa) argument 444 esp_print_decode_ikeline(netdissect_options *ndo, char *line, const char *file, int lineno) argument 508 esp_print_decode_onesecret(netdissect_options *ndo, char *line, const char *file, int lineno) argument 624 esp_print_decodesecret(netdissect_options *ndo) argument 656 esp_print(netdissect_options *ndo, const u_char *bp, const int length, const u_char *bp2 _U_ , int *nhdr _U_ , int *padlen _U_ ) argument [all...] |
H A D | print-rsvp.c | 491 rsvp_intserv_print(netdissect_options *ndo, argument 507 ND_PRINT((ndo, "\n\t Parameter ID: %s (%u), length: %u, Flags: [0x%02x]", 527 ND_PRINT((ndo, "\n\t\tIS hop count: %u", EXTRACT_32BITS(tptr + 4))); 542 ND_PRINT((ndo, "\n\t\tPath b/w estimate: %.10g Mbps", bw.f / 125000)); 556 ND_PRINT((ndo, "\n\t\tMinimum path latency: ")); 558 ND_PRINT((ndo, "don't care")); 560 ND_PRINT((ndo, "%u", EXTRACT_32BITS(tptr + 4))); 575 ND_PRINT((ndo, "\n\t\tComposed MTU: %u bytes", EXTRACT_32BITS(tptr + 4))); 598 ND_PRINT((ndo, "\n\t\tToken Bucket Rate: %.10g Mbps", bw.f / 125000)); 600 ND_PRINT((ndo, "\ 661 rsvp_obj_print(netdissect_options *ndo, const u_char *pptr, u_int plen, const u_char *tptr, const char *ident, u_int tlen, const struct rsvp_common_header *rsvp_com_header) argument 1849 rsvp_print(netdissect_options *ndo, register const u_char *pptr, register u_int len) argument [all...] |
H A D | print-zephyr.c | 86 parse_field(netdissect_options *ndo, const char **pptr, int *len, int *truncated) argument 145 zephyr_print(netdissect_options *ndo, const u_char *cp, int length) argument 164 s = parse_field(ndo, &parse, &parselen, &truncated); \ 201 ND_PRINT((ndo, " zephyr")); 203 ND_PRINT((ndo, " v%s", z.version+4)); 207 ND_PRINT((ndo, " %s", tok2str(z_types, "type %d", z.kind))); 213 ND_PRINT((ndo, "/%s", str_to_lower(ackdata))); 215 if (*z.sender) ND_PRINT((ndo, " %s", z.sender)); 219 ND_PRINT((ndo, " hide")); 221 ND_PRINT((ndo, " unhid [all...] |
H A D | print-bgp.c | 518 as_printf(netdissect_options *ndo, argument 521 if (!ndo->ndo_bflag || asnum <= 0xFFFF) { 532 decode_prefix4(netdissect_options *ndo, argument 554 snprintf(buf, buflen, "%s/%d", ipaddr_string(ndo, &addr), plen); 565 decode_labeled_prefix4(netdissect_options *ndo, argument 604 ipaddr_string(ndo, &addr), 624 bgp_vpn_ip_print(netdissect_options *ndo, argument 635 snprintf(pos, sizeof(addr), "%s", ipaddr_string(ndo, pptr)); 639 snprintf(pos, sizeof(addr), "%s", ip6addr_string(ndo, pptr)); 671 bgp_vpn_sg_print(netdissect_options *ndo, argument 715 bgp_vpn_rd_print(netdissect_options *ndo, const u_char *pptr) argument 756 decode_rt_routing_info(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 812 decode_labeled_vpn_prefix4(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 863 decode_mdt_vpn_nlri(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 920 decode_multicast_vpn(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1027 decode_labeled_vpn_l2(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1119 decode_prefix6(netdissect_options *ndo, const u_char *pd, u_int itemlen, char *buf, u_int buflen) argument 1152 decode_labeled_prefix6(netdissect_options *ndo, const u_char *pptr, u_int itemlen, char *buf, u_int buflen) argument 1197 decode_labeled_vpn_prefix6(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1236 decode_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1266 decode_labeled_vpn_clnp_prefix(netdissect_options *ndo, const u_char *pptr, char *buf, u_int buflen) argument 1312 bgp_attr_get_as_size(netdissect_options *ndo, uint8_t bgpa_type, const u_char *pptr, int len) argument 1363 bgp_attr_print(netdissect_options *ndo, u_int atype, const u_char *pptr, u_int len, const unsigned attr_set_level) argument 2338 bgp_capabilities_print(netdissect_options *ndo, const u_char *opt, int caps_len) argument 2444 bgp_open_print(netdissect_options *ndo, const u_char *dat, int length) argument 2507 bgp_update_print(netdissect_options *ndo, const u_char *dat, int length) argument 2644 bgp_notification_print(netdissect_options *ndo, const u_char *dat, int length) argument 2725 bgp_route_refresh_print(netdissect_options *ndo, const u_char *pptr, int len) argument 2759 bgp_header_print(netdissect_options *ndo, const u_char *dat, int length) argument 2800 bgp_print(netdissect_options *ndo, const u_char *dat, int length) argument [all...] |
H A D | print-sctp.c | 493 void sctp_print(netdissect_options *ndo, argument 510 ND_PRINT((ndo, "truncated-sctp - %ld bytes missing!", 528 ND_PRINT((ndo, "%s.%d > %s.%d: sctp", 529 ip6addr_string(ndo, &ip6->ip6_src), 531 ip6addr_string(ndo, &ip6->ip6_dst), 535 ND_PRINT((ndo, "%s.%d > %s.%d: sctp", 536 ipaddr_string(ndo, &ip->ip_src), 538 ipaddr_string(ndo, &ip->ip_dst), 543 ND_PRINT((ndo, "[%s]", tok2str(ForCES_channels, NULL, sourcePort))); 547 ND_PRINT((ndo, "[ [all...] |
H A D | print-openflow-1.0.c | 720 of10_bitmap_print(netdissect_options *ndo, argument 730 ND_PRINT((ndo, "%s%s", sep, t->s)); 734 ND_PRINT((ndo, v & u ? ") (bogus)" : ")")); 738 of10_data_print(netdissect_options *ndo, argument 744 ND_PRINT((ndo, "\n\t data (%u octets)", len)); 746 if (ndo->ndo_vflag >= 2) 747 hex_and_ascii_print(ndo, "\n\t ", cp, len); 751 ND_PRINT((ndo, "%s", tstr)); 756 of10_bsn_message_print(netdissect_options *ndo, argument 768 ND_PRINT((ndo, "\ 961 of10_bsn_actions_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1035 of10_vendor_action_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1064 of10_vendor_message_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1094 of10_vendor_data_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1119 of10_packet_data_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1142 of10_phy_ports_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 1217 of10_queue_props_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 1293 of10_queues_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 1341 of10_match_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep) argument 1445 of10_actions_print(netdissect_options *ndo, const char *pfx, const u_char *cp, const u_char *ep, u_int len) argument 1612 of10_features_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1650 of10_flow_mod_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1708 of10_port_mod_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 1745 of10_stats_request_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 1829 of10_desc_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1876 of10_flow_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 1957 of10_aggregate_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 1990 of10_table_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 2049 of10_port_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 2134 of10_queue_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, u_int len) argument 2182 of10_stats_reply_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 2222 of10_packet_out_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 2260 of10_packet_in_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 2293 of10_flow_removed_print(netdissect_options *ndo, const u_char *cp, const u_char *ep) argument 2347 of10_error_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const u_int len) argument 2379 of10_header_body_print(netdissect_options *ndo, const u_char *cp, const u_char *ep, const uint8_t type, const uint16_t len, const uint32_t xid) argument [all...] |
H A D | print-radius.c | 78 ND_PRINT((ndo, "%02X", *ptr_data )); \ 488 print_attr_string(netdissect_options *ndo, argument 501 ND_PRINT((ndo, "Tag[%u] ", *data)); 503 ND_PRINT((ndo, "Tag[Unused] ")); 506 ND_PRINT((ndo, "Salt %u ", EXTRACT_16BITS(data))); 521 ND_PRINT((ndo, "Tag[%u] ", *data)); 523 ND_PRINT((ndo, "Tag[Unused] ")); 531 ND_PRINT((ndo, "%s (0x%02x) ", 540 ND_PRINT((ndo, "%c", (*data < 32 || *data > 126) ? '.' : *data)); 545 ND_PRINT((ndo, " 552 print_vendor_attr(netdissect_options *ndo, register const u_char *data, u_int length, u_short attr_code _U_) argument 617 print_attr_num(netdissect_options *ndo, register const u_char *data, u_int length, u_short attr_code) argument 740 print_attr_address(netdissect_options *ndo, register const u_char *data, u_int length, u_short attr_code) argument 784 print_attr_time(netdissect_options *ndo, register const u_char *data, u_int length, u_short attr_code _U_) argument 817 print_attr_strange(netdissect_options *ndo, register const u_char *data, u_int length, u_short attr_code) argument 888 radius_attrs_print(netdissect_options *ndo, register const u_char *attr, u_int length) argument 949 radius_print(netdissect_options *ndo, const u_char *dat, u_int length) argument [all...] |
H A D | print-enc.c | 84 ND_PRINT((ndo, "%s%s", nam, (wh) == (xf) ? "): " : ",")); \ 89 enc_if_print(netdissect_options *ndo, argument 98 ND_PRINT((ndo, "[|enc]")); 105 ND_PRINT((ndo, "(unprotected): ")); 107 ND_PRINT((ndo, "(")); 111 ND_PRINT((ndo, "SPI 0x%08x: ", EXTRACT_32BITS(&hdr->spi))); 119 ip_print(ndo, p, length); 123 ip6_print(ndo, p, length);
|
H A D | print-rtsp.c | 44 rtsp_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 46 txtproto_print(ndo, pptr, len, "rtsp", rtspcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-http.c | 74 http_print(netdissect_options *ndo, const u_char *pptr, u_int len) argument 76 txtproto_print(ndo, pptr, len, "http", httpcmds, RESP_CODE_SECOND_TOKEN);
|
H A D | print-lane.c | 70 lane_hdr_print(netdissect_options *ndo, const u_char *bp) argument 72 ND_PRINT((ndo, "lecid:%x ", EXTRACT_16BITS(bp))); 84 lane_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen) argument 89 ND_PRINT((ndo, "[|lane]")); 98 ND_PRINT((ndo, "lec: proto %x vers %x %s", 115 ether_print(ndo, p, length, caplen, lane_hdr_print, p - 2); 119 lane_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument 121 lane_print(ndo, p, h->len, h->caplen);
|
H A D | print-bt.c | 42 bt_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument 49 ND_PRINT((ndo, "[|bt]")); 55 if (ndo->ndo_eflag) 56 ND_PRINT((ndo, "hci length %d, direction %s, ", length, (EXTRACT_32BITS(&hdr->direction)&0x1)?"in":"out")); 58 if (!ndo->ndo_suppress_default_print)
|
H A D | print-sunatm.c | 66 sunatm_if_print(netdissect_options *ndo, argument 76 ND_PRINT((ndo, "[|atm]")); 80 if (ndo->ndo_eflag) { 81 ND_PRINT((ndo, p[DIR_POS] & 0x80 ? "Tx: " : "Rx: ")); 105 atm_print(ndo, vpi, vci, traftype, p, length, caplen);
|
H A D | print-802_11.c | 404 ND_PRINT((ndo, " (")); \ 405 fn_print(ndo, p.ssid.ssid, NULL); \ 406 ND_PRINT((ndo, ")")); \ 410 ND_PRINT((ndo, "%s%2.1f%s", _sep, (.5 * ((_r) & 0x7f)), _suf)) 421 ND_PRINT((ndo, " Mbit]")); \ 426 ND_PRINT((ndo, " CH: %u", p.ds.channel)); \ 427 ND_PRINT((ndo, "%s", \ 982 wep_print(netdissect_options *ndo, argument 991 ND_PRINT((ndo, " IV:%3x Pad %x KeyID %x", IV_IV(iv), IV_PAD(iv), 998 parse_elements(netdissect_options *ndo, argument 1215 handle_beacon(netdissect_options *ndo, const u_char *p, u_int length) argument 1252 handle_assoc_request(netdissect_options *ndo, const u_char *p, u_int length) argument 1280 handle_assoc_response(netdissect_options *ndo, const u_char *p, u_int length) argument 1317 handle_reassoc_request(netdissect_options *ndo, const u_char *p, u_int length) argument 1351 handle_reassoc_response(netdissect_options *ndo, const u_char *p, u_int length) argument 1359 handle_probe_request(netdissect_options *ndo, const u_char *p, u_int length) argument 1377 handle_probe_response(netdissect_options *ndo, const u_char *p, u_int length) argument 1419 handle_disassoc(netdissect_options *ndo, const u_char *p, u_int length) argument 1441 handle_auth(netdissect_options *ndo, const u_char *p, u_int length) argument 1495 handle_deauth(netdissect_options *ndo, const uint8_t *src, const u_char *p, u_int length) argument 1580 handle_action(netdissect_options *ndo, const uint8_t *src, const u_char *p, u_int length) argument 1620 mgmt_body_print(netdissect_options *ndo, uint16_t fc, const uint8_t *src, const u_char *p, u_int length) argument 1664 ctrl_body_print(netdissect_options *ndo, uint16_t fc, const u_char *p) argument 1800 data_header_print(netdissect_options *ndo, uint16_t fc, const u_char *p) argument 1851 mgmt_header_print(netdissect_options *ndo, const u_char *p) argument 1861 ctrl_header_print(netdissect_options *ndo, uint16_t fc, const u_char *p) argument 1910 extract_header_length(netdissect_options *ndo, uint16_t fc) argument 1963 ieee_802_11_hdr_print(netdissect_options *ndo, uint16_t fc, const u_char *p, u_int hdrlen, u_int meshdrlen) argument 2023 ieee802_11_print(netdissect_options *ndo, const u_char *p, u_int length, u_int orig_caplen, int pad, u_int fcslen) argument 2141 ieee802_11_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument 2515 print_chaninfo(netdissect_options *ndo, uint16_t freq, int flags, int presentflags) argument 2561 print_radiotap_field(netdissect_options *ndo, struct cpack_state *s, uint32_t bit, uint8_t *flagsp, uint32_t presentflags) argument 3031 print_in_radiotap_namespace(netdissect_options *ndo, struct cpack_state *s, uint8_t *flags, uint32_t presentflags, int bit0) argument 3079 ieee802_11_radio_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen) argument 3281 ieee802_11_avs_radio_print(netdissect_options *ndo, const u_char *p, u_int length, u_int caplen) argument 3331 prism_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument 3362 ieee802_11_radio_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument 3374 ieee802_11_radio_avs_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_char *p) argument [all...] |