Searched refs:uh_sport (Results 1 - 14 of 14) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dudp.h73 u_short uh_sport; /* source port */ member in struct:udphdr
H A Dudp_var.h81 #define ui_sport ui_u.uh_sport
H A Dudp_usrreq.c321 KERNEL_DEBUG(DBG_LAYER_IN_BEG, uh->uh_dport, uh->uh_sport,
414 udp_in.sin_port = uh->uh_sport;
468 inp->inp_fport != uh->uh_sport) {
626 inp = in_pcblookup_hash(&udbinfo, ip->ip_src, uh->uh_sport,
644 ntohs(uh->uh_sport));
652 ntohs(uh->uh_sport)))
700 udp_in.sin_port = uh->uh_sport;
726 KERNEL_DEBUG(DBG_LAYER_IN_END, uh->uh_dport, uh->uh_sport,
900 ip->ip_src, uh.uh_sport, 0, NULL);
H A Dip_compat.h552 __u16 uh_sport;
H A Din_dhcp.c193 pkt->udp.uh_sport = htons(IPPORT_BOOTPC);
H A Dip_fw2.c1191 ntohs(udp->uh_sport),
2075 src_port = udp->uh_sport;
/darwin-on-arm/xnu/osfmk/kdp/
H A Dkdp_udp.h65 u_short uh_sport; /* source port */ member in struct:udphdr
82 #define ui_sport ui_u.uh_sport
/darwin-on-arm/xnu/bsd/netinet6/
H A Dudp6_usrreq.c278 fromsa.sin6_port = uh->uh_sport;
316 udp_in6.sin6_port = uh->uh_sport;
379 in6p->in6p_fport != uh->uh_sport) {
465 in6p = in6_pcblookup_hash(&udbinfo, &ip6->ip6_src, uh->uh_sport,
481 ip6_sprintf(&ip6->ip6_src), ntohs(uh->uh_sport));
487 ip6_sprintf(&ip6->ip6_src), ntohs(uh->uh_sport)));
536 udp_in6.sin6_port = uh->uh_sport;
586 u_int16_t uh_sport; member in struct:udp_portonly
631 uh.uh_sport, cmd, NULL, notify);
H A Desp_input.c446 if (encap_uh->uh_sport &&
447 ntohs(encap_uh->uh_sport) != sav->remote_ike_port) {
448 sav->remote_ike_port = ntohs(encap_uh->uh_sport);
670 sav->natt_encapsulated_src_port = udp->uh_sport;
671 } else if (sav->natt_encapsulated_src_port != udp->uh_sport) { /* something wrong */
677 udp->uh_sport = htons(sav->remote_ike_port);
H A Dudp6_output.c332 udp6->uh_sport = in6p->in6p_lport; /* lport is always set in the PCB */
H A Desp_output.c648 udp->uh_sport = ntohs((u_short)esp_udp_encap_port);
H A Dip6_fw.c494 ntohs(udp->uh_sport));
720 src_port = ntohs(udp->uh_sport);
H A Dipsec.c1069 uh.uh_sport;
1168 ((struct sockaddr_in6 *)&spidx->src)->sin6_port = uh.uh_sport;
4450 uh->uh_sport = htons((u_short)esp_udp_encap_port);
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c3664 sport = pd->hdr.udp->uh_sport;
4049 sxport.port = pd->hdr.udp->uh_sport;
4119 &pd->hdr.udp->uh_sport, pd->ip_sum,
4122 sxport.port = pd->hdr.udp->uh_sport;
4435 &pd->hdr.udp->uh_sport, pd->ip_sum,
4438 sxport.port = pd->hdr.udp->uh_sport;
4632 if (ntohs(pd->hdr.udp->uh_sport) == PF_IKE_PORT &&
4727 if (ntohs(uh->uh_sport) == PF_IKE_PORT &&
4965 ntohs(uh->uh_sport) == PF_IKE_PORT &&
5135 dnflow.fwa_id.src_port = ntohs(pd->hdr.udp->uh_sport);
[all...]

Completed in 101 milliseconds