/bionic/libc/bionic/ |
D | netinet_in.cpp | 56 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/ |
D | nf_conntrack_tuple_common.h | 32 __be16 port; member 35 __be16 port; member 41 __be16 port; member 44 __be16 port; member
|
/bionic/libc/tools/ |
D | genserv.py | 18 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/ |
D | getservent.c | 44 int port; in getservent_r() local 85 port = ((((unsigned char*)p)[0] << 8) | in getservent_r() 88 rs->servent.s_port = htons(port); in getservent_r() 137 struct servent* getservbyport(int port, const char* proto) { in getservbyport() argument 145 if (s->s_port == port && (proto == NULL || strcmp(s->s_proto, proto) == 0)) { in getservbyport()
|
D | getnameinfo.c | 180 u_short port; in getnameinfo_inet() local 210 port = ((const struct sockinet *)(const void *)sa)->si_port; in getnameinfo_inet() 224 sp = getservbyport(port, in getnameinfo_inet() 232 snprintf(numserv, sizeof(numserv), "%u", ntohs(port)); in getnameinfo_inet()
|
D | getaddrinfo.c | 1146 int port; in get_port() local 1182 port = str2number(servname); in get_port() 1183 if (port >= 0) { in get_port() 1186 if (port < 0 || port > 65535) in get_port() 1188 port = htons(port); in get_port() 1207 port = sp->s_port; in get_port() 1214 ai->ai_addr)->sin_port = port; in get_port() 1219 ai->ai_addr)->sin6_port = port; in get_port()
|
/bionic/libc/kernel/uapi/linux/ |
D | qrtr.h | 50 __le32 port; member 54 __le32 port; member
|
D | ip_vs.h | 100 __be16 port; member 109 __be16 port; member 135 __be16 port; member 146 __be16 port; member 159 __be16 port; member
|
D | rds.h | 207 #define RDS_CONG_MONITOR_BIT(port) (((unsigned int) port) % RDS_CONG_MONITOR_SIZE) argument 208 #define RDS_CONG_MONITOR_MASK(port) (1ULL << RDS_CONG_MONITOR_BIT(port)) argument
|
D | kernelcapi.h | 30 unsigned int port; member
|
D | dns_resolver.h | 69 __u16 port; member
|
D | serial.h | 26 unsigned int port; member
|
D | scif_ioctl.h | 24 __u16 port; member
|
D | switchtec_ioctl.h | 130 __u32 port; member
|
D | tipc.h | 72 struct tipc_socket_addr port; member
|
D | inet_diag.h | 91 int port; member
|
D | usbdevice_fs.h | 103 char port[127]; member
|
D | if.h | 126 unsigned char port; member
|
D | ethtool.h | 31 __u8 port; member 873 __u8 port; member
|
/bionic/libc/kernel/uapi/xen/ |
D | evtchn.h | 35 unsigned int port; member 39 unsigned int port; member
|
/bionic/libc/kernel/uapi/rdma/hfi/ |
D | hfi1_user.h | 82 __aligned_u64 port; member
|
/bionic/libc/kernel/uapi/sound/ |
D | sfnt_info.h | 138 int port; member
|
D | asequencer.h | 86 unsigned char port; member
|
/bionic/libc/kernel/uapi/scsi/ |
D | cxlflash_ioctl.h | 157 __u16 port; member
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 188 int port = 1025 + (res_randomid() % (65535-1025)); in random_bind() local 190 u.sin.sin_port = htons(port); in random_bind() 192 u.sin6.sin6_port = htons(port); in random_bind()
|