Searched refs:aip (Results 1 - 19 of 19) sorted by path

/freebsd-9.3-release/contrib/bind9/lib/irs/
H A Dgetaddrinfo.c173 struct addrinfo **aip, int socktype, int port);
175 static int add_ipv4(const char *hostname, int flags, struct addrinfo **aip,
177 static int add_ipv6(const char *hostname, int flags, struct addrinfo **aip,
895 struct addrinfo **aip, int socktype, int port)
980 if (*aip == NULL) {
994 *aip = ai_concat(sentinel4, sentinel6);
1028 if (*aip == NULL) {
1116 add_ipv4(const char *hostname, int flags, struct addrinfo **aip, argument
1124 ai = ai_clone(*aip, AF_INET); /* don't use ai_clone() */
1126 freeaddrinfo(*aip);
894 resolve_name(int family, const char *hostname, int flags, struct addrinfo **aip, int socktype, int port) argument
1141 add_ipv6(const char *hostname, int flags, struct addrinfo **aip, int socktype, int port) argument
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dgetaddrinfo.c160 static int add_ipv4(const char *hostname, int flags, struct addrinfo **aip,
162 static int add_ipv6(const char *hostname, int flags, struct addrinfo **aip,
560 add_ipv4(const char *hostname, int flags, struct addrinfo **aip, argument
575 ai = ai_clone(*aip, AF_INET);
579 *aip = ai;
594 ai = ai_clone(*aip, AF_INET);
597 *aip = ai;
623 add_ipv6(const char *hostname, int flags, struct addrinfo **aip, argument
639 ai = ai_clone(*aip, AF_INET6);
643 *aip
[all...]
/freebsd-9.3-release/contrib/ipfilter/iplang/
H A Diplang_y.y682 aniphdr_t *aip, *oip = canip;
685 aip = (aniphdr_t *)calloc(1, sizeof(*aip));
686 *aniptail = aip;
687 aniptail = &aip->ah_next;
688 aip->ah_p = type;
689 aip->ah_prev = oip;
690 canip = aip;
709 for (aip = aniphead; aip; ai
[all...]
/freebsd-9.3-release/contrib/telnet/telnet/
H A Dcommands.c2160 switch_af(struct addrinfo **aip)
2165 ai = *aip;
2170 *aip = ai;
2171 if (*aip != NULL) {
2152 switch_af(struct addrinfo **aip) argument
/freebsd-9.3-release/crypto/openssl/ssl/
H A Dssl_asn1.c298 ASN1_INTEGER ai, *aip; local
302 aip = &ai;
310 M_ASN1_D2I_get_x(ASN1_INTEGER, aip, d2i_ASN1_INTEGER);
318 M_ASN1_D2I_get_x(ASN1_INTEGER, aip, d2i_ASN1_INTEGER);
319 ssl_version = (int)ASN1_INTEGER_get(aip);
404 M_ASN1_D2I_get_EXP_opt(aip, d2i_ASN1_INTEGER, 1);
406 ret->time = ASN1_INTEGER_get(aip);
414 M_ASN1_D2I_get_EXP_opt(aip, d2i_ASN1_INTEGER, 2);
416 ret->timeout = ASN1_INTEGER_get(aip);
448 M_ASN1_D2I_get_EXP_opt(aip, d2i_ASN1_INTEGE
[all...]
/freebsd-9.3-release/lib/libc/net/
H A Dgetaddrinfo.c639 struct addrinfo *ai, **aip; local
679 for (i = 0, aip = &sentinel->ai_next; i < n; i++) {
680 *aip = aio[i].aio_ai;
681 aip = &aio[i].aio_ai->ai_next;
683 *aip = NULL;
/freebsd-9.3-release/sbin/umount/
H A Dumount.c522 struct addrinfo *aip; local
528 aip = nfshost_ai;
529 while (aip != NULL) {
530 if (sacmp(ai->ai_addr, aip->ai_addr) == 0)
532 aip = aip->ai_next;
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-pcieepx-defs.h2509 uint32_t aip : 1; /**< Attention Indicator Present, writable through PEM(0..1)_CFG_WR member in struct:cvmx_pcieepx_cfg033::cvmx_pcieepx_cfg033_s
2521 uint32_t aip : 1;
H A Dcvmx-pciercx-defs.h2339 uint32_t aip : 1; /**< Attention Indicator Present, writable through PEM(0..1)_CFG_WR member in struct:cvmx_pciercx_cfg033::cvmx_pciercx_cfg033_s
2351 uint32_t aip : 1;
/freebsd-9.3-release/sys/i386/bios/
H A Dapm.c660 apm_get_info(apm_info_t aip) argument
670 aip->ai_infoversion = 1;
671 aip->ai_acline = aps.ap_acline;
672 aip->ai_batt_stat = aps.ap_batt_stat;
673 aip->ai_batt_life = aps.ap_batt_life;
674 aip->ai_batt_time = aps.ap_batt_time;
675 aip->ai_major = (u_int)sc->majorversion;
676 aip->ai_minor = (u_int)sc->minorversion;
677 aip->ai_status = (u_int)sc->active;
684 aip
[all...]
/freebsd-9.3-release/sys/netinet/
H A Dsctp_pcb.c6357 *aip; local
6361 aip = (struct sctp_adaptation_layer_indication *)phdr;
6362 if (aip) {
6363 stcb->asoc.peers_adaptation = ntohl(aip->indication);
/freebsd-9.3-release/sys/security/audit/
H A Daudit_pipe.c745 struct auditpipe_ioctl_preselect *aip; local
859 aip = (struct auditpipe_ioctl_preselect *)data;
860 error = audit_pipe_preselect_get(ap, aip->aip_auid,
861 &aip->aip_mask);
865 aip = (struct auditpipe_ioctl_preselect *)data;
866 audit_pipe_preselect_set(ap, aip->aip_auid, aip->aip_mask);
/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_softdep.c5617 struct allocindir *aip; local
5632 aip = (struct allocindir *)newblk;
5633 aip->ai_offset = ptrno;
5634 aip->ai_oldblkno = oldblkno;
5635 aip->ai_lbn = lbn;
5644 return (aip);
5663 struct allocindir *aip; local
5676 aip = newallocindir(ip, ptrno, newblkno, oldblkno, lbn);
5688 WORKLIST_INSERT(&nbp->b_dep, &aip->ai_block.nb_list);
5689 freefrag = setup_allocindir_phase2(bp, ip, inodedep, aip, lb
5708 struct allocindir *aip; local
5732 struct allocindir *aip; local
6010 struct allocindir *aip, *aipn; local
7673 struct allocindir *aip; local
10287 struct allocindir *aip; local
11308 struct allocindir *aip; local
12273 struct allocindir *aip; local
13277 struct allocindir *aip; local
[all...]
/freebsd-9.3-release/sys/x86/acpica/
H A Dacpi_apm.c137 acpi_capm_get_info(apm_info_t aip) argument
142 aip->ai_infoversion = 1;
143 aip->ai_major = 1;
144 aip->ai_minor = 2;
145 aip->ai_status = apm_active;
146 aip->ai_capabilities= 0xff00; /* unknown */
149 aip->ai_acline = APM_UNKNOWN; /* unknown */
151 aip->ai_acline = acline; /* on/off */
154 aip->ai_batt_stat = APM_UNKNOWN;
155 aip
[all...]
/freebsd-9.3-release/tools/regression/netinet/ipmulticast/
H A Dipmulticast.c364 struct addrinfo *aip; local
445 aip = NULL;
446 error = getaddrinfo(basegroup_str, NULL, &aih, &aip);
452 memcpy(&basegroup, aip->ai_addr, aip->ai_addrlen);
457 freeaddrinfo(aip);
473 aip = NULL;
474 error = getaddrinfo(ifaddr_str, NULL, &aih, &aip);
480 memcpy(&ifaddr, aip->ai_addr, aip
[all...]
/freebsd-9.3-release/usr.sbin/apm/
H A Dapm.c130 apm_getinfo(int fd, apm_info_t aip) argument
132 if (ioctl(fd, APMIO_GETINFO, aip) == -1)
193 print_all_info(int fd, apm_info_t aip, int bioscall_available) argument
199 printf("APM version: %d.%d\n", aip->ai_major, aip->ai_minor);
200 printf("APM Management: %s\n", aip->ai_status ? "Enabled" : "Disabled");
202 if (aip->ai_acline == APM_UNKNOWN)
204 else if (aip->ai_acline > 2)
205 printf("invalid value (0x%x)\n", aip->ai_acline);
207 printf("%s\n", line_msg[aip
[all...]
/freebsd-9.3-release/usr.sbin/nfscbd/
H A Dnfscbd.c108 struct addrinfo *aip, hints; local
132 error = getaddrinfo(myname, NULL, &hints, &aip);
134 if (aip->ai_canonname != NULL &&
135 (cp = strchr(aip->ai_canonname, '.')) != NULL
137 cp = aip->ai_canonname;
140 freeaddrinfo(aip);
188 freeaddrinfo(aip);
/freebsd-9.3-release/usr.sbin/nfsd/
H A Dnfsd.c933 struct addrinfo *aip, hints; local
944 error = getaddrinfo(hostname, NULL, &hints, &aip);
946 if (aip->ai_canonname != NULL &&
947 (cp = strchr(aip->ai_canonname, '.')) !=
950 "nfs@%s", aip->ai_canonname);
951 freeaddrinfo(aip);
/freebsd-9.3-release/usr.sbin/nfsuserd/
H A Dnfsuserd.c111 struct addrinfo *aip, hints; local
132 error = getaddrinfo(hostname, NULL, &hints, &aip);
134 if (aip->ai_canonname != NULL &&
135 (cp = strchr(aip->ai_canonname, '.')) != NULL
140 freeaddrinfo(aip);
371 freeaddrinfo(aip);

Completed in 290 milliseconds