Searched refs:af (Results 1 - 25 of 288) sorted by relevance

1234567891011>>

/macosx-10.10.1/tcpdump-61/tcpdump/missing/
H A Dinet_pton.c51 inet_pton(int af, const char *src, void *dst) argument
53 if (af != AF_INET) {
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dinet_ntop.h27 char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size);
33 #define Curl_inet_ntop(af,addr,buf,size) \
34 inet_ntop(af,addr,buf,(curl_socklen_t)size)
/macosx-10.10.1/ntp-92/scripts/
H A Dchecktime.in71 @af=split(/\s+/,$a);
73 $aba= ($af[4]<0)?-$af[4]:$af[4];
76 ( $af[1] ne $bf[1] ) ? $bf[1] cmp $af[1] :
77 ( ( $af[2] != $bf[2] ) ? ( $bf[2] <=> $af[2] ) :
78 ( ( $aba != $abb ) ? ( $abb <=> $aba ) : ($af[0] cmp $bf[0] ) ) );
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/include/isc/
H A Dnetscope.h39 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid);
/macosx-10.10.1/ntp-92/lib/isc/include/isc/
H A Dnetscope.h39 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid);
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Denc.h44 u_int32_t af; member in struct:enchdr
/macosx-10.10.1/libpcap-48/libpcap/Win32/Src/
H A Dinet_pton.c64 inet_pton(int af, const char *src, void *dst) argument
66 if (af != AF_INET) {
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/
H A Dinter_test.c53 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af,
55 INSIST(ifdata.af == AF_INET || ifdata.af == AF_INET6);
56 res = inet_ntop(ifdata.af, &ifdata.address.type, buf,
65 INSIST(ifdata.address.family == ifdata.af);
66 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf,
69 INSIST(ifdata.netmask.family == ifdata.af);
71 res = inet_ntop(ifdata.af, &ifdata.dstaddress.type,
76 INSIST(ifdata.dstaddress.family == ifdata.af);
100 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af,
[all...]
H A Dgxba_test.c68 int af; local
75 af = AF_INET;
79 af = AF_INET6;
88 he = gethostbyaddr(addr, len, af);
91 he = getipnodebyaddr(addr, len, af, &error);
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dgetipnodebyname.c43 * lookup `name' (address family `af') in DNS and return a pointer
48 getipnodebyname (const char *name, int af, int flags, int *error_num) argument
53 tmp = gethostbyname2 (name, af);
55 if (af != AF_INET) {
H A Dgetipnodebyaddr.c39 * lookup `src, len' (address family `af') in DNS and return a pointer
44 getipnodebyaddr (const void *src, size_t len, int af, int *error_num) argument
48 tmp = gethostbyaddr (src, len, af);
H A Dinet_pton.c41 inet_pton(int af, const char *csrc, void *dst) argument
50 switch (af) {
107 inet_pton(int af, const char *src, void *dst) argument
109 if (af != AF_INET) {
/macosx-10.10.1/Libc-1044.1.2/net/FreeBSD/
H A Dascii2addr.c46 ascii2addr(af, ascii, result)
47 int af;
54 switch(af) {
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbindresvport.c55 int error, af; local
71 af = sa->sa_family;
74 af = sa->sa_family;
76 if (af == AF_INET) {
80 } else if (af == AF_INET6) {
88 sa->sa_family = af;
H A Drresvport.c58 rresvport_af(int *alport, sa_family_t af) argument
69 switch (af) {
82 sa->sa_family = af;
84 s = socket(af, SOCK_STREAM, 0);
99 sa->sa_family = af;
H A Dport-tun.c211 u_int32_t *af; local
215 if (len <= 0 || len > (int)(sizeof(rbuf) - sizeof(*af)))
220 af = (u_int32_t *)ptr;
225 *af = AF_INET6;
229 *af = AF_INET;
238 af = (u_int32_t *)ptr;
239 if (*af == htonl(AF_INET6))
240 *af = htonl(OPENBSD_AF_INET6);
242 *af = htonl(OPENBSD_AF_INET);
253 u_int32_t *af; local
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/include/dns/
H A Dportlist.h46 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port);
48 * Add the given <port,af> tuple to the portlist.
52 *\li 'af' to be AF_INET or AF_INET6
60 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port);
62 * Remove the given <port,af> tuple to the portlist.
66 *\li 'af' to be AF_INET or AF_INET6
70 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port);
72 * Find the given <port,af> tuple to the portlist.
76 *\li 'af' to be AF_INET or AF_INET6
/macosx-10.10.1/OpenSSH-189/openssh/
H A Daddrmatch.c37 sa_family_t af; member in struct:xaddr
52 addr_unicast_masklen(int af) argument
54 switch (af) {
65 masklen_valid(int af, u_int masklen) argument
67 switch (af) {
93 xa->af = AF_INET;
99 xa->af = AF_INET6;
113 * Calculate a netmask of length 'l' for address family 'af' and
118 addr_netmask(int af, u_int l, struct xaddr *n) argument
122 if (masklen_valid(af,
261 addr_hostmask(int af, u_int l, struct xaddr *n) argument
[all...]
/macosx-10.10.1/configd-699.1.5/nwi/
H A Dnetwork_information_priv.h56 sa_family_t af; member in struct:_nwi_ifstate
109 *| | | | opposite (v4 -> v6 and vice versa) af list.
163 * 'af'. 'af' is either AF_INET or AF_INET6.
169 nwi_state_get_ifstate_count(nwi_state_t state, int af) argument
171 return (af == AF_INET)?state->ipv4_count:state->ipv6_count;
182 nwi_state_get_ifstate_with_index(nwi_state_t state, int af, int idx) argument
187 if (idx > nwi_state_get_ifstate_count(state, af)) {
191 if (af == AF_INET6) {
202 * family 'af'
208 nwi_state_get_ifstate_with_name(nwi_state_t state, int af, const char * name) argument
[all...]
H A Dnetwork_information.h70 * for the specified address family 'af'. 'af' is either AF_INET or AF_INET6.
82 nwi_state_get_first_ifstate(nwi_state_t state, int af);
147 * 'ifstate' for the protocol family 'af'.
152 nwi_ifstate_get_next(nwi_ifstate_t ifstate, int af);
209 nwi_state_get_reachability_flags(nwi_state_t nwi_state, int af);
240 nwi_ifstate_get_signature(nwi_ifstate_t ifstate, int af, int * length);
/macosx-10.10.1/Libinfo-459/rpc.subproj/
H A Dbindresvport.c81 int old, error, af; local
96 af = sa->sa_family;
99 af = sa->sa_family;
101 if (af == AF_INET) {
108 } else if (af == AF_INET6) {
119 sa->sa_family = af;
/macosx-10.10.1/network_cmds-457/netstat.tproj/
H A Dmain.c211 int af; /* address family */ variable
221 af = AF_UNSPEC;
246 af = AF_IPX;
248 af = AF_INET;
251 af = AF_INET6;
255 af = PF_KEY;
258 af = AF_UNIX;
260 af = AF_SYSTEM;
324 af = AF_UNIX;
402 if (af
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.h28 idn_stub_gethostbyname2(const char *name, int af);
34 idn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result,
63 idn_stub_getipnodebyname(const char *name, int af, int flags, int *errp);
68 idn_stub_getipnodebyaddr(const void *src, size_t len, int af, int *errp);
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/system/lwresd/
H A Dlwtest.c131 lwres_uint32_t af)
152 if (af == LWRES_ADDRTYPE_V4) {
168 if (addr->family != af || addr->length != len ||
192 test_gnba(const char *target, lwres_uint32_t af, lwres_result_t expected, argument
200 if (af == LWRES_ADDRTYPE_V4) {
211 ret = lwres_getnamebyaddr(ctx, af, len, addrbuf, &res);
266 test_gethostbyname2(const char *name, const char *address, int af) { argument
271 hp = gethostbyname2(name, af);
287 if (af == AF_INET)
291 ret = inet_pton(af, addres
130 test_gabn(const char *target, lwres_result_t expected, const char *address, lwres_uint32_t af) argument
314 test_getipnodebyname(const char *name, const char *address, int af, int v4map, int all) argument
374 test_gethostbyaddr(const char *address, int af, const char *name) argument
413 test_getipnodebyaddr(const char *address, int af, const char *name) argument
455 test_getaddrinfo(const char *name, int af, int v4ok, int v6ok, const char *address) argument
545 test_getnameinfo(const char *address, int af, const char *name) argument
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/dns/
H A Dportlist.c138 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port) { argument
143 REQUIRE(af == AF_INET || af == AF_INET6);
149 if (af == AF_INET)
176 if (af == AF_INET)
189 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port) { argument
193 REQUIRE(af == AF_INET || af == AF_INET6);
199 if (af == AF_INET)
215 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_ argument
[all...]

Completed in 292 milliseconds

1234567891011>>