Home
last modified time | relevance | path

Searched refs:s_port (Results 1 – 20 of 20) sorted by relevance

/external/libpcap/
Dnametoaddr.c184 if (sp != NULL) tcp_port = ntohs(sp->s_port); in pcap_nametoport()
186 if (sp != NULL) udp_port = ntohs(sp->s_port); in pcap_nametoport()
/external/ppp/pppd/plugins/radius/
Dconfig.c113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()
118 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port); in set_option_srv()
/external/qemu/slirp-android/
Dudp.c454 uint16_t s_port; // source port in udp_emu() member
477 cu_head->s_port = htons( sock_address_get_port(&sockaddr)); in udp_emu()
/external/libppp/src/
Dtcp.c78 dest.sin_port = sp->s_port; in tcp_OpenConnection()
Dudp.c222 dev->sock.sin_port = sp->s_port; in udp_CreateDevice()
Dnat_cmd.c337 *port = ntohs(sp->s_port); in StrToPort()
Dfilter.c84 return ntohs(servent->s_port); in ParsePort()
Dcommand.c1517 iport = ntohs(s->s_port); in SetServer()
/external/dropbear/
Dfake-rfc2553.c168 port = sp->s_port; in getaddrinfo()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c176 port = sp->s_port; in getaddrinfo()
/external/quake/quake/src/QW/qwfwd/
Dqwfwd.c117 sin.sin_port = pse->s_port; in connectsock()
/external/qemu/slirp/
Dudp.c429 uint16_t s_port; // source port in udp_emu() member
621 cu_head->s_port = addr.sin_port; in udp_emu()
/external/openssl/apps/
Ds_socket.c561 *port_ptr=ntohs((unsigned short)s->s_port); in extract_port()
/external/quake/quake/src/WinQuake/
Dmpdosock.h170 short s_port; /* port # */ member
/external/openssl/crypto/bio/
Db_sock.c200 *port_ptr=ntohs((unsigned short)s->s_port); in BIO_get_port()
/external/iproute2/misc/
Dss.c1112 if (se1 && se2 && se1->s_port != se2->s_port) { in parse_hostcond()
1119 a.port = ntohs(se1->s_port); in parse_hostcond()
/external/tcpdump/
Daddrtoname.c696 int port = ntohs(sv->s_port); in init_servarray()
/external/tcpdump/missing/
Dgetaddrinfo.c1083 port = sp->s_port;
/external/openssh/
Dssh.c730 options.port = sp ? ntohs(sp->s_port) : SSH_DEFAULT_PORT; in main()
/external/iptables/iptables/
Dxtables.c477 return ntohs((unsigned short) service->s_port); in xtables_service_to_port()