Home
last modified time | relevance | path

Searched refs:ab (Results 1 – 2 of 2) sorted by relevance

/net/netfilter/
Dxt_AUDIT.c31 static bool audit_ip4(struct audit_buffer *ab, struct sk_buff *skb) in audit_ip4() argument
40 audit_log_format(ab, " saddr=%pI4 daddr=%pI4 proto=%hhu", in audit_ip4()
46 static bool audit_ip6(struct audit_buffer *ab, struct sk_buff *skb) in audit_ip6() argument
60 audit_log_format(ab, " saddr=%pI6c daddr=%pI6c proto=%hhu", in audit_ip6()
69 struct audit_buffer *ab; in audit_tg() local
74 ab = audit_log_start(NULL, GFP_ATOMIC, AUDIT_NETFILTER_PKT); in audit_tg()
75 if (ab == NULL) in audit_tg()
78 audit_log_format(ab, "mark=%#x", skb->mark); in audit_tg()
84 fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; in audit_tg()
87 fam = audit_ip6(ab, skb) ? NFPROTO_IPV6 : -1; in audit_tg()
[all …]
Dnft_log.c29 static bool audit_ip4(struct audit_buffer *ab, struct sk_buff *skb) in audit_ip4() argument
38 audit_log_format(ab, " saddr=%pI4 daddr=%pI4 proto=%hhu", in audit_ip4()
44 static bool audit_ip6(struct audit_buffer *ab, struct sk_buff *skb) in audit_ip6() argument
58 audit_log_format(ab, " saddr=%pI6c daddr=%pI6c proto=%hhu", in audit_ip6()
67 struct audit_buffer *ab; in nft_log_eval_audit() local
73 ab = audit_log_start(NULL, GFP_ATOMIC, AUDIT_NETFILTER_PKT); in nft_log_eval_audit()
74 if (!ab) in nft_log_eval_audit()
77 audit_log_format(ab, "mark=%#x", skb->mark); in nft_log_eval_audit()
83 fam = audit_ip4(ab, skb) ? NFPROTO_IPV4 : -1; in nft_log_eval_audit()
86 fam = audit_ip6(ab, skb) ? NFPROTO_IPV6 : -1; in nft_log_eval_audit()
[all …]