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
863 * @NFT_CT_LABELS: conntrack labels863 * @NFT_CT_LABELS: conntrack labels
864 * @NFT_CT_PKTS: conntrack packets864 * @NFT_CT_PKTS: conntrack packets
865 * @NFT_CT_BYTES: conntrack bytes865 * @NFT_CT_BYTES: conntrack bytes
866 * @NFT_CT_AVGPKT: conntrack average bytes per packet
866 */867 */
867enum nft_ct_keys {868enum nft_ct_keys {
868 NFT_CT_STATE,869 NFT_CT_STATE,
@@ -881,6 +882,7 @@ enum nft_ct_keys { · 12 unmodified lines
881 NFT_CT_LABELS,882 NFT_CT_LABELS,
882 NFT_CT_PKTS,883 NFT_CT_PKTS,
883 NFT_CT_BYTES,884 NFT_CT_BYTES,
885 NFT_CT_AVGPKT,
884};886};
885 887
886/**888/**

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