Lines Matching defs:audit_buf
4418 struct audit_buffer *audit_buf)
4424 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s",
4429 audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4);
4431 audit_log_format(audit_buf, " src_prefixlen=%d",
4433 audit_log_format(audit_buf, " dst=%pI4", &sel->daddr.a4);
4435 audit_log_format(audit_buf, " dst_prefixlen=%d",
4439 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6);
4441 audit_log_format(audit_buf, " src_prefixlen=%d",
4443 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6);
4445 audit_log_format(audit_buf, " dst_prefixlen=%d",
4453 struct audit_buffer *audit_buf;
4455 audit_buf = xfrm_audit_start("SPD-add");
4456 if (audit_buf == NULL)
4458 xfrm_audit_helper_usrinfo(task_valid, audit_buf);
4459 audit_log_format(audit_buf, " res=%u", result);
4460 xfrm_audit_common_policyinfo(xp, audit_buf);
4461 audit_log_end(audit_buf);
4468 struct audit_buffer *audit_buf;
4470 audit_buf = xfrm_audit_start("SPD-delete");
4471 if (audit_buf == NULL)
4473 xfrm_audit_helper_usrinfo(task_valid, audit_buf);
4474 audit_log_format(audit_buf, " res=%u", result);
4475 xfrm_audit_common_policyinfo(xp, audit_buf);
4476 audit_log_end(audit_buf);