• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/tcpdump-61/tcpdump/

Lines Matching defs:up

109 vat_print(const void *hdr, register const struct udphdr *up)
116 (u_int32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up)),
123 (u_int32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8),
135 rtp_print(const void *hdr, u_int len, register const struct udphdr *up)
142 u_int dlen = EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8;
237 printf(" @%.2f %u %up %ub", ts, EXTRACT_32BITS(&sr->sr_ts),
286 register const struct udphdr *up,
289 return (nextproto4_cksum(ip, (const u_int8_t *)(void *)up, len,
294 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up,
297 return (nextproto6_cksum(ip6, (const u_int8_t *)(void *)up, len,
362 register const struct udphdr *up;
373 up = (struct udphdr *)bp;
381 cp = (u_char *)(up + 1);
382 if (!TTEST(up->uh_dport)) {
388 sport = EXTRACT_16BITS(&up->uh_sport);
389 dport = EXTRACT_16BITS(&up->uh_dport);
404 ulen = EXTRACT_16BITS(&up->uh_ulen);
418 vat_print((void *)(up + 1), up);
423 wb_print((void *)(up + 1), length);
427 rp = (struct sunrpc_msg *)(up + 1);
439 rtp_print((void *)(up + 1), length, up);
450 snmp_print((const u_char *)(up + 1), length);
465 aodv_print((const u_char *)(up + 1), length,
480 vxlan_print((const u_char *)(up + 1), length);
490 rp = (struct sunrpc_msg *)(up + 1);
530 udp_sum = EXTRACT_16BITS(&up->uh_sum);
534 sum = udp_cksum(ip, up, length + sizeof(struct udphdr));
548 sum = udp6_cksum(ip6, up, length + sizeof(struct udphdr));
549 udp_sum = EXTRACT_16BITS(&up->uh_sum);
565 ns_print((const u_char *)(up + 1), length, 0);
567 ns_print((const u_char *)(up + 1), length, 1);
569 timed_print((const u_char *)(up + 1));
571 tftp_print((const u_char *)(up + 1), length);
573 bootp_print((const u_char *)(up + 1), length);
575 rip_print((const u_char *)(up + 1), length);
577 aodv_print((const u_char *)(up + 1), length,
584 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
586 isakmp_rfc3948_print(gndo, (const u_char *)(up + 1), length, bp2);
589 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
592 snmp_print((const u_char *)(up + 1), length);
594 ntp_print((const u_char *)(up + 1), length);
596 krb_print((const void *)(up + 1));
598 l2tp_print((const u_char *)(up + 1), length);
601 nbt_udp137_print((const u_char *)(up + 1), length);
603 nbt_udp138_print((const u_char *)(up + 1), length);
606 vat_print((const void *)(up + 1), up);
608 zephyr_print((const void *)(up + 1), length);
615 rx_print((const void *)(up + 1), length, sport, dport,
619 ripng_print((const u_char *)(up + 1), length);
621 dhcp6_print((const u_char *)(up + 1), length);
623 babel_print((const u_char *)(up + 1), length);
629 wb_print((const void *)(up + 1), length);
631 cisco_autorp_print((const void *)(up + 1), length);
636 radius_print((const u_char *)(up+1), length);
638 hsrp_print((const u_char *)(up + 1), length);
640 lwres_print((const u_char *)(up + 1), length);
642 ldp_print((const u_char *)(up + 1), length);
644 olsr_print((const u_char *)(up + 1), length,
651 lspping_print((const u_char *)(up + 1), length);
654 bfd_print((const u_char *)(up+1), length, dport);
656 lmp_print((const u_char *)(up + 1), length);
658 vqp_print((const u_char *)(up + 1), length);
660 sflow_print((const u_char *)(up + 1), length);
662 lwapp_control_print((const u_char *)(up + 1), length, 1);
664 lwapp_control_print((const u_char *)(up + 1), length, 0);
666 lwapp_data_print((const u_char *)(up + 1), length);
668 sip_print((const u_char *)(up + 1), length);
670 syslog_print((const u_char *)(up + 1), length);
672 otv_print((const u_char *)(up + 1), length);
675 (u_int32_t)(ulen - sizeof(*up)));
678 (void)printf("UDP, length %u", (u_int32_t)(ulen - sizeof(*up)));