Lines Matching defs:termid

514 adt_get_termid(const adt_session_data_t *session_data, au_tid_addr_t *termid)
518 (void) memset(termid, 0, sizeof (au_tid_addr_t));
519 termid->at_type = AU_IPv4;
524 *termid =
531 const au_tid_addr_t *termid)
539 *termid;
593 au_tid_addr_t *termid)
596 termid->at_port = ((peer->sin6_port<<16) | (sock->sin6_port));
597 termid->at_type = AU_IPv6;
598 (void) memcpy(termid->at_addr, &peer->sin6_addr, 4 * sizeof (uint_t));
603 au_tid_addr_t *termid)
606 termid->at_port = ((peer->sin_port<<16) | (sock->sin_port));
608 termid->at_type = AU_IPv4;
609 termid->at_addr[0] = (uint32_t)peer->sin_addr.s_addr;
610 (void) memset(&(termid->at_addr[1]), 0, 3 * sizeof (uint_t));
622 adt_load_termid(int fd, adt_termid_t **termid)
635 return (adt_load_hostname(NULL, termid));
656 *termid = (adt_termid_t *)p_term;
663 *termid = NULL;
822 adt_load_hostname(const char *hostname, adt_termid_t **termid)
829 *termid = NULL;
838 *termid = (adt_termid_t *)p_term;
848 *termid = (adt_termid_t *)p_term;
851 *termid = (adt_termid_t *)p_term;
856 *termid = NULL;
883 adt_load_ttyname(const char *ttyname, adt_termid_t **termid)
891 *termid = NULL;
900 *termid = (adt_termid_t *)p_term;
919 *termid = (adt_termid_t *)p_term;
922 *termid = (adt_termid_t *)p_term;
930 *termid = NULL;
1525 adt_newuser(adt_internal_state_t *state, uid_t ruid, au_tid_addr_t *termid)
1539 if (termid != NULL)
1540 state->as_info.ai_termid = *termid;
1608 uid_t ruid, gid_t rgid, const adt_termid_t *termid,
1628 (au_tid_addr_t *)termid)) != 0)
1650 assert(termid != NULL);
1651 state->as_info.ai_termid = *((au_tid_addr_t *)termid);
1712 au_tid_addr_t termid, *tid;
1734 adt_cpy_tid(&termid, tid64);
1735 tid = &termid;