| /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/ |
| printhostmask.c | 32 int af; local 35 af = AF_INET; 37 af = AF_INET6; 39 af = 0; 40 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof(ipbuf)));
|
| printnat.c | 30 int bits, af; local 92 af = AF_INET; 94 af = AF_INET6; 96 af = 0; 101 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf))); 111 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf))); 115 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf))); 151 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf))); 158 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf))); 161 printf("%s", inet_ntop(af, ptr, ipbuf, sizeof (ipbuf))) [all...] |
| /onnv/onnv-gate/usr/src/cmd/getent/ |
| dogetipnodes.c | 52 int af; local 60 af = AF_INET; 63 af = AF_INET6; 67 af = AF_INET; 70 res = inet_ntop(af, addr, obuf, sizeof (obuf)); 97 int af, len; local 107 af = AF_INET6; 111 af = AF_INET; 115 if (inet_pton(af, *list, addr) == 1) 116 hp = getipnodebyaddr(addr, len, af, &err_ret) [all...] |
| /onnv/onnv-gate/usr/src/cmd/ssh/libopenbsd-compat/common/ |
| bindresvport.c | 60 int error, af; local 76 af = sa->sa_family; 79 af = sa->sa_family; 81 if (af == AF_INET) { 86 } else if (af == AF_INET6) { 95 sa->sa_family = af;
|
| /onnv/onnv-gate/usr/src/lib/libsmbfs/smb/ |
| getaddr.c | 72 printf("ai[%d]: af=%d, len=%d", i, 88 int af = sa->sa_family; local 91 printf(" saf=%d,", af); 92 switch (af) {
|
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/resolv/ |
| res_private.h | 7 int af; member in struct:__res_state_ext::sort_list
|
| /onnv/onnv-gate/usr/src/lib/nsswitch/mdns/common/ |
| gethostent6.c | 46 int af = argp->key.ipnode.af_family; local 54 return (_nss_mdns_querybyname(be, hname, af, &qdata)); 90 qdata.af = AF_INET; 99 qdata.af = AF_INET6; 111 return (_nss_mdns_querybyaddr(be, addrqryname, qdata.af, &qdata));
|
| mdns_common.h | 83 int af; member in struct:mdns_querydata 92 int af, struct mdns_querydata *data); 94 int af, struct mdns_querydata *data);
|
| /onnv/onnv-gate/usr/src/cmd/ypcmd/ |
| ypserv_map.c | 219 sa_family_t af; local 223 af = ((struct sockaddr_storage *)nbuf->buf)->ss_family; 224 if (af != AF_INET && af != AF_INET6) 237 if (af == AF_INET6) {
|
| ypserv_net_secure.c | 50 sa_family_t af; member in struct:seclist 57 static int addrequal(sa_family_t af, inaddr_t *laddr, inaddr_t *mask, 116 tmp1->af = netaf; 141 sa_family_t af; local 148 af = ((struct sockaddr_storage *)caller->buf)->ss_family; 149 if (af == AF_INET) { 151 } else if (af == AF_INET6) { 159 if (af == tmp->af && 160 addrequal(af, &tmp->net, &tmp->mask, &addr)) [all...] |
| rpc_bootstrap.c | 381 __files_gethostbyname(char *nam, sa_family_t af) 388 if ((af != AF_INET) && (af != AF_INET6)) 397 if (hp->h_addrtype != af) 426 sa_family_t af; local 447 af = AF_INET6; 451 af = AF_INET; 455 if (inet_pton(af, p, addr) != 1) 459 host.h_addrtype = af;
|
| ypxfrd_server.c | 133 sa_family_t af; local 204 af = ((struct sockaddr_storage *)nbuf->buf)->ss_family; 205 port = (af == AF_INET6) ? 209 if ((af == AF_INET || af == AF_INET6) &&
|
| /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
| foreachaddr.c | 138 get_lifconf (int af, int s, size_t *lenp, char *buf) 144 lifc.lifc_family = af; 196 int af; member in struct:__anon2848 213 P.af = afs[afidx]; 220 KRB5_LOG (KRB5_INFO, "foreach_localaddr() trying af %d", P.af); 221 P.sock = socket (P.af, USE_TYPE, USE_PROTO); 228 P.lifnum.lifn_family = P.af; 247 code = get_lifconf (P.af, P.sock, &P.buf_size, P.buf);
|
| /onnv/onnv-gate/usr/src/lib/nsswitch/dns/common/ |
| gethostent.c | 202 int af, addrlen; local 212 af = AF_INET; 217 af = argp->key.hostaddr.type; 219 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
|
| gethostent6.c | 296 int af = argp->key.ipnode.af_family; local 302 if (af == AF_INET6) 344 * 1. af is AF_INET 345 * 2. if af is AF_INET6 353 if ((af == AF_INET) || 354 ((af == AF_INET6) &&
|
| /onnv/onnv-gate/usr/src/lib/libilb/common/ |
| ilb_subr.c | 121 int af, sgn; local 125 af = GET_AF((struct in6_addr *)ip1); 126 if (af == AF_INET) { 137 af = ((ilb_ip_addr_t *)ip1)->ia_af; 138 if (af == AF_INET) { 152 if (af == AF_INET) {
|
| /onnv/onnv-gate/usr/src/uts/common/ipp/ipgpc/ |
| classifierddi.c | 394 int af; local 439 af = AF_INET; 442 af = AF_INET6; 472 print_packet(af, &pkt); 480 out_class = ipgpc_classify(af, &pkt);
|
| /onnv/onnv-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/ |
| BST.java | 242 BSTItem af = new BSTItem("asap"); local 278 bst.insert(af);
|
| /onnv/onnv-gate/usr/src/cmd/sendmail/src/ |
| alias.c | 505 SM_FILE_T *af; local 525 if ((af = safefopen(map->map_file, O_RDWR, 0, sff)) == NULL) 530 (af = safefopen(map->map_file, O_RDONLY, 0, sff)) == NULL) 545 fstat(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL), &stb) < 0 || 553 !lockfile(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL), map->map_file, 562 (void) lockfile(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL), 565 (void) sm_io_close(af, SM_TIME_DEFAULT); 587 readaliases(map, af, !automatic, true); 601 (void) sm_io_close(af, SM_TIME_DEFAULT); 627 ** af -- file to read the aliases from [all...] |
| /onnv/onnv-gate/usr/src/cmd/tsol/tnd/ |
| tnd.h | 128 sa_family_t af; member in struct:__anon1877
|
| /onnv/onnv-gate/usr/src/lib/libnsl/nis/cache/ |
| mgr_cache.cc | 392 sa_family_t af; local 397 af = (strchr(client, ':') != 0) ? AF_INET6 : AF_INET; 398 if (af == AF_INET6 && 408 if (inet_pton(af, client, addr) != 1) { 412 if ((af == AF_INET6 && IN6_IS_ADDR_LOOPBACK(&in6)) || 413 (af == AF_INET && in4.s_addr == 418 if (!__inet_address_is_local_af(local, af, addr)) {
|
| /onnv/onnv-gate/usr/src/uts/common/io/aac/ |
| aac_ioctl.c | 376 struct aac_get_adapter_fib *af = &un.d; local 382 if (ddi_copyin((void *)arg, af, sizeof (*af), mode) != 0) 387 if (af->context == ctx->unique) 393 (caddr_t)(uint64_t)af->aif_fib, mode); 396 (caddr_t)af->aif_fib, mode); 398 if (rval == EAGAIN && af->wait) { 405 (caddr_t)(uint64_t)af->aif_fib, mode); 408 (caddr_t)af->aif_fib, mode);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/sbin/ifparse/ |
| ifparse.c | 432 int af = afp->af_af; local 466 af == p->c_af) 471 af == p->c_af) 513 if ((p->c_af == AF_ANY) || (af == p->c_af))
|
| /onnv/onnv-gate/usr/src/lib/libresolv2/common/irs/ |
| lcl_ho.c | 130 int af); 132 int len, int af); 218 ho_byname2(struct irs_ho *this, const char *name, int af) { 232 if (hp->h_addrtype != af) 253 ho_byaddr(struct irs_ho *this, const void *addr, int len, int af) { 262 if (af == AF_INET6 && len == IN6ADDRSZ && 268 af = AF_INET; 271 switch (af) { 309 if (taf == af && tlen == len && 328 int c, af, len, bufsiz, offset local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/inet/ip/ |
| ip_sadb.c | 98 uint32_t *dst, sa_family_t af, uint8_t protocol, ts_label_t *tsl) 209 if (!IPSA_ARE_ADDR_EQUAL(dst, retval->ipsa_dstaddr, af)) 213 if (!IPSA_ARE_ADDR_EQUAL(src, retval->ipsa_srcaddr, af) && 214 !IPSA_IS_ADDR_UNSPEC(retval->ipsa_srcaddr, af)) 379 if (IPSA_IS_ADDR_UNSPEC(candidate->ipsa_srcaddr, af) && 380 !IPSA_IS_ADDR_UNSPEC(retval->ipsa_srcaddr, af)) { 466 if (IPSA_IS_ADDR_UNSPEC(retval->ipsa_srcaddr, af)) { 477 IPSA_COPY_ADDR(retval->ipsa_srcaddr, src, af); 511 sa_family_t af) 531 if (!IPSA_ARE_ADDR_EQUAL(dst, retval->ipsa_dstaddr, af)) 579 sa_family_t af; local 671 sa_family_t af; local 792 sa_family_t af; local [all...] |