Lines Matching +full:chan +full:- +full:name
27 .Sh NAME
52 .Fn cap_bind "cap_channel_t *chan" "int s" "const struct sockaddr *addr" "socklen_t addrlen"
54 .Fn cap_connect "cap_channel_t *chan" "int s" "const struct sockaddr *name" "socklen_t namelen"
56 .Fn cap_getaddrinfo "cap_channel_t *chan" "const char *hostname" "const char *servname" "const stru…
58 .Fn cap_getnameinfo "cap_channel_t *chan" "const struct sockaddr *sa" "socklen_t salen" "char *host…
60 .Fn cap_gethostbyname "const cap_channel_t *chan" "const char *name"
62 .Fn cap_gethostbyname2 "const cap_channel_t *chan" "const char *name" "int af"
64 .Fn cap_gethostbyaddr "const cap_channel_t *chan" "const void *addr" "socklen_t len" "int af"
66 .Fn cap_net_limit_init "cap_channel_t *chan" "uint64_t mode"
78 .Fn cap_net_limit_name2addr "cap_net_limit_t *limit" "const char *name" "const char *serv"
108 are reentrant but not thread-safe.
128 .Bd -literal -offset indent -compact
131 CAPNET_NAME2ADDR name resolution is allowed with
135 CAPNET_DEPRECATED_NAME2ADDR name resolution is allowed with
164 to do the name resolution on specific family (AF_INET, AF_INET6, etc.)
226 .Bd -literal
272 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
276 if (cap_connect(capnet, s, res->ai_addr, res->ai_addrlen) < 0)