Home
last modified time | relevance | path

Searched refs:at_addr (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dauditsys.c204 STRUCT_FSET(info, ai_termid.machine, ainfo->ai_termid.at_addr[0]); in getaudit()
254 STRUCT_FSET(info, ai_termid.at_addr[0], ainfo->ai_termid.at_addr[0]); in getaudit_addr()
255 STRUCT_FSET(info, ai_termid.at_addr[1], ainfo->ai_termid.at_addr[1]); in getaudit_addr()
256 STRUCT_FSET(info, ai_termid.at_addr[2], ainfo->ai_termid.at_addr[2]); in getaudit_addr()
257 STRUCT_FSET(info, ai_termid.at_addr[3], ainfo->ai_termid.at_addr[3]); in getaudit_addr()
313 ainfo->ai_termid.at_addr[0] = STRUCT_FGET(info, ai_termid.machine); in setaudit()
381 bzero(&ainfo->ai_termid.at_addr[0], sizeof (ainfo->ai_termid.at_addr)); in setaudit_addr()
383 ainfo->ai_termid.at_addr[i] = in setaudit_addr()
384 STRUCT_FGET(info, ai_termid.at_addr[i]); in setaudit_addr()
387 IN6_IS_ADDR_V4MAPPED(((in6_addr_t *)ainfo->ai_termid.at_addr))) { in setaudit_addr()
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Daudit_rexecd.c115 info.ai_termid.at_addr[0] = addr[0]; in audit_rexecd_session_setup()
116 info.ai_termid.at_addr[1] = addr[1]; in audit_rexecd_session_setup()
117 info.ai_termid.at_addr[2] = addr[2]; in audit_rexecd_session_setup()
118 info.ai_termid.at_addr[3] = addr[3]; in audit_rexecd_session_setup()
186 tid.at_addr[0] = addr[0];
187 tid.at_addr[1] = addr[1];
188 tid.at_addr[2] = addr[2];
189 tid.at_addr[3] = addr[3];
297 tid.at_addr[0] = addr[0];
298 tid.at_addr[1] = addr[1];
[all …]
H A Daudit_cron.c126 &(info->ai_termid.at_addr[0]), in audit_cron_getinfo()
127 &(info->ai_termid.at_addr[1]), in audit_cron_getinfo()
128 &(info->ai_termid.at_addr[2]), in audit_cron_getinfo()
129 &(info->ai_termid.at_addr[3]), in audit_cron_getinfo()
208 info->ai_termid.at_addr[0], in audit_cron_setinfo()
209 info->ai_termid.at_addr[1], in audit_cron_setinfo()
210 info->ai_termid.at_addr[2], in audit_cron_setinfo()
211 info->ai_termid.at_addr[3], in audit_cron_setinfo()
357 aug_save_tid_ex(info.ai_termid.at_port, info.ai_termid.at_addr, in audit_cron_session()
472 ai.ai_termid.at_addr[0] = 0; in audit_cron_create_anc_file()
[all …]
H A Daudit_settid.c88 ai.ai_termid.at_addr[0] || in do_ipv6_address()
89 ai.ai_termid.at_addr[1] || in do_ipv6_address()
90 ai.ai_termid.at_addr[2] || in do_ipv6_address()
91 ai.ai_termid.at_addr[3]) { in do_ipv6_address()
97 bcopy(&peer->sin6_addr, ai.ai_termid.at_addr, 16); in do_ipv6_address()
H A Dgeneric.c113 aug_tid.at_addr[0] = 0; in aug_init()
114 aug_tid.at_addr[1] = 0; in aug_init()
115 aug_tid.at_addr[2] = 0; in aug_init()
116 aug_tid.at_addr[3] = 0; in aug_init()
251 aug_tid.at_addr[0] = machine; in aug_save_tid()
265 aug_tid.at_addr[i] = machine[i]; in aug_save_tid_ex()
284 ai.ai_termid.at_addr, in aug_save_me()
H A Daudit_rshd.c228 rshd_addr[0] = info.ai_termid.at_addr[0]; in setup_session()
229 rshd_addr[1] = info.ai_termid.at_addr[1]; in setup_session()
230 rshd_addr[2] = info.ai_termid.at_addr[2]; in setup_session()
231 rshd_addr[3] = info.ai_termid.at_addr[3]; in setup_session()
H A Dadt.c343 (void) memcpy(dest->at_addr, src->at_addr, 4 * sizeof (uint32_t)); in adt_cpy_tid()
652 (void) memcpy(termid->at_addr, &peer->sin6_addr, 4 * sizeof (uint_t)); in adt_do_ipv6_address()
661 termid->at_addr[0] = (uint32_t)peer->sin_addr.s_addr; in adt_do_ipv4_address()
662 (void) memset(&(termid->at_addr[1]), 0, 3 * sizeof (uint_t)); in adt_do_ipv4_address()
730 (audit_data.ai_termid.at_addr[0] | in adt_have_termid()
731 audit_data.ai_termid.at_addr[1] | in adt_have_termid()
732 audit_data.ai_termid.at_addr[2] | in adt_have_termid()
733 audit_data.ai_termid.at_addr[3]) == 0) in adt_have_termid()
771 (void) memcpy(p_term->at_addr, in adt_get_hostIP()
777 (void) memcpy(p_term->at_addr, in adt_get_hostIP()
[all …]
H A Dau_open.c210 (in6_addr_t *)host_info->at_addr) ? 0 : 1; in au_close()
212 have_valid_addr = (host_info->at_addr[0] == in au_close()
246 adr_char(&adr, (char *)&host_info->at_addr[0], in au_close()
H A Dau_to.c141 if (IN6_IS_ADDR_UNSPECIFIED((in6_addr_t *)host_info->at_addr)) in au_to_header_ex()
144 if (host_info->at_addr[0] == htonl(INADDR_ANY)) in au_to_header_ex()
165 adr_char(&adr, (char *)host_info->at_addr, in au_to_header_ex()
518 adr_char(&adr, (char *)tid->at_addr, 16); in au_to_process_ex()
520 adr_char(&adr, (char *)tid->at_addr, 4); in au_to_process_ex()
674 adr_char(&adr, (char *)tid->at_addr, 16); in au_to_subject_ex()
676 adr_char(&adr, (char *)tid->at_addr, 4); in au_to_subject_ex()
1043 adr_char(&adr, (char *)ip->at_addr, ip->at_type); in au_to_tid()
H A Daudit_at.c80 aug_save_tid_ex(ai.ai_termid.at_port, ai.ai_termid.at_addr, in audit_at_create()
H A Daudit_crontab.c107 aug_save_tid_ex(ai.ai_termid.at_port, ai.ai_termid.at_addr, in audit_crontab_modify()
H A Dadt_token.c267 (void) memcpy(ip->at_addr, p_data, ip->at_type); in adt_to_tid()
/illumos-gate/usr/src/cmd/smserverd/
H A Dmyaudit.c105 door_dp->audit_tid.at_addr[0] = 0; in audit_init()
106 door_dp->audit_tid.at_addr[1] = 0; in audit_init()
107 door_dp->audit_tid.at_addr[2] = 0; in audit_init()
108 door_dp->audit_tid.at_addr[3] = 0; in audit_init()
147 door_dp->audit_tid.at_addr[i] = in audit_save_me()
148 door_dp->audit_ap.ap_termid.at_addr[i]; in audit_save_me()
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsysplugin.c342 key = tid->at_addr[0] ^ in gethname()
343 tid->at_addr[1] ^ in gethname()
344 tid->at_addr[2] ^ in gethname()
345 tid->at_addr[3]; in gethname()
347 key = (tid->at_addr[0]); in gethname()
369 if (hosthash[ix].ht_ip[i] != tid->at_addr[i]) { in gethname()
383 hosthash[ix].ht_ip[0] = tid->at_addr[0]; in gethname()
387 (char *)tid->at_addr, AU_IPv6); in gethname()
390 host = getipnodebyaddr((const void *)tid->at_addr, in gethname()
394 (void) inet_ntop(af, (void *)tid->at_addr, in gethname()
H A Dsystoken.c1048 adrm_u_char(&(ctx->adr), (uchar_t *)&(ctx->out.sf_tid.at_addr[0]), 4); in subject32_token()
1078 adrm_u_char(&(ctx->adr), (uchar_t *)&(ctx->out.sf_tid.at_addr[0]), in subject32_ex_token()
1106 adrm_u_char(&(ctx->adr), (uchar_t *)&(ctx->out.sf_tid.at_addr[0]), 4); in subject64_token()
1136 adrm_u_char(&(ctx->adr), (uchar_t *)&(ctx->out.sf_tid.at_addr[0]), in subject64_ex_token()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.h133 uint_t at_addr[4]; member
145 uint_t at_addr[4]; member
153 uint_t at_addr[4]; member
165 uint32_t at_addr[4]; /* remote IP */ member
H A Daudit_token.c124 adr_char(&adr, (char *)&kctx->auk_info.ai_termid.at_addr[0], in au_to_header_ex()
326 adr_char(&adr, (char *)&atid->at_addr[0], 16); in au_to_any_process()
328 adr_char(&adr, (char *)&(atid->at_addr[0]), 4); in au_to_any_process()
H A Daudit_kernel.h121 uint_t at_addr[4]; member
H A Daudit_event.c3191 ai_termid.at_addr))); in aus_auditsys()
3195 ai_termid.at_addr))); in aus_auditsys()
3331 ai_termid.at_addr))); in aus_auditsys()
3335 ai_termid.at_addr))); in aus_auditsys()
/illumos-gate/usr/src/cmd/auditconfig/
H A Dauditconfig.c1270 (void) str2ipaddr(s, &ai.ai_termid.at_addr[0], type); in do_setkaudit()
2351 bzero(tp->at_addr, 16); in str2tid()
2378 tp->at_addr[0] = ibuf; in str2tid()
2381 tp->at_addr[0] = ibuf6[0]; in str2tid()
2382 tp->at_addr[1] = ibuf6[1]; in str2tid()
2383 tp->at_addr[2] = ibuf6[2]; in str2tid()
2384 tp->at_addr[3] = ibuf6[3]; in str2tid()
2398 (void) memcpy(&tp->at_addr[0], in str2tid()
2403 (void) memcpy(&tp->at_addr[0], in str2tid()
2846 if ((phe = gethostbyaddr((char *)&tidp->at_addr[0], in print_tid_ex()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_logon.c202 termid.at_addr[0] = ipaddr->a_ipv4; in smbd_logon_audit()
205 bcopy(&ipaddr->a_ip, termid.at_addr, in smbd_logon_audit()
/illumos-gate/usr/src/boot/sys/sys/bsm/
H A Daudit.h187 u_int32_t at_addr[4]; member
/illumos-gate/usr/src/uts/common/os/
H A Dcred.c915 bcopy(&tid.at_addr, &ainfo->ai_termid.at_addr, 4 * sizeof (uint_t)); in cred2ucaud()