Lines Matching refs:up
97 vat_print(netdissect_options *ndo, const void *hdr, register const struct udphdr *up) in vat_print() argument
104 (uint32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up)), in vat_print()
111 (uint32_t)(EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8), in vat_print()
124 register const struct udphdr *up) in rtp_print() argument
131 u_int dlen = EXTRACT_16BITS(&up->uh_ulen) - sizeof(*up) - 8; in rtp_print()
275 register const struct udphdr *up, in udp_cksum() argument
278 return nextproto4_cksum(ndo, ip, (const uint8_t *)(void *)up, len, len, in udp_cksum()
283 static int udp6_cksum(const struct ip6_hdr *ip6, const struct udphdr *up, in udp6_cksum() argument
286 return nextproto6_cksum(ip6, (const uint8_t *)(void *)up, len, len, in udp6_cksum()
351 register const struct udphdr *up; in udp_print() local
362 up = (struct udphdr *)bp; in udp_print()
370 if (!ND_TTEST(up->uh_dport)) { in udp_print()
376 sport = EXTRACT_16BITS(&up->uh_sport); in udp_print()
377 dport = EXTRACT_16BITS(&up->uh_dport); in udp_print()
384 ulen = EXTRACT_16BITS(&up->uh_ulen); in udp_print()
395 cp = (u_char *)(up + 1); in udp_print()
410 vat_print(ndo, (void *)(up + 1), up); in udp_print()
415 wb_print(ndo, (void *)(up + 1), length); in udp_print()
419 rp = (struct sunrpc_msg *)(up + 1); in udp_print()
431 rtp_print(ndo, (void *)(up + 1), length, up); in udp_print()
442 snmp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
457 aodv_print(ndo, (const u_char *)(up + 1), length, in udp_print()
472 vxlan_print(ndo, (const u_char *)(up + 1), length); in udp_print()
493 rp = (struct sunrpc_msg *)(up + 1); in udp_print()
534 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print()
538 sum = udp_cksum(ndo, ip, up, length + sizeof(struct udphdr)); in udp_print()
552 sum = udp6_cksum(ip6, up, length + sizeof(struct udphdr)); in udp_print()
553 udp_sum = EXTRACT_16BITS(&up->uh_sum); in udp_print()
569 ns_print(ndo, (const u_char *)(up + 1), length, 0); in udp_print()
571 ns_print(ndo, (const u_char *)(up + 1), length, 1); in udp_print()
573 timed_print(ndo, (const u_char *)(up + 1)); in udp_print()
575 tftp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
577 bootp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
579 rip_print(ndo, (const u_char *)(up + 1), length); in udp_print()
581 aodv_print(ndo, (const u_char *)(up + 1), length, in udp_print()
588 isakmp_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print()
590 isakmp_rfc3948_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print()
593 isakmp_print(ndo, (const u_char *)(up + 1), length, bp2); in udp_print()
596 snmp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
598 ntp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
600 krb_print(ndo, (const void *)(up + 1)); in udp_print()
602 l2tp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
605 nbt_udp137_print(ndo, (const u_char *)(up + 1), length); in udp_print()
607 nbt_udp138_print(ndo, (const u_char *)(up + 1), length); in udp_print()
610 vat_print(ndo, (const void *)(up + 1), up); in udp_print()
612 zephyr_print(ndo, (const void *)(up + 1), length); in udp_print()
619 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()
635 wb_print(ndo, (const void *)(up + 1), length); in udp_print()
637 cisco_autorp_print(ndo, (const void *)(up + 1), length); in udp_print()
643 radius_print(ndo, (const u_char *)(up+1), length); in udp_print()
645 hsrp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
647 lwres_print(ndo, (const u_char *)(up + 1), length); in udp_print()
649 ldp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
651 olsr_print(ndo, (const u_char *)(up + 1), length, in udp_print()
658 lspping_print(ndo, (const u_char *)(up + 1), length); in udp_print()
661 bfd_print(ndo, (const u_char *)(up+1), length, dport); in udp_print()
663 lmp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
665 vqp_print(ndo, (const u_char *)(up + 1), length); in udp_print()
667 sflow_print(ndo, (const u_char *)(up + 1), length); in udp_print()
669 lwapp_control_print(ndo, (const u_char *)(up + 1), length, 1); in udp_print()
671 lwapp_control_print(ndo, (const u_char *)(up + 1), length, 0); in udp_print()
673 lwapp_data_print(ndo, (const u_char *)(up + 1), length); in udp_print()
675 sip_print(ndo, (const u_char *)(up + 1), length); in udp_print()
677 syslog_print(ndo, (const u_char *)(up + 1), length); in udp_print()
679 otv_print(ndo, (const u_char *)(up + 1), length); in udp_print()
681 vxlan_print(ndo, (const u_char *)(up + 1), length); in udp_print()
683 geneve_print(ndo, (const u_char *)(up + 1), length); in udp_print()