Lines Matching refs:audit_buf
3033 struct audit_buffer *audit_buf) in xfrm_audit_helper_sainfo() argument
3039 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_helper_sainfo()
3044 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_sainfo()
3048 audit_log_format(audit_buf, " src=%pI6 dst=%pI6", in xfrm_audit_helper_sainfo()
3053 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_helper_sainfo()
3057 struct audit_buffer *audit_buf) in xfrm_audit_helper_pktinfo() argument
3065 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_pktinfo()
3070 audit_log_format(audit_buf, in xfrm_audit_helper_pktinfo()
3082 struct audit_buffer *audit_buf; in xfrm_audit_state_add() local
3084 audit_buf = xfrm_audit_start("SAD-add"); in xfrm_audit_state_add()
3085 if (audit_buf == NULL) in xfrm_audit_state_add()
3087 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_state_add()
3088 xfrm_audit_helper_sainfo(x, audit_buf); in xfrm_audit_state_add()
3089 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_state_add()
3090 audit_log_end(audit_buf); in xfrm_audit_state_add()
3096 struct audit_buffer *audit_buf; in xfrm_audit_state_delete() local
3098 audit_buf = xfrm_audit_start("SAD-delete"); in xfrm_audit_state_delete()
3099 if (audit_buf == NULL) in xfrm_audit_state_delete()
3101 xfrm_audit_helper_usrinfo(task_valid, audit_buf); in xfrm_audit_state_delete()
3102 xfrm_audit_helper_sainfo(x, audit_buf); in xfrm_audit_state_delete()
3103 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_state_delete()
3104 audit_log_end(audit_buf); in xfrm_audit_state_delete()
3111 struct audit_buffer *audit_buf; in xfrm_audit_state_replay_overflow() local
3114 audit_buf = xfrm_audit_start("SA-replay-overflow"); in xfrm_audit_state_replay_overflow()
3115 if (audit_buf == NULL) in xfrm_audit_state_replay_overflow()
3117 xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); in xfrm_audit_state_replay_overflow()
3121 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_state_replay_overflow()
3122 audit_log_end(audit_buf); in xfrm_audit_state_replay_overflow()
3129 struct audit_buffer *audit_buf; in xfrm_audit_state_replay() local
3132 audit_buf = xfrm_audit_start("SA-replayed-pkt"); in xfrm_audit_state_replay()
3133 if (audit_buf == NULL) in xfrm_audit_state_replay()
3135 xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); in xfrm_audit_state_replay()
3137 audit_log_format(audit_buf, " spi=%u(0x%x) seqno=%u", in xfrm_audit_state_replay()
3139 audit_log_end(audit_buf); in xfrm_audit_state_replay()
3145 struct audit_buffer *audit_buf; in xfrm_audit_state_notfound_simple() local
3147 audit_buf = xfrm_audit_start("SA-notfound"); in xfrm_audit_state_notfound_simple()
3148 if (audit_buf == NULL) in xfrm_audit_state_notfound_simple()
3150 xfrm_audit_helper_pktinfo(skb, family, audit_buf); in xfrm_audit_state_notfound_simple()
3151 audit_log_end(audit_buf); in xfrm_audit_state_notfound_simple()
3158 struct audit_buffer *audit_buf; in xfrm_audit_state_notfound() local
3161 audit_buf = xfrm_audit_start("SA-notfound"); in xfrm_audit_state_notfound()
3162 if (audit_buf == NULL) in xfrm_audit_state_notfound()
3164 xfrm_audit_helper_pktinfo(skb, family, audit_buf); in xfrm_audit_state_notfound()
3166 audit_log_format(audit_buf, " spi=%u(0x%x) seqno=%u", in xfrm_audit_state_notfound()
3168 audit_log_end(audit_buf); in xfrm_audit_state_notfound()
3175 struct audit_buffer *audit_buf; in xfrm_audit_state_icvfail() local
3179 audit_buf = xfrm_audit_start("SA-icv-failure"); in xfrm_audit_state_icvfail()
3180 if (audit_buf == NULL) in xfrm_audit_state_icvfail()
3182 xfrm_audit_helper_pktinfo(skb, x->props.family, audit_buf); in xfrm_audit_state_icvfail()
3185 audit_log_format(audit_buf, " spi=%u(0x%x) seqno=%u", in xfrm_audit_state_icvfail()
3188 audit_log_end(audit_buf); in xfrm_audit_state_icvfail()