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

12

/netbsd-6-1-5-RELEASE/dist/dhcp/includes/netinet/
H A Dudp.h62 u_int16_t uh_sport; /* source port */ member in struct:udphdr
/netbsd-6-1-5-RELEASE/sys/netinet/
H A Dudp.h43 uint16_t uh_sport; /* source port */ member in struct:udphdr
H A Dudp_var.h49 #define ui_sport ui_u.uh_sport
H A Dudp_usrreq.c408 sockaddr_in_init(&src, &ip->ip_src, uh->uh_sport);
425 src6.sin6_port = uh->uh_sport;
445 if (checkipkdb(&ip->ip_src, uh->uh_sport, uh->uh_dport,
590 src.sin6_port = uh->uh_sport;
1014 ip->ip_src, uh->uh_sport, errno, notify);
1556 sport = udphdr->uh_sport;
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dudp.h38 u_int16_t uh_sport; /* source port */ member in struct:udphdr
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/
H A Dip_netbios_pxy.c119 dgmbuf[4] = (char)((udp->uh_sport )&0xFF);
120 dgmbuf[5] = (char)((udp->uh_sport >> 8)&0xFF);
H A Dip_h323_pxy.c264 udp.uh_sport = port;
/netbsd-6-1-5-RELEASE/sys/arch/mvme68k/stand/sboot/
H A Detherfun.c128 udph->uh_sport = myport;
179 if (servport == FTP_PORT) servport = udph->uh_sport;
H A Detherfun.h89 u_short uh_sport; member in struct:udp
/netbsd-6-1-5-RELEASE/sys/lib/libsa/
H A Dudp.c89 uh->uh_sport = d->myport;
H A Drpc.c294 u_int16_t uh_sport; /* source port */ member in struct:hackhdr
304 *port = hhdr->uh_sport;
H A Dtftp.c129 d->destport = uh->uh_sport;
130 } /* else check uh_sport has not changed??? */
/netbsd-6-1-5-RELEASE/dist/dhcp/common/
H A Dpacket.c164 udp.uh_sport = local_port; /* XXX */
335 memcpy (&from -> sin_port, &udp -> uh_sport, sizeof udp -> uh_sport);
/netbsd-6-1-5-RELEASE/usr.sbin/npf/npftest/libnpftest/
H A Dnpf_nat_test.c153 inet_ntoa(ip->ip_src), ntohs(uh->uh_sport));
166 defect |= sport != ntohs(uh->uh_sport);
184 uh->uh_sport = htons(t->sport);
H A Dnpf_rule_test.c72 uh->uh_sport = htons(9000);
/netbsd-6-1-5-RELEASE/sys/net/npf/
H A Dnpf_alg_icmp.c320 l4.uh.uh_sport = enpc.npc_l4.udp->uh_dport;
321 l4.uh.uh_dport = enpc.npc_l4.udp->uh_sport;
396 cksum = npf_fixup16_cksum(cksum, uh->uh_sport, port);
H A Dnpf_instr.c167 const in_port_t p = sd ? uh->uh_sport : uh->uh_dport;
H A Dnpf_inet.c541 oport = (di == PFIL_OUT) ? &uh->uh_sport : &uh->uh_dport;
600 oport = (di == PFIL_OUT) ? uh->uh_sport : uh->uh_dport;
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/
H A Diptests.c152 u->uh_sport = htons(1);
801 u->uh_sport = htons(1);
851 u->uh_sport = 0;
857 u->uh_sport = htons(1);
863 u->uh_sport = htons(32767);
869 u->uh_sport = htons(32768);
876 u->uh_sport = htons(65535);
889 u->uh_sport = htons(1);
1314 u->uh_sport = htons(1);
/netbsd-6-1-5-RELEASE/sys/netinet6/
H A Dudp6_usrreq.c154 u_int16_t uh_sport; member in struct:udp_portonly
217 uh.uh_sport, 0, 0))
252 (const struct sockaddr *)sa6_src, uh.uh_sport, cmd, cmdarg,
H A Desp_output.c529 udp->uh_sport = htons(UDP_ENCAP_ESPINUDP_PORT);
531 udp->uh_sport =
/netbsd-6-1-5-RELEASE/dist/ipf/ipsd/Celler/
H A Dip_compat.h153 __u16 uh_sport; member in struct:__anon818
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/
H A Ddump.c213 uh.uh_sport = htons(500);
/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/pxeboot/
H A Dpxe.c184 uh->uh_sport = ur->s_port;
/netbsd-6-1-5-RELEASE/sys/netipsec/
H A Dipsec_output.c217 udp->uh_sport = htons(UDP_ENCAP_ESPINUDP_PORT);
219 udp->uh_sport = key_portfromsaddr(&saidx->src);

Completed in 125 milliseconds

12