Home
last modified time | relevance | path

Searched refs:sin6_port (Results 1 – 25 of 106) sorted by relevance

12345

/external/ltp/testcases/network/lib6/
Dgetaddrinfo_01.c556 err |= psin6->sin6_port != 0; in gaiv6()
567 psin6 ? psin6->sin6_port : 0, in gaiv6()
568 psin6 ? htons(psin6->sin6_port) : 0); in gaiv6()
633 err |= psin6->sin6_port != htons(servnum); in gaiv6()
644 psin6 ? psin6->sin6_port : 0, in gaiv6()
645 psin6 ? htons(psin6->sin6_port) : 0); in gaiv6()
682 err |= psin6->sin6_port != servnum; in gaiv6()
693 psin6 ? psin6->sin6_port : 0, in gaiv6()
694 psin6 ? htons(psin6->sin6_port) : 0); in gaiv6()
750 err |= psin6->sin6_port != servnum; in gaiv6()
[all …]
/external/toybox/toys/pending/
Dtftp.c80 ((struct sockaddr_in6 *)server)->sin6_port = htons(port);
285 if (TT.af == AF_INET6) ((struct sockaddr_in6 *)&server)->sin6_port = 0; in file_get()
308 ((TT.af == AF_INET6) && ((struct sockaddr_in6 *)&server)->sin6_port in file_get()
309 && (((struct sockaddr_in6 *)&server)->sin6_port != in file_get()
310 ((struct sockaddr_in6 *)&from)->sin6_port))) { in file_get()
339 if ((TT.af == AF_INET6) && !((struct sockaddr_in6 *)&server)->sin6_port) in file_get()
340 ((struct sockaddr_in6 *)&server)->sin6_port = in file_get()
341 ((struct sockaddr_in6 *)&from)->sin6_port; in file_get()
/external/autotest/client/tests/ipv6connect/src/
Dipv6connect.c62 sa.sin6_port = port; in ConnectAndAccept()
110 sa.sin6_port = 0; in CreateServer()
123 *port = sa.sin6_port; in CreateServer()
140 sa.sin6_port = 0; in CreateServerConnectAndAccept()
182 sa4.sin_port = sa.sin6_port; in CreateServerConnectAndAccept()
233 sa.sin6_port = 0; in ThreadedStartServer()
322 sa4.sin_port = sa.sin6_port; in ThreadedCreateServerConnectAndAccept()
/external/ltp/utils/sctp/func_tests/
Dtest_basic.c106 loop1.v6.sin6_port = htons(SCTP_TESTPORT_1); in main()
110 loop2.v6.sin6_port = htons(SCTP_TESTPORT_2); in main()
203 if (msgname.v6.sin6_port != htons(SCTP_TESTPORT_1)) { in main()
259 if (msgname.v6.sin6_port != htons(SCTP_TESTPORT_1)) { in main()
367 ntohs(in6_addr->sin6_port)); in main()
397 ntohs(in6_addr->sin6_port)); in main()
422 if (msgname.v6.sin6_port != htons(SCTP_TESTPORT_1)) { in main()
Dtest_inaddr_any.c98 loop.v6.sin6_port = 0; in main()
102 anyaddr.v6.sin6_port = 0; in main()
144 loop.v6.sin6_port = anyaddr.v6.sin6_port; in main()
Dtest_tcp_style.c94 svr_loop.v6.sin6_port = htons(SCTP_TESTPORT_1); in main()
98 clt_loop[i].v6.sin6_port = htons(SCTP_TESTPORT_2 + i); in main()
102 clt2_loop.v6.sin6_port = htons(SCTP_TESTPORT_2 + i); in main()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c101 ntohs(from->sin6_port)); in wpa_supplicant_ctrl_iface_attach()
126 if (from->sin6_port == dst->addr.sin6_port &&
132 ntohs(from->sin6_port));
173 if (from->sin6_port == dst->addr.sin6_port &&
179 ntohs(from->sin6_port));
437 addr.sin6_port = htons(port);
540 ntohs(dst->addr.sin6_port));
/external/ltp/lib/
Dtst_net.c49 addr6->sin6_port = 0; in tst_get_unused_port()
76 return addr6->sin6_port; in tst_get_unused_port()
Dsafe_net.c52 if (ntohs(sin6->sin6_port) != 0) { in tst_sock_addr()
54 ntohs(sin6->sin6_port)); in tst_sock_addr()
/external/parameter-framework/asio-1.10.6/include/asio/ip/detail/impl/
Dendpoint.ipp50 data_.v6.sin6_port =
83 data_.v6.sin6_port =
114 data_.v6.sin6_port);
127 data_.v6.sin6_port
/external/strace/tests/
Dnet-sockaddr.c185 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
197 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
212 in6->sin6_port = htons(h_port); in check_in6()
229 in6->sin6_port = htons(h_port); in check_in6()
243 in6->sin6_port = htons(h_port); in check_in6()
256 in6->sin6_port = 0; in check_in6()
/external/strace/tests-mx32/
Dnet-sockaddr.c185 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
197 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
212 in6->sin6_port = htons(h_port); in check_in6()
229 in6->sin6_port = htons(h_port); in check_in6()
243 in6->sin6_port = htons(h_port); in check_in6()
256 in6->sin6_port = 0; in check_in6()
/external/strace/tests-m32/
Dnet-sockaddr.c185 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
197 ntohs(in6->sin6_port), h_addr, in check_in6_linklocal()
212 in6->sin6_port = htons(h_port); in check_in6()
229 in6->sin6_port = htons(h_port); in check_in6()
243 in6->sin6_port = htons(h_port); in check_in6()
256 in6->sin6_port = 0; in check_in6()
/external/ipsec-tools/src/racoon/
Dsockmisc.c179 port1 = ((struct sockaddr_in6 *)addr1)->sin6_port;
180 port2 = ((struct sockaddr_in6 *)addr2)->sin6_port;
242 port1 = ((struct sockaddr_in6 *)addr1)->sin6_port;
243 port2 = ((struct sockaddr_in6 *)addr2)->sin6_port;
463 sin6->sin6_port =
464 ((struct sockaddr_in6 *)&ss)->sin6_port;
499 sin6->sin6_port =
500 ((struct sockaddr_in6 *)&ss)->sin6_port;
1152 port = ((struct sockaddr_in6 *)addr)->sin6_port; in extract_port()
1175 port_ptr = &(((struct sockaddr_in6 *)addr)->sin6_port); in get_port_ptr()
/external/linux-kselftest/tools/testing/selftests/net/
Dreuseport_bpf_cpu.c52 addr6->sin6_port = htons(PORT); in build_rcv_group()
117 saddr6->sin6_port = 0; in send_from_cpu()
122 daddr6->sin6_port = htons(PORT); in send_from_cpu()
/external/wpa_supplicant_8/src/common/
Dctrl_iface_common.c45 if (in6_a->sin6_port != in6_b->sin6_port) in sockaddr_compare()
/external/dnsmasq/src/
Dnetwork.c226 addr.in6.sin6_port = htons(daemon->port); in iface_allowed_v6()
290 addr.in6.sin6_port = htons(port); in create_ipv6_listener()
747 addr.in6.sin6_port = port; in random_sock()
779 addr_copy.in6.sin6_port = 0; in local_bind()
817 addr->in6.sin6_port == htons(0)) in allocate_sfd()
878 addr.in6.sin6_port = htons(daemon->query_port); in pre_allocate_sfds()
1165 addr.in6.sin6_port = htons(NAMESERVER_PORT); in set_servers()
1168 source_addr.in6.sin6_port = htons(daemon->query_port); in set_servers()
1273 addr.in6.sin6_port = htons(NAMESERVER_PORT); in reload_servers()
1276 source_addr.in6.sin6_port = htons(daemon->query_port); in reload_servers()
/external/ltp/tools/netpipe-2.4-ipv6/
DTCP.c95 p->prot.sin1.sin6_port = htons(p->port); in Setup()
102 p->prot.sin1.sin6_port = htons(p->port); in Setup()
124 p->prot.sin1.sin6_port = htons(p->port); in Setup()
/external/libevent/
Dipv6-internal.h65 ev_uint16_t sin6_port; member
Devutil.c578 sin6.sin6_port = htons(53); in evutil_check_interfaces()
844 sin6.sin6_port = htons(port); in evutil_getaddrinfo_common()
889 sin6.sin6_port = htons(port); in evutil_getaddrinfo_common()
1011 sin6.sin6_port = htons(port); in addrinfo_from_hostent()
1150 sin6->sin6_port = htons(port); in apply_numeric_port_hack()
1866 sin6.sin6_port = htons(port); in evutil_parse_sockaddr_port()
1914 port = ntohs(sin6->sin6_port); in evutil_format_sockaddr_port()
1956 (r = ((int)sin1->sin6_port - (int)sin2->sin6_port))) in evutil_sockaddr_cmp()
/external/c-ares/
Dares_getnameinfo.c114 port = addr6->sin6_port; in ares_getnameinfo()
225 service = lookup_service(niquery->addr.addr6.sin6_port, in nameinfo_callback()
275 service = lookup_service(niquery->addr.addr6.sin6_port, in nameinfo_callback()
Dares_ipv6.h28 unsigned short sin6_port; member
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/lib/
Dlibrpc-tirpc.c44 addr6->sin6_port = 0; in bound_socket()
/external/deqp/framework/delibs/deutil/
DdeSocket.c242 DE_STATIC_ASSERT(sizeof(((struct sockaddr_in6*)DE_NULL)->sin6_port) == sizeof(deUint16));
327 ((struct sockaddr_in6*)bsdAddr)->sin6_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
362 addr6->sin6_port = deHostToNetworkOrder16((deUint16)address->port); in deSocketAddressToBsdAddress()
398 deSocketAddress_setPort(address, (int)deNetworkToHostOrder16((deUint16)addr6->sin6_port)); in deBsdAddressToSocketAddress()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc1181 _remoteRTPAddr._sockaddr_in6.sin6_port = Htons(_destPort); in BuildRemoteRTPAddr()
1210 _remoteRTCPAddr._sockaddr_in6.sin6_port = Htons(_destPortRTCP); in BuildRemoteRTCPAddr()
1255 _localRTPAddr._sockaddr_in6.sin6_port = Htons(_srcPort); in BindRTPSendSocket()
1307 _localRTCPAddr._sockaddr_in6.sin6_port = Htons(_srcPortRTCP); in BindRTCPSendSocket()
1371 stLclName._sockaddr_in6.sin6_port = Htons(_localPort); in BindLocalRTPSocket()
1444 stLclName._sockaddr_in6.sin6_port = Htons(_localPortRTCP); in BindLocalRTCPSocket()
1748 remoteAddr._sockaddr_in6.sin6_port = Htons(portnr); in BuildSockaddrIn()
1888 to._sockaddr_in6.sin6_port = Htons(rtpPort); in SendRTPPacketTo()
1917 to._sockaddr_in6.sin6_port = Htons(rtcpPort); in SendRTCPPacketTo()
2778 source_port = address._sockaddr_in6.sin6_port; in IPAddress()
[all …]

12345