#include <linux/types.h> #include <net/net_namespace.h> #include <linux/netfilter/nf_conntrack_common.h> #include <linux/netfilter/nf_conntrack_tuple_common.h> #include <net/netfilter/nf_conntrack.h> #include <net/netfilter/nf_conntrack_extend.h> #include <uapi/linux/netfilter/xt_connlabel.h> #define NF_CT_LABELS_MAX_SIZE ((XT_CONNLABEL_MAXBIT + 1) / BITS_PER_BYTE) struct nf_conn_labels { unsigned long bits[NF_CT_LABELS_MAX_SIZE / sizeof(long)]; };
static inline struct nf_conn_labels *nf_ct_labels_find(const struct nf_conn *ct) { #ifdef CONFIG_NF_CONNTRACK_LABELS return nf_ct_ext_find(ct, NF_CT_EXT_LABELS); #else return NULL; #endif }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 33 | 100.00% | 1 | 100.00% |
Total | 33 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 57 | 100.00% | 3 | 100.00% |
Total | 57 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 11 | 91.67% | 1 | 50.00% |
Gao Feng | 1 | 8.33% | 1 | 50.00% |
Total | 12 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 7 | 87.50% | 1 | 50.00% |
Gao Feng | 1 | 12.50% | 1 | 50.00% |
Total | 8 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Joe Stringer | 18 | 94.74% | 1 | 50.00% |
Florian Westphal | 1 | 5.26% | 1 | 50.00% |
Total | 19 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Joe Stringer | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Florian Westphal | 192 | 78.05% | 6 | 75.00% |
Joe Stringer | 50 | 20.33% | 1 | 12.50% |
Gao Feng | 4 | 1.63% | 1 | 12.50% |
Total | 246 | 100.00% | 8 | 100.00% |