Lines Matching refs:up
111 vat_print(const void *hdr, register const struct udphdr *up)
118 (u_int32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up)),
125 (u_int32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8),
137 rtp_print(const void *hdr, u_int len, register const struct udphdr *up)
144 u_int dlen = EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8;
239 printf(" @%.2f %u %up %ub", ts, EXTRACT_32BITS(&sr->sr_ts),
288 register const struct udphdr *up,
314 return in_cksum((u_short *)up, len,
319 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up,
347 sp = (const u_int16_t *)up;
423 register const struct udphdr *up;
434 up = (struct udphdr *)bp;
442 cp = (u_char *)(up + 1);
443 if (!TTEST(up->uh_dport)) {
449 sport = EXTRACT_16BITS(&up->uh_sport);
450 dport = EXTRACT_16BITS(&up->uh_dport);
465 ulen = EXTRACT_16BITS(&up->uh_ulen);
479 vat_print((void *)(up + 1), up);
484 wb_print((void *)(up + 1), length);
488 rp = (struct sunrpc_msg *)(up + 1);
500 rtp_print((void *)(up + 1), length, up);
511 snmp_print((const u_char *)(up + 1), length);
526 aodv_print((const u_char *)(up + 1), length,
541 rp = (struct sunrpc_msg *)(up + 1);
573 int sum = up->uh_sum;
577 sum = udp_cksum(ip, up, length + sizeof(struct udphdr));
586 int sum = up->uh_sum;
589 sum = udp6_cksum(ip6, up, length + sizeof(struct udphdr));
601 ns_print((const u_char *)(up + 1), length, 0);
603 ns_print((const u_char *)(up + 1), length, 1);
605 timed_print((const u_char *)(up + 1));
607 tftp_print((const u_char *)(up + 1), length);
609 bootp_print((const u_char *)(up + 1), length);
611 rip_print((const u_char *)(up + 1), length);
613 aodv_print((const u_char *)(up + 1), length,
620 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
622 isakmp_rfc3948_print(gndo, (const u_char *)(up + 1), length, bp2);
625 isakmp_print(gndo, (const u_char *)(up + 1), length, bp2);
628 snmp_print((const u_char *)(up + 1), length);
630 ntp_print((const u_char *)(up + 1), length);
632 krb_print((const void *)(up + 1));
634 l2tp_print((const u_char *)(up + 1), length);
637 nbt_udp137_print((const u_char *)(up + 1), length);
639 nbt_udp138_print((const u_char *)(up + 1), length);
642 vat_print((const void *)(up + 1), up);
644 zephyr_print((const void *)(up + 1), length);
651 rx_print((const void *)(up + 1), length, sport, dport,
655 ripng_print((const u_char *)(up + 1), length);
657 dhcp6_print((const u_char *)(up + 1), length);
664 wb_print((const void *)(up + 1), length);
666 cisco_autorp_print((const void *)(up + 1), length);
671 radius_print((const u_char *)(up+1), length);
673 hsrp_print((const u_char *)(up + 1), length);
675 lwres_print((const u_char *)(up + 1), length);
677 ldp_print((const u_char *)(up + 1), length);
679 olsr_print((const u_char *)(up + 1), length);
681 lspping_print((const u_char *)(up + 1), length);
684 bfd_print((const u_char *)(up+1), length, dport);
686 lmp_print((const u_char *)(up + 1), length);
688 sip_print((const u_char *)(up + 1), length);
690 syslog_print((const u_char *)(up + 1), length);
693 (u_int32_t)(ulen - sizeof(*up)));
696 (void)printf("UDP, length %u", (u_int32_t)(ulen - sizeof(*up)));