/osnet-11/usr/src/lib/libnsl/rpc/ |
H A D | can_use_af.c | 38 * address family, af. The status of the interface is not important. 46 __can_use_af(sa_family_t af) argument 54 lifn.lifn_family = af;
|
/osnet-11/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_private.h | 11 int af; member in struct:__res_state_ext::sort_list
|
/osnet-11/usr/src/lib/libnsl/nss/ |
H A D | inet_ntop.c | 42 * inet_ntop(af, src, dst, size) 48 inet_ntop(int af, const void *src, char *dst, socklen_t size) argument 50 switch (af) {
|
H A D | inet_pton.c | 42 * inet_pton(af, src, dst) 53 inet_pton(int af, const char *src, void *dst) argument 55 switch (af) {
|
H A D | gethostent.c | 106 __str2hostent(int af, const char *instr, int lenstr, void *ent, char *buffer, argument 121 if (af != AF_INET && af != AF_INET6) { 163 if (af == AF_INET6) { 205 if (addrlen > ((af == AF_INET6) ? INET6_ADDRSTRLEN 209 if (af == AF_INET) { 227 if (inet_pton(af, addrbuf, &addrp6[i]) != 1) 270 if (af == AF_INET6) { 275 host->h_addrtype = af;
|
/osnet-11/usr/src/lib/libresolv2/common/inet/ |
H A D | inet_cidr_ntop.c | 50 * inet_cidr_ntop(af, src, bits, dst, size) 52 * "src"'s size is determined from its "af". 63 inet_cidr_ntop(int af, const void *src, int bits, char *dst, size_t size) { argument 64 switch (af) { 99 * "src"'s size is determined from its "af".
|
H A D | inet_cidr_pton.c | 54 * inet_cidr_pton(af, src, dst, *bits) 56 * accepts inet_pton()'s input for this "af" plus trailing "/CIDR". 57 * "dst" is assumed large enough for its "af". "bits" is set to the 70 inet_cidr_pton(int af, const char *src, void *dst, int *bits) { argument 71 switch (af) {
|
H A D | inet_net_pton.c | 383 * inet_net_pton(af, src, dst, size) 395 inet_net_pton(int af, const char *src, void *dst, size_t size) { argument 396 switch (af) {
|
/osnet-11/usr/src/lib/libsocket/inet/ |
H A D | getifaddrs.c | 92 getallifaddrs(sa_family_t af, struct ifaddrs **ifap, int64_t lifc_flags, argument 117 ret = getallifs(sock4, af, &buf, &numifs, lifc_flags); 134 if (af != AF_UNSPEC && lifr_af != af) 223 getallifs(int s, sa_family_t af, struct lifreq **lifr, int *numifs, argument 232 lifn.lifn_family = af; 252 lifc.lifc_family = af;
|
H A D | rexec.c | 62 const char *pass, const char *cmd, int *fd2p, int af) 73 if (!(af == AF_INET || af == AF_INET6 || af == AF_UNSPEC)) { 76 "supported\n"), af); 84 hints.ai_family = af; 61 rexec_af(char **ahost, unsigned short rport, const char *name, const char *pass, const char *cmd, int *fd2p, int af) argument
|
H A D | getnameinfo.c | 50 static const char *_inet_ntop_native(int af, const void *src, char *dst, 357 * This is a wrapper function for inet_ntop(). In case the af is AF_INET6 363 _inet_ntop_native(int af, const void *src, char *dst, size_t size) argument 368 if (af == AF_INET6) { 376 result = inet_ntop(af, src, dst, size);
|
/osnet-11/usr/src/lib/nsswitch/mdns/common/ |
H A D | gethostent6.c | 43 int af = argp->key.ipnode.af_family; local 51 return (_nss_mdns_querybyname(be, hname, af, &qdata)); 91 qdata.af = AF_INET; 102 qdata.af = AF_INET6; 113 return (_nss_mdns_querybyaddr(be, addrqryname, qdata.af, &qdata));
|
H A D | 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);
|
/osnet-11/usr/src/lib/libresolv2/common/irs/ |
H A D | gen_ho.c | 61 int af); 63 int len, int af); 168 ho_byname2(struct irs_ho *this, const char *name, int af) { argument 183 rval = (*ho->byname2)(ho, name, af); 207 ho_byaddr(struct irs_ho *this, const void *addr, int len, int af) { argument 223 rval = (*ho->byaddr)(ho, addr, len, af);
|
H A D | getnetent.c | 62 static struct netent *fakeaddr(const char *, int af, struct net_data *); 251 fakeaddr(const char *name, int af, struct net_data *net_data) { argument 256 if (af != AF_INET) {
|
H A D | irp_ho.c | 74 int af); 76 int len, int af); 164 * struct hostent * ho_byname2(struct irs_ho *this, const char *name, int af) 169 ho_byname2(struct irs_ho *this, const char *name, int af) { argument 179 af == ho->h_addrtype) { 188 name, ADDR_T_STR(af)) != 0) 217 * int len, int af) 222 ho_byaddr(struct irs_ho *this, const void *addr, int len, int af) { argument 233 af == ho->h_addrtype && 245 if (inet_ntop(af, add [all...] |
/osnet-11/usr/src/lib/libinetutil/common/ |
H A D | inetutil.c | 115 plen2mask(uint_t prefixlen, sa_family_t af, struct sockaddr *mask) argument 119 if (af == AF_INET) { 132 mask->sa_family = af;
|
/osnet-11/usr/src/lib/libtsnet/common/ |
H A D | tsol_getrhent.c | 54 tsol_getrhbyaddr(const void *addrp, size_t len, int af) argument 67 arg.key.hostaddr.type = af;
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | scf_type.c | 256 valid_ip(int af, const char *str) argument 265 switch (af) { 293 return (inet_pton(af, addr, unused));
|
/osnet-11/usr/src/lib/libilb/common/ |
H A D | ilb_subr.c | 120 int af, sgn; local 124 af = GET_AF((struct in6_addr *)ip1); 125 if (af == AF_INET) { 136 af = ((ilb_ip_addr_t *)ip1)->ia_af; 137 if (af == AF_INET) { 151 if (af == AF_INET) {
|
/osnet-11/usr/src/cmd/sendmail/src/ |
H A D | 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 [all...] |
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | regexpr.c | 438 cclass(char *set, char c, int af) argument 447 return (af); 448 return (! af);
|
/osnet-11/usr/src/lib/nsswitch/dns/common/ |
H A D | 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);
|
H A D | 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) &&
|
/osnet-11/usr/src/lib/nsswitch/ldap/common/ |
H A D | gethostent.c | 64 _nss_ldap_hosts2str_int(int af, ldap_backend_ptr be, nss_XbyY_args_t *argp) argument 149 if (af == AF_INET && 153 /* A valid address for either af mode */
|