Home
last modified time | relevance | path

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

12

/bionic/libc/bionic/
Dnetinet_in.cpp56 static short port; in bindresvport() local
57 if (port == 0) { in bindresvport()
58 port = START_PORT + (getpid() % NUM_PORTS); in bindresvport()
61 for (size_t i = NUM_PORTS; i > 0; i--, port++) { in bindresvport()
62 if (port == END_PORT) port = START_PORT; in bindresvport()
63 sin->sin_port = htons(port); in bindresvport()
/bionic/libc/kernel/uapi/linux/netfilter/
Dnf_conntrack_tuple_common.h35 __be16 port; member
39 __be16 port; member
46 __be16 port; member
50 __be16 port; member
/bionic/libc/tools/
Dgenserv.py18 def __init__(self,name,port,proto): argument
20 self.port = port
29 result += "\\%0o\\%0o" % (((self.port >> 8) & 255), self.port & 255)
/bionic/libc/dns/net/
Dgetservbyport.c33 getservbyport(int port, const char *proto) in getservbyport() argument
47 if ( s->s_port == port && !strcmp( s->s_proto, proto ) ) in getservbyport()
Dgetservent.c59 int port; in getservent_r() local
100 port = ((((unsigned char*)p)[0] << 8) | in getservent_r()
103 rs->servent.s_port = htons(port); in getservent_r()
Dgetnameinfo.c170 u_short port; in getnameinfo_inet() local
200 port = ((const struct sockinet *)(const void *)sa)->si_port; in getnameinfo_inet()
214 sp = getservbyport(port, in getnameinfo_inet()
222 snprintf(numserv, sizeof(numserv), "%u", ntohs(port)); in getnameinfo_inet()
Dgetaddrinfo.c1141 int port; in get_port() local
1177 port = str2number(servname); in get_port()
1178 if (port >= 0) { in get_port()
1181 if (port < 0 || port > 65535) in get_port()
1183 port = htons(port); in get_port()
1202 port = sp->s_port; in get_port()
1209 ai->ai_addr)->sin_port = port; in get_port()
1214 ai->ai_addr)->sin6_port = port; in get_port()
/bionic/libc/kernel/uapi/xen/
Devtchn.h39 unsigned int port; member
44 unsigned int port; member
/bionic/libc/kernel/uapi/linux/
Db1lli.h49 int port; member
59 int port; member
Drds.h141 #define RDS_CONG_MONITOR_BIT(port) (((unsigned int) port) % RDS_CONG_MONITOR_SIZE) argument
142 #define RDS_CONG_MONITOR_MASK(port) (1ULL << RDS_CONG_MONITOR_BIT(port)) argument
Dip_vs.h109 __be16 port; member
120 __be16 port; member
152 __be16 port; member
166 __be16 port; member
182 __be16 port; member
Dkernelcapi.h32 unsigned int port; member
Dserial.h27 unsigned int port; member
Dscif_ioctl.h25 __u16 port; member
Dtipc.h100 struct tipc_portid port; member
Dinet_diag.h101 int port; member
Dusbdevice_fs.h114 char port[127]; member
Dtelephony.h40 port, enumerator
Dif.h127 unsigned char port; member
Dethtool.h34 __u8 port; member
890 __u8 port; member
/bionic/libc/kernel/uapi/sound/
Dsfnt_info.h167 int port; member
Dasequencer.h102 unsigned char port; member
/bionic/libc/kernel/uapi/rdma/
Dib_user_cm.h249 __u8 port; member
289 __u8 port; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dhyperv.h239 union hv_port_id port; member
/bionic/libc/kernel/uapi/rdma/hfi/
Dhfi1_user.h166 __u64 port; member

12