Searched refs:proto (Results 1 – 12 of 12) sorted by relevance
33 getservbyport(int port, const char *proto) in getservbyport() argument38 if (rs == NULL || proto == NULL) { in getservbyport()48 if ( s->s_port == port && !strcmp( s->s_proto, proto ) ) in getservbyport()
34 getservbyname(const char *name, const char *proto) in getservbyname() argument39 if (rs == NULL || proto == NULL || name == NULL) { in getservbyname()49 if ( !strcmp( s->s_name, name ) && !strcmp( s->s_proto, proto ) ) in getservbyname()
1140 const char *proto; in get_port() local1191 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()
45 uint8_t proto; member55 uint8_t proto; member62 uint8_t proto; member71 uint8_t proto; member
76 __be16 proto; member
114 __u8 proto; member
344 __u8 proto; member
18 def __init__(self,name,port,proto): argument21 self.proto = proto30 if self.proto == "tcp":
37 } proto; member
39 u_int16_t proto; member
77 u32 proto; member