/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | can_use_af.c | 45 __can_use_af(sa_family_t af) argument 52 lifn.lifn_family = af;
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | 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)));
|
H A D | 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, pt [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_private.h | 7 int af; member in struct:__res_state_ext::sort_list
|
/illumos-gate/usr/src/cmd/getent/ |
H A D | 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, [all...] |
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | getaddr.c | 71 printf("ai[%d]: af=%d, len=%d", i, 87 int af = sa->sa_family; local 90 printf(" saf=%d,", af); 91 switch (af) {
|
/illumos-gate/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;
|
/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | 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));
|
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);
|
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getifaddrs.c | 92 getallifaddrs(sa_family_t af, struct ifaddrs **ifap, int64_t flags) argument 116 ret = getallifs(sock4, af, &buf, &numifs, (flags & ~LIFC_ENABLED)); 133 if (af != AF_UNSPEC && lifr_af != af) 221 getallifs(int s, sa_family_t af, struct lifreq **lifr, int *numifs, argument 230 lifn.lifn_family = af; 250 lifc.lifc_family = af;
|
H A D | rexec.c | 70 const char *pass, const char *cmd, int *fd2p, int af) 81 if (!(af == AF_INET || af == AF_INET6 || af == AF_UNSPEC)) { 84 "supported\n"), af); 92 hints.ai_family = af; 69 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 | 355 * This is a wrapper function for inet_ntop(). In case the af is AF_INET6 361 _inet_ntop_native(int af, const void *src, char *dst, size_t size) argument 366 if (af == AF_INET6) { 374 result = inet_ntop(af, src, dst, size);
|
/illumos-gate/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) {
|
/illumos-gate/usr/src/lib/libinetutil/common/ |
H A D | inetutil.c | 112 plen2mask(uint_t prefixlen, sa_family_t af, struct sockaddr *mask) argument 116 if (af == AF_INET) { 129 mask->sa_family = af;
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | 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) {
|
/illumos-gate/usr/src/uts/common/inet/kifconf/ |
H A D | kifconf.c | 40 kivoid_to_sock(int af, void *source, void *dest) argument 48 if (af == AF_INET) { 52 sin->sin_family = af; 53 } else if (af == AF_INET6) { 57 sin6->sin6_family = af; 65 kdlifconfig(TIUSER *tiptr, int af, void *myIPaddr, void *mymask, argument 79 if (af == AF_INET) { 80 rc = kivoid_to_sock(af, mymask, &sin); 87 rc = kivoid_to_sock(af, mymask, &sin6); 98 if (af [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_init.c | 242 sctp_addr_params(sctp_t *sctp, int af, uchar_t *p, boolean_t modify) argument 257 param_len = sctp_saddr_info(sctp, af, p, modify);
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | foreachaddr.c | 138 get_lifconf (int af, int s, size_t *lenp, char *buf) argument 144 lifc.lifc_family = af; 196 int af; member in struct:__anon2530 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);
|
/illumos-gate/usr/src/lib/libtsnet/common/ |
H A D | tsol_getrhent.c | 58 tsol_getrhbyaddr(const void *addrp, size_t len, int af) argument 71 arg.key.hostaddr.type = af;
|
/illumos-gate/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) {
|