| /NextBSD/sys/netinet/libalias/ |
| HD | alias.c | 361 ud->uh_dport, ud->uh_sport, in IcmpAliasIn2() 387 accumulate += ud->uh_sport; in IcmpAliasIn2() 403 ud->uh_sport = original_port; in IcmpAliasIn2() 543 ud->uh_dport, ud->uh_sport, in IcmpAliasOut2() 736 ud->uh_sport, ud->uh_dport, in UdpAliasIn() 751 .sport = &ud->uh_sport, in UdpAliasIn() 779 accumulate += ud->uh_sport; in UdpAliasIn() 794 ud->uh_sport = proxy_port; in UdpAliasIn() 858 ud->uh_sport, ud->uh_dport, in UdpAliasOut() 868 .sport = &ud->uh_sport, in UdpAliasOut() [all …]
|
| /NextBSD/sys/contrib/ipfilter/netinet/ |
| HD | ip_netbios_pxy.c | 113 dgmbuf[4] = (char)((udp->uh_sport )&0xFF); 114 dgmbuf[5] = (char)((udp->uh_sport >> 8)&0xFF);
|
| HD | ip_tftp_pxy.c | 198 aps->aps_sport = udp->uh_sport; 316 udp.uh_sport = 0; /* XXX - don't specify remote port */
|
| /NextBSD/sbin/dhclient/ |
| HD | packet.c | 133 udp.uh_sport = htons(LOCAL_PORT); /* XXX */ in assemble_udp_ip_header() 245 memcpy(&from->sin_port, &udp->uh_sport, sizeof(udp->uh_sport)); in decode_udp_ip_header()
|
| /NextBSD/sys/netinet6/ |
| HD | udp6_usrreq.c | 283 fromsa.sin6_port = uh->uh_sport; in udp6_input() 315 inp->inp_fport != uh->uh_sport) in udp6_input() 325 inp->inp_fport != uh->uh_sport) in udp6_input() 429 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport, in udp6_input() 438 uh->uh_sport, &next_hop6->sin6_addr, in udp6_input() 448 uh->uh_sport, &ip6->ip6_dst, uh->uh_dport, in udp6_input() 461 ntohs(uh->uh_sport)); in udp6_input() 511 u_int16_t uh_sport; in udp6_common_ctlinput() member 557 (struct sockaddr *)ip6cp->ip6c_src, uh.uh_sport, cmd, in udp6_common_ctlinput() 794 udp6->uh_sport = inp->inp_lport; /* lport is always set in the PCB */ in udp6_output()
|
| HD | in6_rss.c | 323 uh->uh_sport, in rss_mbuf_software_hash_v6()
|
| /NextBSD/contrib/ipfilter/ipsend/ |
| HD | iptests.c | 148 u->uh_sport = htons(1); 797 u->uh_sport = htons(1); 847 u->uh_sport = 0; 853 u->uh_sport = htons(1); 859 u->uh_sport = htons(32767); 865 u->uh_sport = htons(32768); 872 u->uh_sport = htons(65535); 885 u->uh_sport = htons(1); 1310 u->uh_sport = htons(1);
|
| /NextBSD/sys/netinet/ |
| HD | udp.h | 42 u_short uh_sport; /* source port */ member
|
| HD | udp_usrreq.c | 448 udp_in.sin_port = uh->uh_sport; in udp_input() 546 inp->inp_fport != uh->uh_sport) in udp_input() 652 inp = in_pcblookup_mbuf(pcbinfo, ip->ip_src, uh->uh_sport, in udp_input() 661 uh->uh_sport, next_hop->sin_addr, in udp_input() 670 inp = in_pcblookup_mbuf(pcbinfo, ip->ip_src, uh->uh_sport, in udp_input() 681 ntohs(uh->uh_sport)); in udp_input() 783 ip->ip_src, uh->uh_sport, INPLOOKUP_RLOCKPCB, NULL); in udp_common_ctlinput() 1635 ((uint16_t *)(tag + 1))[0] = udphdr->uh_sport; in udp4_espdecap()
|
| HD | udp_var.h | 50 #define ui_sport ui_u.uh_sport
|
| HD | in_rss.c | 302 uh->uh_sport, in rss_mbuf_software_hash_v4()
|
| /NextBSD/contrib/tcpdump/ |
| HD | udp.h | 41 uint16_t uh_sport; /* source port */ member
|
| /NextBSD/lib/libstand/ |
| HD | rpc.c | 289 u_int16_t uh_sport; /* source port */ in rpc_fromaddr() member 299 *port = hhdr->uh_sport; in rpc_fromaddr()
|
| HD | udp.c | 99 uh->uh_sport = d->myport;
|
| HD | tftp.c | 215 d->destport = uh->uh_sport; in recvtftp() 248 d->destport = uh->uh_sport; in recvtftp()
|
| /NextBSD/cddl/lib/libdtrace/ |
| HD | udp.d | 71 udp_sport = p == NULL ? 0 : ntohs(p->uh_sport);
|
| /NextBSD/tools/tools/net80211/wesside/dics/ |
| HD | dics.c | 181 *port = ntohs(uh->uh_sport); 259 uh->uh_sport = htons(DPORT); in send_stuff()
|
| /NextBSD/usr.sbin/ppp/ |
| HD | ip.c | 354 sport = ntohs(uh->uh_sport); in FilterCheck() 654 if (!frag && ncp_IsUrgentUdpPort(&bundle->ncp, ntohs(uh->uh_sport), in PacketCheck() 661 "UDP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), ntohs(uh->uh_sport)); in PacketCheck() 805 ntohs(uh->uh_sport)); in PacketCheck()
|
| /NextBSD/contrib/ipfilter/ipsd/Celler/ |
| HD | ip_compat.h | 153 __u16 uh_sport; member
|
| /NextBSD/tools/tools/netmap/ |
| HD | pkt-gen.c | 552 #define uh_sport source macro 574 udp->uh_sport = random(); in update_addresses() 577 p = ntohs(udp->uh_sport); in update_addresses() 579 udp->uh_sport = htons(p + 1); in update_addresses() 582 udp->uh_sport = htons(g->src_ip.port0); in update_addresses() 591 udp->uh_sport = htons(g->src_ip.port0); in update_addresses() 679 udp->uh_sport = htons(targ->g->src_ip.port0); in initialize_packet()
|
| /NextBSD/contrib/ipfilter/ipsend/.OLD/ |
| HD | ip_compat.h | 155 __u16 uh_sport; member
|
| /NextBSD/contrib/traceroute/ |
| HD | traceroute.c | 1413 outudp->uh_sport = htons(ident + (fixedPort ? outdata->seq : 0)); in udp_prep() 1430 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) && in udp_check() 1439 outudp->uh_sport = htons(ident + (fixedPort ? outdata->seq : 0)); in udplite_prep() 1456 return (ntohs(udp->uh_sport) == ident + (fixedPort ? seq : 0) && in udplite_check()
|
| /NextBSD/sys/netipsec/ |
| HD | ipsec_output.c | 231 udp->uh_sport = htons(UDP_ENCAP_ESPINUDP_PORT); in ipsec_process_done() 233 udp->uh_sport = in ipsec_process_done()
|
| /NextBSD/sys/net/ |
| HD | flowtable.c | 227 sport = uh->uh_sport; in flowtable_lookup_ipv4() 346 sport = UDP(ulp)->uh_sport; in flowtable_lookup_ipv6()
|
| /NextBSD/sys/netpfil/pf/ |
| HD | pf.c | 2851 sport = pd->hdr.udp->uh_sport; in pf_socket_lookup() 3099 sport = pd->hdr.udp->uh_sport; in pf_test_rule() 3182 pf_change_ap(m, saddr, &pd->hdr.udp->uh_sport, in pf_test_rule() 3186 sport = pd->hdr.udp->uh_sport; in pf_test_rule() 3187 pd->sport = &pd->hdr.udp->uh_sport; in pf_test_rule() 4409 key.port[0] = uh->uh_sport; in pf_test_state_udp() 4414 key.port[1] = uh->uh_sport; in pf_test_state_udp() 4446 nk->port[pd->sidx] != uh->uh_sport) in pf_test_state_udp() 4447 pf_change_ap(m, pd->src, &uh->uh_sport, pd->ip_sum, in pf_test_state_udp() 4836 key.port[pd2.sidx] = uh.uh_sport; in pf_test_state_icmp() [all …]
|