Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 12 of 12) sorted by relevance

/bionic/libc/netbsd/net/
Dgetservbyport.c33 getservbyport(int port, const char *proto) in getservbyport() argument
38 if (rs == NULL || proto == NULL) { in getservbyport()
48 if ( s->s_port == port && !strcmp( s->s_proto, proto ) ) in getservbyport()
Dgetservbyname.c34 getservbyname(const char *name, const char *proto) in getservbyname() argument
39 if (rs == NULL || proto == NULL || name == NULL) { in getservbyname()
49 if ( !strcmp( s->s_name, name ) && !strcmp( s->s_proto, proto ) ) in getservbyname()
Dgetaddrinfo.c1140 const char *proto; in get_port() local
1191 proto = "udp"; in get_port()
1194 proto = "tcp"; in get_port()
1197 proto = NULL; in get_port()
1201 if ((sp = getservbyname(servname, proto)) == NULL) in get_port()
/bionic/libc/kernel/common/linux/
Dif_arcnet.h45 uint8_t proto; member
55 uint8_t proto; member
62 uint8_t proto; member
71 uint8_t proto; member
Dif_tun.h76 __be16 proto; member
Dmod_devicetable.h114 __u8 proto; member
Drtnetlink.h344 __u8 proto; member
/bionic/libc/tools/
Dgenserv.py18 def __init__(self,name,port,proto): argument
21 self.proto = proto
30 if self.proto == "tcp":
/bionic/libc/kernel/common/linux/netfilter_ipv4/
Dipt_ECN.h37 } proto; member
Dip_tables.h39 u_int16_t proto; member
/bionic/libc/kernel/common/linux/lockd/
Dxdr.h77 u32 proto; member
/bionic/libc/kernel/common/linux/netfilter_ipv6/
Dip6_tables.h39 u_int16_t proto; member