Lines Matching refs:audit_buf
4276 struct audit_buffer *audit_buf)
4282 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s",
4287 audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4);
4289 audit_log_format(audit_buf, " src_prefixlen=%d",
4291 audit_log_format(audit_buf, " dst=%pI4", &sel->daddr.a4);
4293 audit_log_format(audit_buf, " dst_prefixlen=%d",
4297 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6);
4299 audit_log_format(audit_buf, " src_prefixlen=%d",
4301 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6);
4303 audit_log_format(audit_buf, " dst_prefixlen=%d",
4311 struct audit_buffer *audit_buf;
4313 audit_buf = xfrm_audit_start("SPD-add");
4314 if (audit_buf == NULL)
4316 xfrm_audit_helper_usrinfo(task_valid, audit_buf);
4317 audit_log_format(audit_buf, " res=%u", result);
4318 xfrm_audit_common_policyinfo(xp, audit_buf);
4319 audit_log_end(audit_buf);
4326 struct audit_buffer *audit_buf;
4328 audit_buf = xfrm_audit_start("SPD-delete");
4329 if (audit_buf == NULL)
4331 xfrm_audit_helper_usrinfo(task_valid, audit_buf);
4332 audit_log_format(audit_buf, " res=%u", result);
4333 xfrm_audit_common_policyinfo(xp, audit_buf);
4334 audit_log_end(audit_buf);