Home
last modified time | relevance | path

Searched refs:nf_log_buf (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/include/net/netfilter/
Dnf_log.h92 struct nf_log_buf;
94 struct nf_log_buf *nf_log_buf_open(void);
95 __printf(2, 3) int nf_log_buf_add(struct nf_log_buf *m, const char *f, ...);
96 void nf_log_buf_close(struct nf_log_buf *m);
99 int nf_log_dump_udp_header(struct nf_log_buf *m, const struct sk_buff *skb,
101 int nf_log_dump_tcp_header(struct nf_log_buf *m, const struct sk_buff *skb,
104 void nf_log_dump_sk_uid_gid(struct nf_log_buf *m, struct sock *sk);
105 void nf_log_dump_packet_common(struct nf_log_buf *m, u_int8_t pf,
/linux-4.4.14/net/netfilter/
Dnf_log_common.c24 int nf_log_dump_udp_header(struct nf_log_buf *m, const struct sk_buff *skb, in nf_log_dump_udp_header()
56 int nf_log_dump_tcp_header(struct nf_log_buf *m, const struct sk_buff *skb, in nf_log_dump_tcp_header()
135 void nf_log_dump_sk_uid_gid(struct nf_log_buf *m, struct sock *sk) in nf_log_dump_sk_uid_gid()
152 nf_log_dump_packet_common(struct nf_log_buf *m, u_int8_t pf, in nf_log_dump_packet_common()
Dnf_log.c246 struct nf_log_buf { struct
250 static struct nf_log_buf emergency, *emergency_ptr = &emergency; argument
252 __printf(2, 3) int nf_log_buf_add(struct nf_log_buf *m, const char *f, ...) in nf_log_buf_add()
272 struct nf_log_buf *nf_log_buf_open(void) in nf_log_buf_open()
274 struct nf_log_buf *m = kmalloc(sizeof(*m), GFP_ATOMIC); in nf_log_buf_open()
287 void nf_log_buf_close(struct nf_log_buf *m) in nf_log_buf_close()
/linux-4.4.14/net/ipv4/netfilter/
Dnf_log_arp.c45 static void dump_arp_packet(struct nf_log_buf *m, in dump_arp_packet()
87 struct nf_log_buf *m; in nf_log_arp_packet()
Dnf_log_ipv4.c38 static void dump_ipv4_packet(struct nf_log_buf *m, in dump_ipv4_packet()
275 static void dump_ipv4_mac_header(struct nf_log_buf *m, in dump_ipv4_mac_header()
319 struct nf_log_buf *m; in nf_log_ip_packet()
/linux-4.4.14/net/ipv6/netfilter/
Dnf_log_ipv6.c39 static void dump_ipv6_packet(struct nf_log_buf *m, in dump_ipv6_packet()
288 static void dump_ipv6_mac_header(struct nf_log_buf *m, in dump_ipv6_mac_header()
351 struct nf_log_buf *m; in nf_log_ip6_packet()