History

Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next

Pablo Neira Ayuso says: ==================== Netfilter updates for net-next The following patchset contains the first batch of Netfilter updates for your net-next tree. 1) Define pr_fmt() in nf_conntrack, from Weongyo Jeong. 2) Define and register netfilter's afinfo for the bridge family, this comes in preparation for native nfqueue's bridge for nft, from Stephane Bryant. 3) Add new attributes to store layer 2 and VLAN headers to nfqueue, also from Stephane Bryant. 4) Parse new NFQA_VLAN and NFQA_L2HDR nfqueue netlink attributes coming from userspace, from Stephane Bryant. 5) Use net->ipv6.devconf_all->hop_limit instead of hardcoded hop_limit in IPv6 SYNPROXY, from Liping Zhang. 6) Remove unnecessary check for dst == NULL in nf_reject_ipv6, from Haishuang Yan. 7) Deinline ctnetlink event report functions, from Florian Westphal. ====================

David S. Miller committed 10 years ago

Commit da0caad2 parents 69fb781 ecdfb488 files · +298 −129Browse files

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

Unified · Split

include/uapi/linux/netfilter/nfnetlink_queue.h+10−0
@@ -30,6 +30,14 @@ struct nfqnl_msg_packet_timestamp { · 29 unmodified lines
3030 __aligned_be64 usec;
3131 };
3232
33+enum nfqnl_vlan_attr {
34+ NFQA_VLAN_UNSPEC,
35+ NFQA_VLAN_PROTO, /* __be16 skb vlan_proto */
36+ NFQA_VLAN_TCI, /* __be16 skb htons(vlan_tci) */
37+ __NFQA_VLAN_MAX,
38+};
39+#define NFQA_VLAN_MAX (__NFQA_VLAN_MAX + 1)
40+
3341 enum nfqnl_attr_type {
3442 NFQA_UNSPEC,
3543 NFQA_PACKET_HDR,
@@ -50,6 +58,8 @@ enum nfqnl_attr_type { · 14 unmodified lines
5058 NFQA_UID, /* __u32 sk uid */
5159 NFQA_GID, /* __u32 sk gid */
5260 NFQA_SECCTX, /* security context string */
61+ NFQA_VLAN, /* nested attribute: packet vlan info */
62+ NFQA_L2HDR, /* full L2 header */
5363
5464 __NFQA_MAX
5565 };

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