Searched refs:nf_log_buf_add (Results 1 – 5 of 5) sorted by relevance
/net/ipv6/netfilter/ |
D | nf_log_ipv6.c | 56 nf_log_buf_add(m, "TRUNCATED"); in dump_ipv6_packet() 61 nf_log_buf_add(m, "SRC=%pI6 DST=%pI6 ", &ih->saddr, &ih->daddr); in dump_ipv6_packet() 64 nf_log_buf_add(m, "LEN=%zu TC=%u HOPLIMIT=%u FLOWLBL=%u ", in dump_ipv6_packet() 79 nf_log_buf_add(m, "TRUNCATED"); in dump_ipv6_packet() 85 nf_log_buf_add(m, "OPT ( "); in dump_ipv6_packet() 92 nf_log_buf_add(m, "FRAG:"); in dump_ipv6_packet() 96 nf_log_buf_add(m, "TRUNCATED "); in dump_ipv6_packet() 101 nf_log_buf_add(m, "%u ", ntohs(fh->frag_off) & 0xFFF8); in dump_ipv6_packet() 105 nf_log_buf_add(m, "INCOMPLETE "); in dump_ipv6_packet() 107 nf_log_buf_add(m, "ID:%08x ", in dump_ipv6_packet() [all …]
|
/net/netfilter/ |
D | nf_log_common.c | 29 nf_log_buf_add(m, "PROTO=UDP "); in nf_log_dump_udp_header() 31 nf_log_buf_add(m, "PROTO=UDPLITE "); in nf_log_dump_udp_header() 39 nf_log_buf_add(m, "INCOMPLETE [%u bytes] ", skb->len - offset); in nf_log_dump_udp_header() 45 nf_log_buf_add(m, "SPT=%u DPT=%u LEN=%u ", in nf_log_dump_udp_header() 61 nf_log_buf_add(m, "PROTO=TCP "); in nf_log_dump_tcp_header() 69 nf_log_buf_add(m, "INCOMPLETE [%u bytes] ", skb->len - offset); in nf_log_dump_tcp_header() 74 nf_log_buf_add(m, "SPT=%u DPT=%u ", in nf_log_dump_tcp_header() 78 nf_log_buf_add(m, "SEQ=%u ACK=%u ", in nf_log_dump_tcp_header() 83 nf_log_buf_add(m, "WINDOW=%u ", ntohs(th->window)); in nf_log_dump_tcp_header() 85 nf_log_buf_add(m, "RES=0x%02x ", (u_int8_t)(ntohl(tcp_flag_word(th) & in nf_log_dump_tcp_header() [all …]
|
D | nf_log.c | 277 __printf(2, 3) int nf_log_buf_add(struct nf_log_buf *m, const char *f, ...) in nf_log_buf_add() function 295 EXPORT_SYMBOL_GPL(nf_log_buf_add);
|
/net/ipv4/netfilter/ |
D | nf_log_ipv4.c | 50 nf_log_buf_add(m, "TRUNCATED"); in dump_ipv4_packet() 57 nf_log_buf_add(m, "SRC=%pI4 DST=%pI4 ", &ih->saddr, &ih->daddr); in dump_ipv4_packet() 60 nf_log_buf_add(m, "LEN=%u TOS=0x%02X PREC=0x%02X TTL=%u ID=%u ", in dump_ipv4_packet() 66 nf_log_buf_add(m, "CE "); in dump_ipv4_packet() 68 nf_log_buf_add(m, "DF "); in dump_ipv4_packet() 70 nf_log_buf_add(m, "MF "); in dump_ipv4_packet() 74 nf_log_buf_add(m, "FRAG:%u ", ntohs(ih->frag_off) & IP_OFFSET); in dump_ipv4_packet() 86 nf_log_buf_add(m, "TRUNCATED"); in dump_ipv4_packet() 91 nf_log_buf_add(m, "OPT ("); in dump_ipv4_packet() 93 nf_log_buf_add(m, "%02X", op[i]); in dump_ipv4_packet() [all …]
|
D | nf_log_arp.c | 54 nf_log_buf_add(m, "TRUNCATED"); in dump_arp_packet() 64 nf_log_buf_add(m, "MACSRC=%pM MACDST=%pM ", in dump_arp_packet() 67 nf_log_buf_add(m, "MACPROTO=%04x ", in dump_arp_packet() 71 nf_log_buf_add(m, "ARP HTYPE=%d PTYPE=0x%04x OPCODE=%d", in dump_arp_packet() 84 nf_log_buf_add(m, " INCOMPLETE [%zu bytes]", in dump_arp_packet() 88 nf_log_buf_add(m, " MACSRC=%pM IPSRC=%pI4 MACDST=%pM IPDST=%pI4", in dump_arp_packet()
|