History

netfilter: nft_ct: add average bytes per packet support

Similar to xt_connbytes, user can match how many average bytes per packet a connection has transferred so far.

Liping Zhang committed 9 years ago

Commit 949a3581 parent 237bab62 files · +23 −1Browse files

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

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+2−0
@@ -863,6 +863,7 @@ enum nft_rt_attributes { · 862 unmodified lines
863863 * @NFT_CT_LABELS: conntrack labels
864864 * @NFT_CT_PKTS: conntrack packets
865865 * @NFT_CT_BYTES: conntrack bytes
866+ * @NFT_CT_AVGPKT: conntrack average bytes per packet
866867 */
867868 enum nft_ct_keys {
868869 NFT_CT_STATE,
@@ -881,6 +882,7 @@ enum nft_ct_keys { · 12 unmodified lines
881882 NFT_CT_LABELS,
882883 NFT_CT_PKTS,
883884 NFT_CT_BYTES,
885+ NFT_CT_AVGPKT,
884886 };
885887
886888 /**

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