Lines Matching refs:up
100 vat_print(netdissect_options *ndo, const void *hdr, register const struct udphdr *up) in vat_print() argument
109 ND_TCHECK_16BITS(&up->uh_ulen); in vat_print()
111 (uint32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up)), in vat_print()
121 ND_TCHECK_16BITS(&up->uh_ulen); in vat_print()
123 (uint32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8), in vat_print()
139 register const struct udphdr *up) in rtp_print() argument
151 ND_TCHECK_16BITS(&up->uh_ulen); in rtp_print()
152 dlen = EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8; in rtp_print()
302 register const struct udphdr *up, in udp_cksum() argument
305 return nextproto4_cksum(ndo, ip, (const uint8_t *)(const void *)up, len, len, in udp_cksum()
310 const struct udphdr *up, u_int len) in udp6_cksum() argument
312 return nextproto6_cksum(ndo, ip6, (const uint8_t *)(const void *)up, len, len, in udp6_cksum()
373 register const struct udphdr *up; in udp_print() local
382 up = (const struct udphdr *)bp; in udp_print()
388 if (!ND_TTEST(up->uh_dport)) { in udp_print()
393 sport = EXTRACT_16BITS(&up->uh_sport); in udp_print()
394 dport = EXTRACT_16BITS(&up->uh_dport); in udp_print()
401 if (!ND_TTEST(up->uh_ulen)) { in udp_print()
405 ulen = EXTRACT_16BITS(&up->uh_ulen); in udp_print()
416 cp = (const u_char *)(up + 1); in udp_print()
430 vat_print(ndo, (const void *)(up + 1), up); in udp_print()
435 wb_print(ndo, (const void *)(up + 1), length); in udp_print()
439 rp = (const struct sunrpc_msg *)(up + 1); in udp_print()
451 rtp_print(ndo, (const void *)(up + 1), length, up); in udp_print()
462 snmp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
477 aodv_print(ndo, (const u_char *)(up + 1), length, in udp_print()
488 vxlan_print(ndo, (const u_char *)(up + 1), length); in udp_print()
509 rp = (const struct sunrpc_msg *)(up + 1); in udp_print()
542 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print()
546 sum = udp_cksum(ndo, ip, up, length + sizeof(struct udphdr)); in udp_print()
559 sum = udp6_cksum(ndo, ip6, up, length + sizeof(struct udphdr)); in udp_print()
560 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print()
574 ns_print(ndo, (const u_char *)(up + 1), length, 0); in udp_print()
576 ns_print(ndo, (const u_char *)(up + 1), length, 1); in udp_print()
578 timed_print(ndo, (const u_char *)(up + 1)); in udp_print()
580 tftp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
582 bootp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
584 rip_print(ndo, (const u_char *)(up + 1), length); in udp_print()
586 aodv_print(ndo, (const u_char *)(up + 1), length, in udp_print()
589 isakmp_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print()
591 isakmp_rfc3948_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print()
594 isakmp_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print()
597 snmp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
599 ntp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
601 krb_print(ndo, (const void *)(up + 1)); in udp_print()
603 l2tp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
606 nbt_udp137_print(ndo, (const u_char *)(up + 1), length); in udp_print()
608 nbt_udp138_print(ndo, (const u_char *)(up + 1), length); in udp_print()
611 vat_print(ndo, (const void *)(up + 1), up); in udp_print()
613 zephyr_print(ndo, (const void *)(up + 1), length); in udp_print()
620 rx_print(ndo, (const void *)(up + 1), length, sport, dport, in udp_print()
623 ripng_print(ndo, (const u_char *)(up + 1), length); in udp_print()
625 dhcp6_print(ndo, (const u_char *)(up + 1), length); in udp_print()
627 ahcp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
629 babel_print(ndo, (const u_char *)(up + 1), length); in udp_print()
631 hncp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
636 wb_print(ndo, (const void *)(up + 1), length); in udp_print()
638 cisco_autorp_print(ndo, (const void *)(up + 1), length); in udp_print()
645 radius_print(ndo, (const u_char *)(up+1), length); in udp_print()
647 hsrp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
649 lwres_print(ndo, (const u_char *)(up + 1), length); in udp_print()
651 ldp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
653 olsr_print(ndo, (const u_char *)(up + 1), length, in udp_print()
656 lspping_print(ndo, (const u_char *)(up + 1), length); in udp_print()
659 bfd_print(ndo, (const u_char *)(up+1), length, dport); in udp_print()
661 lmp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
663 vqp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
665 sflow_print(ndo, (const u_char *)(up + 1), length); in udp_print()
667 lwapp_control_print(ndo, (const u_char *)(up + 1), length, 1); in udp_print()
669 lwapp_control_print(ndo, (const u_char *)(up + 1), length, 0); in udp_print()
671 lwapp_data_print(ndo, (const u_char *)(up + 1), length); in udp_print()
673 sip_print(ndo, (const u_char *)(up + 1), length); in udp_print()
675 syslog_print(ndo, (const u_char *)(up + 1), length); in udp_print()
677 otv_print(ndo, (const u_char *)(up + 1), length); in udp_print()
679 vxlan_print(ndo, (const u_char *)(up + 1), length); in udp_print()
681 geneve_print(ndo, (const u_char *)(up + 1), length); in udp_print()
683 lisp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
685 vxlan_gpe_print(ndo, (const u_char *)(up + 1), length); in udp_print()