Searched refs:af (Results 26 - 50 of 288) sorted by relevance

1234567891011>>

/macosx-10.10.1/configd-699.1.5/nwi/
H A Dnetwork_information.c89 int af = ifstate->af; local
92 af_alias = (af == AF_INET)?AF_INET6:AF_INET;
407 flags_from_af(int af) argument
409 return ((af == AF_INET)
424 flags |= flags_from_af(ifstate->af);
430 flags |= flags_from_af(alias->af);
442 * for the specified address family 'af'. 'af' is either AF_INET or AF_INET6.
454 nwi_state_get_first_ifstate(nwi_state_t state, int af) argument
503 nwi_ifstate_get_next(nwi_ifstate_t ifstate, int af) argument
575 nwi_state_get_reachability_flags(nwi_state_t nwi_state, int af) argument
664 nwi_ifstate_get_signature(nwi_ifstate_t ifstate, int af, int * length) argument
694 _nwi_ifstate_is_in_list(nwi_ifstate_t ifstate, int af) argument
[all...]
H A Dnetwork_information_priv.c128 nwi_ifstate_get_last(nwi_state_t state, int af, uint32_t** last) argument
135 count = (af == AF_INET) ? &state->ipv4_count
138 idx = (af == AF_INET) ? state->ipv4_count
158 const char * ifname, int af,
167 ifstate = nwi_state_get_ifstate_with_name(state, af, ifname);
180 ifstate = nwi_ifstate_get_last(state, af, &last);
183 ifstate->af = af;
190 switch (af) {
218 nwi_state_clear(nwi_state_t state, int af) argument
157 nwi_insert_ifstate(nwi_state_t state, const char * ifname, int af, uint64_t flags, Rank rank, void * ifa, struct sockaddr * vpn_server_addr, uint32_t reach_flags) argument
233 nwi_state_set_last(nwi_state_t state, int af) argument
[all...]
/macosx-10.10.1/network_cmds-457/netstat.tproj/
H A Dmptcp.c73 int af; local
81 af = src->ss_family;
82 printf(" tcp%d/%-2.2d ", af == AF_INET ? 4 : 6,
87 switch (af) {
111 mptcppr(uint32_t off, char *name, int af) argument
113 #pragma unused(off, name, af)
H A Droute.c141 pr_family(int af) argument
145 switch (af) {
164 printf("\nProtocol Family %d:\n", af);
169 #define WID_DST(af) 18 /* width of destination column */
170 #define WID_GW(af) 18 /* width of gateway column */
171 #define WID_IF(af) 7 /* width of netif column */
173 #define WID_DST(af) \
174 ((af) == AF_INET6 ? (lflag ? 39 : (nflag ? 39: 18)) : 18)
175 #define WID_GW(af) \
176 ((af)
184 pr_rthdr(int af) argument
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/zkt/
H A Dtcap.c69 char *af = ""; /* AF */ /* ansi foreground */ local
86 af = "";
146 if ( (af = tgetstr ("AF", &ap)) ) /* set ansi color foreground */
149 snprintf (colortab[i], sizeof colortab[0], "%s", tparm (af, i));
151 else if ( (af = tgetstr ("Sf", &ap)) ) /* or set color foreground */
153 snprintf (colortab[TC_BLACK], sizeof colortab[0], "%s", tparm (af, 0));
154 snprintf (colortab[TC_BLUE], sizeof colortab[0], "%s", tparm (af, 1));
155 snprintf (colortab[TC_GREEN], sizeof colortab[0], "%s", tparm (af, 2));
156 snprintf (colortab[TC_CYAN], sizeof colortab[0], "%s", tparm (af, 3));
157 snprintf (colortab[TC_RED], sizeof colortab[0], "%s", tparm (af,
[all...]
/macosx-10.10.1/Libc-1044.1.2/net/FreeBSD/
H A Daddr2ascii.c64 addr2ascii(int af, const void *addrp, int len, char *buf) argument
79 switch(af) {
/macosx-10.10.1/apr-32/apr/apr/include/arch/os2/
H A Dapr_arch_networkio.h71 const char *apr_inet_ntop(int af, const void *src, char *dst, apr_size_t size);
72 int apr_inet_pton(int af, const char *src, void *dst);
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/
H A Dnetscope.c33 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { argument
43 if (af != AF_INET6)
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/unix/include/lwres/
H A Dnet.h125 lwres_net_ntop(int af, const void *src, char *dst, size_t size);
128 lwres_net_pton(int af, const char *src, void *dst);
/macosx-10.10.1/curl-83.1.2/curl/lib/
H A Dif2ip.c86 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, argument
99 if(iface->ifa_addr->sa_family == af) {
106 if(af == AF_INET6) {
129 ip = (char *) Curl_inet_ntop(af, addr, ipstr, sizeof(ipstr));
156 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, argument
167 if(!interf || (af != AF_INET))
207 if2ip_result_t Curl_if2ip(int af, unsigned int remote_scope, argument
210 (void) af;
/macosx-10.10.1/ntp-92/lib/isc/
H A Dnetscope.c33 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { argument
43 if (af != AF_INET6)
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dgetnameinfo.c39 doit (int af, argument
49 if (inet_ntop (af, addr, host, hostlen) == NULL)
54 af);
64 } else if (inet_ntop (af, addr, host, hostlen) == NULL)
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dinet_addr_local.c121 static int ial_socket(int af) argument
135 if ((sock = socket(af, SOCK_DGRAM, 0)) < 0) {
137 if (af == AF_INET6) {
161 int af)
187 if (af != AF_UNSPEC && sa->sa_family != af)
249 int af)
263 if (af != AF_INET && af != AF_INET6)
265 "AF_INET6 (%d)", myname, af, AF_INE
159 ial_getifaddrs(INET_ADDR_LIST *addr_list, INET_ADDR_LIST *mask_list, int af) argument
247 ial_siocglif(INET_ADDR_LIST *addr_list, INET_ADDR_LIST *mask_list, int af) argument
343 ial_siocgif(INET_ADDR_LIST *addr_list, INET_ADDR_LIST *mask_list, int af) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dpf_if.c273 pfi_match_addr(struct pfi_dynaddr *dyn, struct pf_addr *a, sa_family_t af) argument
275 switch (af) {
308 pfi_dynaddr_setup(struct pf_addr_wrap *aw, sa_family_t af) argument
334 if (af == AF_INET && dyn->pfid_net == 32)
360 dyn->pfid_af = af;
431 int net2, af; local
442 af = ia->ifa_addr->sa_family;
443 if (af != AF_INET && af != AF_INET6) {
447 if ((flags & PFI_AFLAG_BROADCAST) && af
504 pfi_address_add(struct sockaddr *sa, int af, int net) argument
[all...]
H A Dpf.c209 static void pf_print_addr(struct pf_addr *addr, sa_family_t af);
360 switch (pd->af) {
424 ((sk)->af == AF_INET6 && \
784 if ((diff = a->af - b->af) != 0)
786 switch (a->af) {
827 if ((diff = a->af - b->af) != 0)
875 switch (a->af) {
957 if ((diff = a->af
1095 pf_addrcpy(struct pf_addr *dst, struct pf_addr *src, sa_family_t af) argument
1317 pf_insert_src_node(struct pf_src_node **sn, struct pf_rule *rule, struct pf_addr *src, sa_family_t af) argument
1786 pf_print_addr(struct pf_addr *addr, sa_family_t af) argument
1842 pf_print_sk_host(struct pf_state_host *sh, sa_family_t af, int proto, u_int8_t proto_variant) argument
1869 pf_print_host(struct pf_addr *addr, u_int16_t p, sa_family_t af) argument
2110 pf_change_ap(int dir, struct mbuf *m, struct pf_addr *a, u_int16_t *p, u_int16_t *ic, u_int16_t *pc, struct pf_addr *an, u_int16_t pn, u_int8_t u, sa_family_t af) argument
2230 pf_change_icmp(struct pf_addr *ia, u_int16_t *ip, struct pf_addr *oa, struct pf_addr *na, u_int16_t np, u_int16_t *pc, u_int16_t *h2c, u_int16_t *ic, u_int16_t *hc, u_int8_t u, sa_family_t af) argument
2377 pf_send_tcp(const struct pf_rule *r, sa_family_t af, const struct pf_addr *saddr, const struct pf_addr *daddr, u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack, u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag, u_int16_t rtag, struct ether_header *eh, struct ifnet *ifp) argument
2562 pf_send_icmp(struct mbuf *m, u_int8_t type, u_int8_t code, sa_family_t af, struct pf_rule *r) argument
2626 pf_match_addr(u_int8_t n, struct pf_addr *a, struct pf_addr *m, struct pf_addr *b, sa_family_t af) argument
2670 pf_match_addr_range(struct pf_addr *b, struct pf_addr *e, struct pf_addr *a, sa_family_t af) argument
2905 pf_poolmask(struct pf_addr *naddr, struct pf_addr *raddr, struct pf_addr *rmask, struct pf_addr *saddr, sa_family_t af) argument
2929 pf_addr_inc(struct pf_addr *addr, sa_family_t af) argument
2977 pf_hash(struct pf_addr *inaddr, struct pf_addr *hash, struct pf_poolhashkey *key, sa_family_t af) argument
3018 pf_map_addr(sa_family_t af, struct pf_rule *r, struct pf_addr *saddr, struct pf_addr *naddr, struct pf_addr *init_addr, struct pf_src_node **sn) argument
3135 &rpool->key, af); local
3215 sa_family_t af = pd->af; local
3793 pf_get_wscale(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af) argument
3833 pf_get_mss(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af) argument
3873 pf_calc_mss(struct pf_addr *addr, sa_family_t af, u_int16_t offer) argument
4056 sa_family_t af = pd->af; local
5148 sa_family_t af = pd->af; local
5410 sa_family_t af = pd->af; local
7551 pf_pull_hdr(struct mbuf *m, int off, void *p, int len, u_short *actionp, u_short *reasonp, sa_family_t af) argument
7598 pf_routable(struct pf_addr *addr, sa_family_t af, struct pfi_kif *kif) argument
7644 pf_rtlabel_match(struct pf_addr *addr, sa_family_t af, struct pf_addr_wrap *aw) argument
7987 pf_check_proto_cksum(struct mbuf *m, int off, int len, u_int8_t p, sa_family_t af) argument
[all...]
/macosx-10.10.1/network_cmds-457/mtest.tproj/
H A Dmtest.c283 int af, error; local
289 af = AF_UNSPEC;
309 af = res->ai_family;
319 hints.ai_family = af;
325 if (af != res->ai_family) {
338 af2sock(const int af, int s, int s6) argument
341 if (af == AF_INET)
344 if (af == AF_INET6)
364 int af, error, i, level, n = 0, optname; local
369 af
[all...]
/macosx-10.10.1/bind9-45.101/bind9/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c183 idn_stub_gethostbyname2(const char *name, int af) { argument
184 static struct hostent *(*fp)(const char *name, int af);
189 return ((*fp)(name, af));
230 idn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result, argument
234 static int (*fp)(const char *name, int af, struct hostent *result,
241 return ((*fp)(name, af, result, buffer, buflen, rp, errp));
305 idn_stub_getipnodebyname(const char *name, int af, int flags, int *errp) { argument
306 static struct hostent *(*fp)(const char *name, int af, int flags,
312 return ((*fp)(name, af, flags, errp));
319 idn_stub_getipnodebyaddr(const void *src, size_t len, int af, in argument
[all...]
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/include/isc/
H A Dinterfaceiter.h53 unsigned int af; /*%< Address family. */ member in struct:isc_interface
/macosx-10.10.1/bind9-45.101/bind9/lib/lwres/
H A Dgetipnode.c58 * lwres_getipnodebyname() looks up addresses of protocol family af for
64 * This is used with an af of #AF_INET6, and causes IPv4 addresses
68 * This is used with an af of #AF_INET6, and causes all known
83 * is len bytes long. af denotes the protocol family, typically PF_INET
177 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src);
180 hostfromname(lwres_gabnresponse_t *name, int af);
199 lwres_getipnodebyname(const char *name, int af, int flags, int *error_num) { argument
226 if ((af == AF_INET6 && (flags & AI_V4MAPPED) == 0 && v4 == 1) ||
227 (af == AF_INET && v6 == 1) ||
230 (have_v4 == 0 && af
334 lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num) argument
841 copyandmerge(struct hostent *he1, struct hostent *he2, int af, int *error_num) argument
1006 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src) argument
1082 hostfromname(lwres_gabnresponse_t *name, int af) argument
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dprint-pflog.c119 u_int8_t af; local
147 af = hdr->af;
151 switch (af) {
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dip_encap.c210 if (ep->af != AF_INET)
294 if (ep->af != AF_INET6)
349 encap_attach(af, proto, sp, sm, dp, dm, psw, arg)
350 int af;
369 if (af != sp->sa_family || af != dp->sa_family) {
376 if (ep->af != af)
400 ep->af = af;
[all...]
H A Dip_encap.h65 int af; member in struct:encaptab
/macosx-10.10.1/BerkeleyDB-21/db/dist/
H A Dapi_flags.c277 FLAG *af, *bf; local
279 af = *(FLAG **)a;
282 if (af == NULL) {
288 if (af == NULL)
292 if (af->api_cnt > bf->api_cnt)
294 if (af->api_cnt < bf->api_cnt)
335 FLAG *af, *bf; local
337 af = *(FLAG **)a;
340 if (af == NULL) {
346 if (af
[all...]
/macosx-10.10.1/libpcap-48/libpcap/tests/ngdumptest/
H A Dngdumptest.c235 make_name_resolution_record(pcapng_block_t block, int af, void *addr, char **names) argument
242 if (af == AF_INET) {
322 int af; local
348 af = AF_INET;
349 retval = inet_pton(af, optarg, &ina);
351 af = AF_INET6;
352 retval = inet_pton(af, optarg, &in6a);
356 af == AF_INET ? "IPv4" : "IPv6",
374 if (af == AF_INET)
375 make_name_resolution_record(block, af,
[all...]
/macosx-10.10.1/apr-32/apr/apr/include/arch/win32/
H A Dapr_arch_networkio.h74 const char *apr_inet_ntop(int af, const void *src, char *dst, apr_size_t size);
75 int apr_inet_pton(int af, const char *src, void *dst);

Completed in 342 milliseconds

1234567891011>>