Home
last modified time | relevance | path

Searched refs:src_port (Results 1 – 14 of 14) sorted by relevance

/xnu-11215/tests/
H A Dnet_test_lib.h219 uint16_t src_port,
229 uint16_t src_port,
H A Dbpf_write.c221 uint16_t src_port = 68; in do_bpf_write() local
241 src_port, in do_bpf_write()
H A Dbpf_write_batch.c226 uint16_t src_port = 68; in make_bootp_packet() local
249 src_port, in make_bootp_packet()
H A Dnet_test_lib.c210 uint16_t src_port, in ethernet_udp4_frame_populate() argument
251 ip_udp->udp.uh_sport = htons(src_port); in ethernet_udp4_frame_populate()
280 uint16_t src_port, in ethernet_udp6_frame_populate() argument
320 ip6_udp->udp.uh_sport = htons(src_port); in ethernet_udp6_frame_populate()
H A Dnet_bridge.c564 uint16_t src_port, in ethernet_udp_frame_populate() argument
577 src_port, in ethernet_udp_frame_populate()
587 src_port, in ethernet_udp_frame_populate()
1031 uint16_t src_port, in switch_port_send_udp() argument
1051 src_port, in switch_port_send_udp()
/xnu-11215/tests/skywalk/
H A Dskt_xfer.c275 struct in_addr src_addr, in_port_t src_port, in connect_flow() argument
290 nfr.nfr_saddr.sin.sin_port = htons(src_port); in connect_flow()
318 struct in_addr src_addr, in_port_t src_port, in connect_child_flow() argument
334 nfr.nfr_saddr.sin.sin_port = htons(src_port); in connect_child_flow()
555 ip_tcp->tcp.th_sport = htons(src_port); in tcp_frame_populate()
645 ip_udp->udp.uh_sport = htons(src_port); in udp_frame_populate()
1132 uint16_t src_port,
1237 int protocol, uint16_t src_port, in channel_port_send_fragments() argument
1684 src_port, in send_and_receive()
2040 src_port, dst_ip, dst_port, &payload, in ping_pong()
[all …]
H A Dskt_netifdirect.c189 struct in6_addr *src_ip, uint16_t src_port, struct ether_addr *dst_mac, in skt_netif_ipv6_udp_frame_populate() argument
238 udp_hdr.uh_sport = htons(src_port); in skt_netif_ipv6_udp_frame_populate()
296 skt_netif_channel_send(channel_port_t port, uint16_t src_port,
353 &port->mac_addr, &port->ip6_addr, src_port,
478 skt_netif_send_and_receive(channel_port_t port, uint16_t src_port, in skt_netif_send_and_receive() argument
651 skt_netif_channel_send(port, src_port, dst_mac, in skt_netif_send_and_receive()
H A Dskywalk_test_utils.h289 int protocol, uint16_t src_port, struct in_addr dst_ip, uint16_t dst_port,
/xnu-11215/bsd/netinet/
H A Dip_flowid.h69 u_int16_t src_port; member
H A Dip_dummynet.c1273 id->src_port &= fs->flow_mask.src_port; in find_queue()
1301 (id->dst_port << 1) ^ (id->src_port) ^ in find_queue()
1312 (id->dst_port << 1) ^ (id->src_port) ^ in find_queue()
1324 id->src_port == q->id.src_port && in find_queue()
1333 id->src_port == q->id.src_port && in find_queue()
H A Dip_dummynet.h696 uint32_t src_port; member
/xnu-11215/osfmk/ipc/
H A Dipc_kmsg.c5546 ipc_port_t dst_port, src_port; in ipc_kmsg_trace_send() local
5620 src_port = msg->msgh_local_port; in ipc_kmsg_trace_send()
5621 if (src_port) { in ipc_kmsg_trace_send()
5622 if (src_port->ip_messages.imq_qlimit != MACH_PORT_QLIMIT_DEFAULT) { in ipc_kmsg_trace_send()
/xnu-11215/bsd/net/
H A Dpf_ioctl.c2946 dn_event.dn_event_rule_config.src_port = rule->src.xport.range.port[0]; in pfioctl_ioc_rule()
H A Dpf.c6259 dnflow.fwa_id.src_port = ntohs(pf_pd_get_hdr_tcp(pd)->th_sport); in pf_test_dummynet()
6264 dnflow.fwa_id.src_port = ntohs(pf_pd_get_hdr_udp(pd)->uh_sport); in pf_test_dummynet()