Home
last modified time | relevance | path

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

12

/external/bcc/examples/networking/http_filter/
Dhttp-parse-complete.c11 unsigned short src_port; //source port member
79 key.src_port = tcp->src_port; in http_filter()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_sock_fields_kern.c96 dst->src_port = src->src_port; in skcpy()
170 if (sk->src_port == bpf_ntohs(srv_sa6->sin6_port)) in egress_read_sock_fields()
172 else if (sk->src_port == bpf_ntohs(cli_sa6->sin6_port)) in egress_read_sock_fields()
230 if (!srv_sa6 || sk->src_port != bpf_ntohs(srv_sa6->sin6_port)) in ingress_read_sock_fields()
Dconnect4_prog.c48 sk->src_port != DST_REWRITE_PORT4) { in connect_v4_prog()
Dconnect6_prog.c63 sk->src_port != DST_REWRITE_PORT6) { in connect_v6_prog()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/infrastructure/
Dtraffic_director.py196 src_port: int,
261 def create_forwarding_rule(self, src_port: int):
263 src_port = int(src_port)
266 name, self.network, src_port, self.target_proxy.url)
267 resource = self.compute.create_forwarding_rule(name, src_port,
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_flow_dissector.sh109 udp src_port 9 action drop
145 udp src_port 9 action drop
Dtest_sock.c104 offsetof(struct bpf_sock, src_port)),
239 offsetof(struct bpf_sock, src_port)),
269 offsetof(struct bpf_sock, src_port)),
Dtest_sock_fields.c99 src_ip6, sk->src_port, in print_sk()
191 listen_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result()
205 srv_sk.src_port != ntohs(srv_sa6.sin6_port) || in check_result()
218 cli_sk.src_port != ntohs(cli_sa6.sin6_port) || in check_result()
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c77 uint16_t src_port = htons(port - 1); in setup_client() local
82 update_packet_field(&off, &src_port, 2); in setup_client()
/external/kernel-headers/original/uapi/linux/
Dvsockmon.h37 __le32 src_port; member
Dvirtio_vsock.h56 __le32 src_port; member
Dopenvswitch.h493 __be16 src_port; member
501 __be16 src_port; member
/external/rust/crates/grpcio-sys/grpc/test/core/security/
Devaluate_args_test.cc55 int src_port = evaluate_args_->GetLocalPort(); in TEST_F() local
56 EXPECT_EQ(src_port, local_port_); in TEST_F()
/external/pdfium/core/fxge/dib/
Dcfx_dibbase.cpp74 const uint8_t* src_port = scan_line + col * bpp; in CFX_Palette() local
75 uint32_t b = src_port[0] & 0xf0; in CFX_Palette()
76 uint32_t g = src_port[1] & 0xf0; in CFX_Palette()
77 uint32_t r = src_port[2] & 0xf0; in CFX_Palette()
354 const uint8_t* src_port = src_scan + col * bpp; in ConvertBuffer_Rgb2PltRgb8() local
355 int r = src_port[2] & 0xf0; in ConvertBuffer_Rgb2PltRgb8()
356 int g = src_port[1] & 0xf0; in ConvertBuffer_Rgb2PltRgb8()
357 int b = src_port[0] & 0xf0; in ConvertBuffer_Rgb2PltRgb8()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/framework/infrastructure/gcp/
Dcompute.py176 src_port: int,
186 'portRange': src_port,
/external/tensorflow/tensorflow/core/graph/
Dgraph_partition.cc134 int src_port = edge->src_output(); in NeedSameDeviceSendRecv() local
137 auto src_it = info.output_types.find({src->id(), src_port}); in NeedSameDeviceSendRecv()
203 const int src_port = edge->src_output(); in AddSend() local
208 auto src_it = g_info.output_types.find({src->id(), src_port}); in AddSend()
277 const int src_port = edge->src_output(); in AddRecv() local
278 auto src_it = g_info.output_types.find({src->id(), src_port}); in AddRecv()
/external/bcc/tests/python/
Dproto.b100 u16 src_port:16;
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dgeneric_layout_optimizer_transposer.cc420 for (int src_port : src_ports) { in UpdateFanoutEdgesWithOp() local
421 const auto& fanouts_src_port = src_node->GetRegularFanout(src_port); in UpdateFanoutEdgesWithOp()
430 GetFanoutNameFormat(src_node->GetName(), src_port, in UpdateFanoutEdgesWithOp()
434 /*is_src_format_to_dst_format=*/false, src_port, fanout.index(), in UpdateFanoutEdgesWithOp()
489 bool is_src_format_to_dst_format, const int src_port, const int dst_port, in UpdateEdge() argument
506 ->GetOutputProperties(src_node->GetName())[src_port] in UpdateEdge()
515 input_shape_proto = input_shape->list().shape(src_port); in UpdateEdge()
519 input_shape_proto = src_node_shape_attr->list().shape(src_port); in UpdateEdge()
535 parsed_name.type != "CPU" && IsHostMemory(*src_node_def, src_port); in UpdateEdge()
551 {src_node->GetName(), src_port}); in UpdateEdge()
/external/usrsctp/fuzzer/
Dpcap2corpus.c63 uint16_t src_port; /* source port */ member
/external/usrsctp/usrsctplib/netinet/
Dsctp.h61 uint16_t src_port; /* source port */ member
/external/toolchain-utils/cros_utils/
Dcommand_executer.py458 src_port=None, argument
486 cros_port = src_port
/external/usrsctp/usrsctplib/
Duser_recv_thread.c392 src.sin_port = sh->src_port; in recv_function_raw()
593 src.sin6_port = sh->src_port; in recv_function_raw6()
798 src.sin_port = sh->src_port; in recv_function_udp()
986 src.sin6_port = sh->src_port; in recv_function_udp6()
/external/bcc/src/lua/bpf/spec/
Dcodegen_spec.lua195 return eth.ip.udp.src_port -- need to skip variable-length header
/external/python/cpython3/Lib/test/
Dtest_smtplib.py275 src_port = socket_helper.find_unused_port()
279 source_address=(self.host, src_port))
281 self.assertEqual(smtp.source_address, (self.host, src_port))
286 self.skipTest("couldn't bind to source port %d" % src_port)
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_l3_drops.sh200 flower ip_proto udp src_port 54321 dst_port 12345 action drop

12