| /xnu-12377.1.9/bsd/netinet6/ |
| H A D | udp6_usrreq.c | 288 if (uh->uh_dport == 0) { in udp6_input() 386 if (in6p->in6p_lport != uh->uh_dport) { in udp6_input() 432 uh->uh_dport, uh->uh_sport, &ip6->ip6_dst, in udp6_input() 518 (uh->uh_dport == ntohs((u_short)esp_udp_encap_port) || in udp6_input() 526 uh->uh_dport, ip6_input_getdstifscope(m)); in udp6_input() 535 if (uh->uh_dport != ntohs((u_short)esp_udp_encap_port)) { in udp6_input() 579 &ip6->ip6_dst, uh->uh_dport, ip6_input_getdstifscope(m), 1, m->m_pkthdr.rcvif); in udp6_input() 590 ntohs(uh->uh_dport), in udp6_input() 597 ntohs(uh->uh_dport), in udp6_input() 621 if (!necp_socket_is_allowed_to_send_recv_v6(in6p, uh->uh_dport, in udp6_input() [all …]
|
| H A D | esp_output.c | 493 if (sav->remote_ike_port == htons(udp->uh_dport)) { in esp_output() 495 udp->uh_dport = sav->natt_encapsulated_src_port; in esp_output() 721 udp->uh_dport = htons(sav->remote_ike_port); in esp_output()
|
| H A D | ipsec.c | 1260 SIN(&spidx->dst)->sin_port = uh.uh_dport; in ipsec4_get_ulp() 1363 SIN6(&spidx->dst)->sin6_port = uh.uh_dport; in ipsec6_get_ulp() 3741 sin->sin_port = udp->uh_dport; in ipsec4_output() 5225 uh->uh_dport = htons(sav->remote_ike_port); in ipsec_send_natt_keepalive() 5298 uh->uh_dport = htons(sav->remote_ike_port); in ipsec_send_natt_keepalive() 5445 uh->uh_dport = htons(sav->remote_ike_port); in ipsec_fill_offload_frame() 5497 uh->uh_dport = htons(sav->remote_ike_port); in ipsec_fill_offload_frame()
|
| H A D | udp6_output.c | 454 udp6->uh_dport = fport; in udp6_output()
|
| /xnu-12377.1.9/bsd/netinet/ |
| H A D | udp.h | 81 u_short uh_dport; /* destination port */ member
|
| H A D | udp_usrreq.c | 374 if (uh->uh_dport == 0) { in udp_input() 380 KERNEL_DEBUG(DBG_LAYER_IN_BEG, uh->uh_dport, uh->uh_sport, in udp_input() 490 if (inp->inp_lport != uh->uh_dport) { in udp_input() 550 uh->uh_dport, uh->uh_sport, &ip->ip_dst, in udp_input() 632 (uh->uh_dport == ntohs((u_short)esp_udp_encap_port) || in udp_input() 641 if (uh->uh_dport != ntohs((u_short)esp_udp_encap_port)) { in udp_input() 646 ipsec_fill_ip_sockaddr_4_6(&dst, ip->ip_dst, uh->uh_dport); in udp_input() 696 ip->ip_dst, uh->uh_dport, 1, ifp); in udp_input() 709 ntohs(uh->uh_dport), inet_ntop(AF_INET, in udp_input() 718 ntohs(uh->uh_dport), inet_ntop(AF_INET, in udp_input() [all …]
|
| H A D | udp_var.h | 84 #define ui_dport ui_u.uh_dport
|
| H A D | udp_log.c | 554 foreign_port = uh->uh_dport; in udp_log_drop_pcb() 557 local_port = uh->uh_dport; in udp_log_drop_pcb()
|
| H A D | ip_compat.h | 555 __u16 uh_dport;
|
| /xnu-12377.1.9/bsd/net/ |
| H A D | if_ports_used.c | 1920 npi.npi_local_port = uh.uh_dport; in if_ports_used_match_mbuf() 1925 if (ntohs(uh.uh_dport) == PORT_ISAKMP_NATT || in if_ports_used_match_mbuf() 2064 npi.npi_local_port = uh.uh_dport; in if_ports_used_match_mbuf() 2317 npi.npi_local_port = uh->uh_dport; in if_ports_used_match_pkt() 2717 ntohs(uh.uh_dport) != mark_wake_packet_local_port) { in check_wake_mbuf() 2766 ntohs(uh->uh_dport) != mark_wake_packet_local_port) { in check_wake_pkt()
|
| H A D | pf.c | 4164 dport = pf_pd_get_hdr_udp(pd)->uh_dport; in pf_socket_lookup() 4979 dxport.port = uh->uh_dport; in pf_test_rule() 5096 (uh->uh_dport != nxport.port))) { in pf_test_rule() 5100 dport = uh->uh_dport; in pf_test_rule() 5103 &uh->uh_dport, pd->ip_sum, in pf_test_rule() 5106 dxport.port = uh->uh_dport; in pf_test_rule() 5487 &pf_pd_get_hdr_udp(pd)->uh_dport, pd->ip_sum, in pf_test_rule() 5490 dxport.port = pf_pd_get_hdr_udp(pd)->uh_dport; in pf_test_rule() 5609 ntohs(pf_pd_get_hdr_udp(pd)->uh_dport) == PF_IKE_PORT) { in pf_test_rule() 5766 ntohs(uh->uh_dport) == PF_IKE_PORT && in pf_test_rule() [all …]
|
| H A D | pktap.c | 1023 lport = uh.uh_dport; in pktap_fill_proc_info() 1090 lport = uh.uh_dport; in pktap_fill_proc_info()
|
| H A D | bpf.c | 3705 dport = EXTRACT_SHORT(&udphdr.uh_dport); in get_udp_trunc_len()
|
| H A D | necp.c | 11468 SIN(&remote_addr)->sin_port = uh.uh_dport; in necp_ip_output_find_policy_match() 11640 SIN6(&remote_addr)->sin6_port = uh.uh_dport; in necp_ip6_output_find_policy_match()
|
| H A D | if_bridge.c | 8074 udphdr.uh_dport != HTONS_IPPORT_BOOTPS) {
|
| /xnu-12377.1.9/tests/ |
| H A D | net_test_lib.c | 270 ip_udp->udp.uh_dport = htons(dst_port); in ethernet_udp4_frame_populate() 339 ip6_udp->udp.uh_dport = htons(dst_port); in ethernet_udp6_frame_populate()
|
| H A D | net_bridge.c | 427 ntohs(ip_udp->udp.uh_dport), in ip_frame_validate() 475 ntohs(ip6_udp->udp.uh_dport), in ip6_frame_validate()
|
| /xnu-12377.1.9/osfmk/kdp/ |
| H A D | kdp_udp.c | 120 u_short uh_dport; /* destination port */ member 137 #define ui_dport ui_u.uh_dport
|
| /xnu-12377.1.9/bsd/skywalk/nexus/ |
| H A D | nexus_traffic_rule_inet.c | 306 bcopy(__DECONST(void *, &udph->uh_dport), &td->inet_rport, in fill_inet_td()
|
| /xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/flow/ |
| H A D | flow_track.c | 989 uh->uh_dport = fe->fe_key.fk_dport; in flow_track_abort_quic()
|
| /xnu-12377.1.9/tests/skywalk/ |
| H A D | skt_netifdirect.c | 239 udp_hdr.uh_dport = htons(dst_port); in skt_netif_ipv6_udp_frame_populate()
|
| H A D | skt_xfer.c | 480 ntohs(ip_udp->udp.uh_dport), in ip_frame_dump() 647 ip_udp->udp.uh_dport = htons(dst_port); in udp_frame_populate()
|
| H A D | skywalk_test_utils.c | 2529 udp->uh_dport = htons(dport); in sktu_create_udp_frames()
|