Home
last modified time | relevance | path

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

12

/third_party/gstreamer/gstplugins_bad/gst/pcapparse/
Dgstpcapparse.c183 self->src_port = -1; in gst_pcap_parse_init()
244 g_value_set_int (value, self->src_port); in gst_pcap_parse_get_property()
281 self->src_port = g_value_get_int (value); in gst_pcap_parse_set_property()
376 guint16 src_port; in gst_pcap_parse_scan_frame() local
457 src_port = GUINT16_FROM_BE (*((guint16 *) (buf_proto + 0))); in gst_pcap_parse_scan_frame()
487 if (self->src_port >= 0 && src_port != self->src_port) in gst_pcap_parse_scan_frame()
Dgstpcapparse.h72 gint32 src_port; member
/third_party/alsa-lib/src/seq/
Dseqmid.c121 int snd_seq_connect_from(snd_seq_t *seq, int myport, int src_client, int src_port) in snd_seq_connect_from() argument
127 subs.sender.port = src_port; in snd_seq_connect_from()
175 int snd_seq_disconnect_from(snd_seq_t *seq, int myport, int src_client, int src_port) in snd_seq_disconnect_from() argument
181 subs.sender.port = src_port; in snd_seq_disconnect_from()
/third_party/lwip/test/unit/tcp/
Dtcp_helper.c48 u16_t src_port, u16_t dst_port, void* data, size_t data_len, in tcp_create_segment_wnd() argument
83 tcphdr->src = htons(src_port); in tcp_create_segment_wnd()
113 u16_t src_port, u16_t dst_port, void* data, size_t data_len, in tcp_create_segment() argument
116 return tcp_create_segment_wnd(src_ip, dst_ip, src_port, dst_port, data, in tcp_create_segment()
Dtcp_helper.h39 u16_t src_port, u16_t dst_port, void* data, size_t data_len,
/third_party/libcoap/src/
Dcoap_io_riot.c119 &udp_hdr->src_port, sizeof(udp_hdr->src_port)); in coap_network_read()
127 .addr.sin6.sin6_port, &udp_hdr->dst_port, sizeof(udp_hdr->src_port)); in coap_network_read()
/third_party/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()
/third_party/nghttp2/src/
Dshrpx_client_handler.cc1478 auto src_port = rb_.pos(); in proxy_protocol_read() local
1498 port_ = make_string_ref(balloc_, StringRef{src_port, src_port + src_portlen}); in proxy_protocol_read()
1647 uint16_t src_port; in proxy_protocol_v2_read() local
1649 memcpy(&src_port, p, sizeof(src_port)); in proxy_protocol_v2_read()
1650 src_port = ntohs(src_port); in proxy_protocol_v2_read()
1656 port_ = util::make_string_ref_uint(balloc_, src_port); in proxy_protocol_v2_read()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Drobust_av.c64 wpabuf_put_be16(buf, type4_param->ip_params.v4.src_port); in wpas_populate_type4_classifier()
75 wpabuf_put_be16(buf, type4_param->ip_params.v6.src_port); in wpas_populate_type4_classifier()
746 res = os_snprintf(pos, rem_len, " src_port=%d", v4->src_port); in write_ipv4_info()
815 res = os_snprintf(pos, rem_len, " src_port=%d", v6->src_port); in write_ipv6_info()
900 type4_param->ip_params.v4.src_port = in set_frame_classifier_type4_ipv4()
966 type4_param->ip_params.v6.src_port = in set_frame_classifier_type4_ipv6()
Dwpa_supplicant_i.h603 u16 src_port; member
614 u16 src_port; member
Dctrl_iface.c11020 param->ip_params.v4.src_port = atoi(pos + 9); in set_type4_frame_classifier()
11022 param->ip_params.v6.src_port = atoi(pos + 9); in set_type4_frame_classifier()
/third_party/alsa-lib/include/
Dseqmid.h336 int snd_seq_connect_from(snd_seq_t *seq, int my_port, int src_client, int src_port);
338 int snd_seq_disconnect_from(snd_seq_t *seq, int my_port, int src_client, int src_port);
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/
Dsctp.h61 uint16_t src_port; /* source port */ member
Dsctp_output.c4099 uint16_t src_port, argument
4357 sctphdr->src_port = src_port;
4834 sctphdr->src_port = src_port;
5033 sctphdr->src_port = src_port;
6070 stc.peerport = sh->src_port;
6356 vtag = sctp_select_a_tag(inp, inp->sctp_lport, sh->src_port, 1);
6372 vtag = sctp_select_a_tag(inp, inp->sctp_lport, sh->src_port, 1);
6673 inp->sctp_lport, sh->src_port, init_chk->init.initiate_tag,
11833 shout->src_port = sh->dest_port;
11834 shout->dest_port = sh->src_port;
Dsctp_pcb.c2415 sin4.sin_port = sh->src_port;
2423 sin6.sin6_port = sh->src_port;
2611 inp_p, netp, sh->src_port, sh->dest_port, 0, vrf_id, 0);
2709 sin6->sin6_port = sh->src_port;
2738 sin->sin_port = sh->src_port;
2752 netp, sh->src_port, sh->dest_port, 1, vrf_id, 0);
6518 flowid = tag ^ ntohs(sh->dest_port) ^ ntohs(sh->src_port);
Dsctp_input.c2616 if ((cookie->peerport != sh->src_port) ||
2810 sin6.sin6_port = sh->src_port;
2824 sin.sin_port = sh->src_port;
2836 sconn.sconn_port = sh->src_port;
6289 src.sin_port = sh->src_port;
6410 flowid = tag ^ ntohs(sh->dest_port) ^ ntohs(sh->src_port);
Dsctputil.c8182 src.sin_port = sh->src_port;
8330 src.sin6_port = sh.src_port;
Dsctp_usrreq.c404 src.sin_port = sh->src_port;
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_recv_thread.c395 src.sin_port = sh->src_port; in recv_function_raw()
596 src.sin6_port = sh->src_port; in recv_function_raw6()
801 src.sin_port = sh->src_port; in recv_function_udp()
989 src.sin6_port = sh->src_port; in recv_function_udp6()
Duser_socket.c3338 src.sconn_port = sh->src_port;
/third_party/python/Lib/test/
Dtest_smtplib.py290 src_port = socket_helper.find_unused_port()
294 source_address=(self.host, src_port))
296 self.assertEqual(smtp.source_address, (self.host, src_port))
301 self.skipTest("couldn't bind to source port %d" % src_port)
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet6/
Dsctp6_usrreq.c219 src.sin6_port = sh->src_port;
470 src.sin6_port = sh.src_port;
/third_party/lwip/src/core/
Dtcp_out.c1833 u16_t src_port, u16_t dst_port, u8_t flags, u16_t wnd) in tcp_output_alloc_header_common() argument
1843 tcphdr->src = lwip_htons(src_port); in tcp_output_alloc_header_common()
/third_party/libbpf/include/uapi/linux/
Dbpf.h6031 __u32 src_port; /* host byte order */ member
/third_party/ffmpeg/libavformat/
Dmov.c4137 int src_port=-1; in test_same_origin() local
4140 …izeof(src_proto), src_auth, sizeof(src_auth), src_host, sizeof(src_host), &src_port, NULL, 0, src); in test_same_origin()
4153 src_port != ref_port) { in test_same_origin()

12