Home
last modified time | relevance | path

Searched refs:pai (Results 1 – 6 of 6) sorted by relevance

/titanic_44/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c228 (ai) = get_ai(pai, (afd), (addr)); \
246 error = get_canonname(pai, (ai), (str)); \
329 struct addrinfo *pai; local
334 pai = &ai;
335 pai->ai_flags = 0;
336 pai->ai_family = PF_UNSPEC;
337 pai->ai_socktype = ANY;
338 pai->ai_protocol = ANY;
346 pai->_ai_pad = 0;
348 pai->ai_addrlen = 0;
[all …]
H A Dlcl_ho.c141 const struct addrinfo *pai);
495 const struct addrinfo *pai));
498 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai) in ho_addrinfo() argument
510 switch(pai->ai_family) { in ho_addrinfo()
541 ai = hostent2addrinfo(hp, pai); in ho_addrinfo()
H A Ddns_ho.c160 const struct addrinfo *pai);
170 const struct addrinfo *pai);
553 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai) in ho_addrinfo() argument
579 switch (pai->ai_family) { in ho_addrinfo()
642 pai->ai_family, /*%< XXX: meaningless */ in ho_addrinfo()
643 0, &ai, pai); in ho_addrinfo()
681 struct addrinfo **ret_aip, const struct addrinfo *pai) in gethostans() argument
697 if (pai == NULL) abort(); in gethostans()
915 ai = *pai; in gethostans()
1000 if ((pai->ai_flags & AI_CANONNAME) != 0) { in gethostans()
H A Dirp_ho.c83 const struct addrinfo *pai);
397 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai) in ho_addrinfo() argument
401 UNUSED(pai); in ho_addrinfo()
H A Dgen_ho.c72 const struct addrinfo *pai);
335 ho_addrinfo(struct irs_ho *this, const char *name, const struct addrinfo *pai) in ho_addrinfo() argument
353 rval = (*ho->addrinfo)(ho, name, pai); in ho_addrinfo()
/titanic_44/usr/src/uts/common/io/
H A Dmultidata.c1268 mmd_addpattr(multidata_t *mmd, pdesc_t *pd, pattrinfo_t *pai, in mmd_addpattr() argument
1280 ASSERT(pai != NULL); in mmd_addpattr()
1302 bkt = &(tbl[PATTBL_HASH(pai->type, tbl->pbkt_tbl_sz)]); in mmd_addpattr()
1305 if ((pa = mmd_find_pattr(bkt, pai->type)) != NULL) in mmd_addpattr()
1308 size = sizeof (*pa) + pai->len; in mmd_addpattr()
1316 pa->pat_type = pai->type; in mmd_addpattr()
1317 pai->buf = pai->len > 0 ? ((uchar_t *)(pa + 1)) : NULL; in mmd_addpattr()
1421 pattrinfo_t pai; in mmd_copy_pattbl() local
1443 pai.type = pa->pat_type; in mmd_copy_pattbl()
1444 pai.len = pa->pat_buflen - sizeof (*pa); in mmd_copy_pattbl()
[all …]