Lines Matching defs:p_term
624 au_tid_addr_t *p_term;
640 if ((p_term = calloc(1, sizeof (au_tid_addr_t))) == NULL) {
651 adt_do_ipv6_address(&peer, &sock, p_term);
654 (struct sockaddr_in *)&sock, p_term);
656 *termid = (adt_termid_t *)p_term;
661 free(p_term);
699 adt_get_hostIP(const char *hostname, au_tid_addr_t *p_term)
728 p_term->at_type = AU_IPv4;
729 (void) memcpy(p_term->at_addr,
734 p_term->at_type = AU_IPv6;
735 (void) memcpy(p_term->at_addr,
756 *p_term = audit_info.ai_termid;
782 (void) memcpy(p_term->at_addr, &al.addr.addr,
784 p_term->at_type = AU_IPv4;
789 p_term->at_type = AU_IPv4;
790 (void) memcpy(p_term->at_addr, &al.addr.addr, AU_IPv4);
792 p_term->at_type = AU_IPv6;
793 (void) memcpy(p_term->at_addr, &al.addr.addr6, AU_IPv6);
825 au_tid_addr_t *p_term;
833 if ((p_term = calloc(1, sizeof (au_tid_addr_t))) == NULL) {
837 if (adt_have_termid(p_term)) {
838 *termid = (adt_termid_t *)p_term;
841 p_term->at_port = 0;
847 if (adt_get_hostIP(hostname, p_term) == 0) {
848 *termid = (adt_termid_t *)p_term;
851 *termid = (adt_termid_t *)p_term;
886 au_tid_addr_t *p_term;
895 if ((p_term = calloc(1, sizeof (au_tid_addr_t))) == NULL) {
899 if (adt_have_termid(p_term)) {
900 *termid = (adt_termid_t *)p_term;
904 p_term->at_port = 0;
915 p_term->at_port = stat_buf.st_rdev;
918 if (adt_get_hostIP(localhost, p_term) == 0) {
919 *termid = (adt_termid_t *)p_term;
922 *termid = (adt_termid_t *)p_term;
927 free(p_term);