Home
last modified time | relevance | path

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

/external/openssl/apps/
Ds_cb.c732 length += sizeof(peer.s6.sin6_port); in generate_cookie_callback()
760 &peer.s6.sin6_port, in generate_cookie_callback()
761 sizeof(peer.s6.sin6_port)); in generate_cookie_callback()
762 memcpy(buffer + sizeof(peer.s6.sin6_port), in generate_cookie_callback()
813 length += sizeof(peer.s6.sin6_port); in verify_cookie_callback()
841 &peer.s6.sin6_port, in verify_cookie_callback()
842 sizeof(peer.s6.sin6_port)); in verify_cookie_callback()
843 memcpy(buffer + sizeof(peer.s6.sin6_port), in verify_cookie_callback()
/external/ipsec-tools/src/racoon/
Dsockmisc.c175 port1 = ((struct sockaddr_in6 *)addr1)->sin6_port;
176 port2 = ((struct sockaddr_in6 *)addr2)->sin6_port;
238 port1 = ((struct sockaddr_in6 *)addr1)->sin6_port;
239 port2 = ((struct sockaddr_in6 *)addr2)->sin6_port;
452 sin6->sin6_port =
453 ((struct sockaddr_in6 *)&ss)->sin6_port;
488 sin6->sin6_port =
489 ((struct sockaddr_in6 *)&ss)->sin6_port;
1137 port = ((struct sockaddr_in6 *)addr)->sin6_port; in extract_port()
1160 port_ptr = &(((struct sockaddr_in6 *)addr)->sin6_port); in get_port_ptr()
Dnattraversal.c142 addr_port = &((struct sockaddr_in6 *)addr)->sin6_port; in natt_hash_addr()
Dipsec_doi.c4126 port = ((struct sockaddr_in6 *)(saddr))->sin6_port;
4287 ((struct sockaddr_in6 *)saddr)->sin6_port =
4421 saddr_in6->sin6_port = IPSEC_PORT_ANY;
4523 saddr_in6->sin6_port = IPSEC_PORT_ANY;
/external/dnsmasq/src/
Dnetwork.c221 addr.in6.sin6_port = htons(daemon->port); in iface_allowed_v6()
277 addr.in6.sin6_port = htons(port); in create_ipv6_listener()
515 addr.in6.sin6_port = port; in random_sock()
547 addr_copy.in6.sin6_port = 0; in local_bind()
582 addr->in6.sin6_port == htons(0)) in allocate_sfd()
641 addr.in6.sin6_port = htons(daemon->query_port); in pre_allocate_sfds()
799 addr.in6.sin6_port = htons(NAMESERVER_PORT); in set_servers()
801 source_addr.in6.sin6_port = htons(daemon->query_port); in set_servers()
912 addr.in6.sin6_port = htons(NAMESERVER_PORT); in reload_servers()
914 source_addr.in6.sin6_port = htons(daemon->query_port); in reload_servers()
Dutil.c262 s1->in6.sin6_port == s2->in6.sin6_port && in sockaddr_isequal()
339 port = ntohs(addr->in6.sin6_port); in prettyprint_addr()
Ddbus.c159 addr.in6.sin6_port = htons(NAMESERVER_PORT); in dbus_read_servers()
163 source_addr.in6.sin6_port = htons(daemon->query_port); in dbus_read_servers()
Doption.c1479 newlist->addr.in6.sin6_port = htons(serv_port); in one_opt()
1480 newlist->source_addr.in6.sin6_port = htons(source_port); in one_opt()
2885 tmp->source_addr.in6.sin6_port = htons(daemon->query_port); in read_opts()
2898 tmp->addr.in6.sin6_port = htons(daemon->port); in read_opts()
/external/dropbear/
Dfake-rfc2553.h75 u_int16_t sin6_port; member
/external/kernel-headers/original/linux/
Din6.h56 __u16 sin6_port; /* Transport layer port # */ member
/external/qemu/
Dqemu-sockets.c40 return ntohs(i6->sin6_port); in inet_getport()
57 i6->sin6_port = htons(port); in inet_setport()
Dsockets.c527 dst->sin6_port = htons(a->u.in6.port); in sock_address_to_bsd()
605 a->u.in6.port = ntohs(src->sin6_port); in sock_address_from_bsd()
/external/chromium/net/base/
Daddress_list.cc74 return &sockaddr->sin6_port; in GetPortField()
Dnet_util_unittest.cc411 addr6->sin6_port = htons(80); in GetIPv6Address()
Dhost_resolver_impl_unittest.cc351 EXPECT_TRUE(htons(kPortnum) == sa_in6->sin6_port); in TEST_F()
/external/libxml2/
Dnanoftp.c915 ((struct sockaddr_in6 *) &ctxt->ftpAddr)->sin6_port = htons (port); in xmlNanoFTPConnect()
1444 ((struct sockaddr_in6 *)&dataAddr)->sin6_port = htons (temp[0]); in xmlNanoFTPGetConnection()
1472 ((struct sockaddr_in6 *)&dataAddr)->sin6_port = 0; in xmlNanoFTPGetConnection()
1495 portp = (unsigned char *) &((struct sockaddr_in6 *)&dataAddr)->sin6_port; in xmlNanoFTPGetConnection()
Dnanohttp.c1027 sockin6.sin6_port = htons (port); in xmlNanoHTTPConnectHost()
1113 sockin6.sin6_port = htons (port); in xmlNanoHTTPConnectHost()
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius_client.c811 serv6.sin6_port = htons(nserv->port); in radius_change_server()
837 claddr6.sin6_port = htons(0); in radius_change_server()
873 ntohs(claddr6.sin6_port)); in radius_change_server()
Dradius_server.c701 from_port = ntohs(from.sin6.sin6_port); in radius_server_receive_auth()
832 addr.sin6_port = htons(port); in radius_server_open_socket6()
/external/ipsec-tools/src/libipsec/
Dkey_debug.c804 printf(" port=%u\n", ntohs(sin6->sin6_port));
/external/tcpdump/missing/
Dgetaddrinfo.c1093 ((struct sockaddr_in6 *)ai->ai_addr)->sin6_port = port;
/external/bluetooth/hcidump/src/
Dhcidump.c667 ((struct sockaddr_in6 *) &ss)->sin6_port = 0; in open_connection()
/external/strace/
Dnet.c991 ntohs(addrbuf.sa6.sin6_port), string_addr,
/external/wpa_supplicant/
Dradius_client.c809 serv6.sin6_port = htons(nserv->port); in radius_change_server()
/external/netperf/
Dnettest_bsd.c802 return(ntohs(foo->sin6_port)); in get_port_number()
828 foo->sin6_port = htons(port); in set_port_number()