History

netfilter: nfnetlink_queue: avoid expensive gso segmentation and checksum fixup

Userspace can now indicate that it can cope with larger-than-mtu sized packets and packets that have invalid ipv4/tcp checksums.

Florian Westphal committed 13 years ago

Commit 00bd1cc1 parent 72371902 files · +5 −3Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/netfilter/nfnetlink_queue.h+2−1
@@ -97,7 +97,8 @@ enum nfqnl_attr_config { · 96 unmodified lines
97/* Flags for NFQA_CFG_FLAGS */97/* Flags for NFQA_CFG_FLAGS */
98#define NFQA_CFG_F_FAIL_OPEN (1 << 0)98#define NFQA_CFG_F_FAIL_OPEN (1 << 0)
99#define NFQA_CFG_F_CONNTRACK (1 << 1)99#define NFQA_CFG_F_CONNTRACK (1 << 1)
100#define NFQA_CFG_F_MAX (1 << 2)100#define NFQA_CFG_F_GSO (1 << 2)
101#define NFQA_CFG_F_MAX (1 << 3)
101 102
102/* flags for NFQA_SKB_INFO */103/* flags for NFQA_SKB_INFO */
103/* packet appears to have wrong checksums, but they are ok */104/* packet appears to have wrong checksums, but they are ok */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t