Lines Matching +full:chan +full:- +full:name
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
56 int cap_bind(cap_channel_t *chan, int s, const struct sockaddr *addr,
58 int cap_connect(cap_channel_t *chan, int s, const struct sockaddr *name,
61 int cap_getaddrinfo(cap_channel_t *chan, const char *hostname,
63 int cap_getnameinfo(cap_channel_t *chan, const struct sockaddr *sa,
68 cap_net_limit_t *cap_net_limit_init(cap_channel_t *chan, uint64_t mode);
80 const char *name, const char *serv);
89 struct hostent *cap_gethostbyname(cap_channel_t *chan, const char *name);
90 struct hostent *cap_gethostbyname2(cap_channel_t *chan, const char *name,
92 struct hostent *cap_gethostbyaddr(cap_channel_t *chan, const void *addr,
96 #define cap_bind(chan, s, addr, addrlen) \ argument
98 #define cap_connect(chan, s, name, namelen) \ argument
99 connect(s, name, namelen)
100 #define cap_getaddrinfo(chan, hostname, servname, hints, res) \ argument
102 #define cap_getnameinfo(chan, sa, salen, host, hostlen, serv, servlen, flags) \ argument
106 #define cap_net_limit_init(chan, mode) ((cap_net_limit_t *)malloc(8)) argument
138 const char *name __unused, const char *serv __unused) in cap_net_limit_name2addr()
158 #define cap_gethostbyname(chan, name) gethostbyname(name) argument
159 #define cap_gethostbyname2(chan, name, type) gethostbyname2(name, type) argument
160 #define cap_gethostbyaddr(chan, addr, len, type) gethostbyaddr(addr, len, type) argument