Lines Matching refs:audit_buf
4228 struct audit_buffer *audit_buf)
4234 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s",
4239 audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4);
4241 audit_log_format(audit_buf, " src_prefixlen=%d",
4243 audit_log_format(audit_buf, " dst=%pI4", &sel->daddr.a4);
4245 audit_log_format(audit_buf, " dst_prefixlen=%d",
4249 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6);
4251 audit_log_format(audit_buf, " src_prefixlen=%d",
4253 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6);
4255 audit_log_format(audit_buf, " dst_prefixlen=%d",
4263 struct audit_buffer *audit_buf;
4265 audit_buf = xfrm_audit_start("SPD-add");
4266 if (audit_buf == NULL)
4268 xfrm_audit_helper_usrinfo(task_valid, audit_buf);
4269 audit_log_format(audit_buf, " res=%u", result);
4270 xfrm_audit_common_policyinfo(xp, audit_buf);
4271 audit_log_end(audit_buf);
4278 struct audit_buffer *audit_buf;
4280 audit_buf = xfrm_audit_start("SPD-delete");
4281 if (audit_buf == NULL)
4283 xfrm_audit_helper_usrinfo(task_valid, audit_buf);
4284 audit_log_format(audit_buf, " res=%u", result);
4285 xfrm_audit_common_policyinfo(xp, audit_buf);
4286 audit_log_end(audit_buf);