flow_offload.h (3c69a99b62fde9de86a612ef1daaa07d95f0a773) | flow_offload.h (6a21b0856daaf9b7f63225f5b449ddee170c6f0a) |
---|---|
1#ifndef _NET_FLOW_OFFLOAD_H 2#define _NET_FLOW_OFFLOAD_H 3 4#include <linux/kernel.h> 5#include <linux/list.h> 6#include <linux/netlink.h> 7#include <net/flow_dissector.h> 8 --- 34 unchanged lines hidden (view full) --- 43struct flow_match_ip { 44 struct flow_dissector_key_ip *key, *mask; 45}; 46 47struct flow_match_ports { 48 struct flow_dissector_key_ports *key, *mask; 49}; 50 | 1#ifndef _NET_FLOW_OFFLOAD_H 2#define _NET_FLOW_OFFLOAD_H 3 4#include <linux/kernel.h> 5#include <linux/list.h> 6#include <linux/netlink.h> 7#include <net/flow_dissector.h> 8 --- 34 unchanged lines hidden (view full) --- 43struct flow_match_ip { 44 struct flow_dissector_key_ip *key, *mask; 45}; 46 47struct flow_match_ports { 48 struct flow_dissector_key_ports *key, *mask; 49}; 50 |
51struct flow_match_ports_range { 52 struct flow_dissector_key_ports_range *key, *mask; 53}; 54 |
|
51struct flow_match_icmp { 52 struct flow_dissector_key_icmp *key, *mask; 53}; 54 55struct flow_match_tcp { 56 struct flow_dissector_key_tcp *key, *mask; 57}; 58 --- 8 unchanged lines hidden (view full) --- 67struct flow_match_enc_opts { 68 struct flow_dissector_key_enc_opts *key, *mask; 69}; 70 71struct flow_match_ct { 72 struct flow_dissector_key_ct *key, *mask; 73}; 74 | 55struct flow_match_icmp { 56 struct flow_dissector_key_icmp *key, *mask; 57}; 58 59struct flow_match_tcp { 60 struct flow_dissector_key_tcp *key, *mask; 61}; 62 --- 8 unchanged lines hidden (view full) --- 71struct flow_match_enc_opts { 72 struct flow_dissector_key_enc_opts *key, *mask; 73}; 74 75struct flow_match_ct { 76 struct flow_dissector_key_ct *key, *mask; 77}; 78 |
79struct flow_match_pppoe { 80 struct flow_dissector_key_pppoe *key, *mask; 81}; 82 |
|
75struct flow_rule; 76 77void flow_rule_match_meta(const struct flow_rule *rule, 78 struct flow_match_meta *out); 79void flow_rule_match_basic(const struct flow_rule *rule, 80 struct flow_match_basic *out); 81void flow_rule_match_control(const struct flow_rule *rule, 82 struct flow_match_control *out); --- 6 unchanged lines hidden (view full) --- 89void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, 90 struct flow_match_ipv4_addrs *out); 91void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, 92 struct flow_match_ipv6_addrs *out); 93void flow_rule_match_ip(const struct flow_rule *rule, 94 struct flow_match_ip *out); 95void flow_rule_match_ports(const struct flow_rule *rule, 96 struct flow_match_ports *out); | 83struct flow_rule; 84 85void flow_rule_match_meta(const struct flow_rule *rule, 86 struct flow_match_meta *out); 87void flow_rule_match_basic(const struct flow_rule *rule, 88 struct flow_match_basic *out); 89void flow_rule_match_control(const struct flow_rule *rule, 90 struct flow_match_control *out); --- 6 unchanged lines hidden (view full) --- 97void flow_rule_match_ipv4_addrs(const struct flow_rule *rule, 98 struct flow_match_ipv4_addrs *out); 99void flow_rule_match_ipv6_addrs(const struct flow_rule *rule, 100 struct flow_match_ipv6_addrs *out); 101void flow_rule_match_ip(const struct flow_rule *rule, 102 struct flow_match_ip *out); 103void flow_rule_match_ports(const struct flow_rule *rule, 104 struct flow_match_ports *out); |
105void flow_rule_match_ports_range(const struct flow_rule *rule, 106 struct flow_match_ports_range *out); |
|
97void flow_rule_match_tcp(const struct flow_rule *rule, 98 struct flow_match_tcp *out); 99void flow_rule_match_icmp(const struct flow_rule *rule, 100 struct flow_match_icmp *out); 101void flow_rule_match_mpls(const struct flow_rule *rule, 102 struct flow_match_mpls *out); 103void flow_rule_match_enc_control(const struct flow_rule *rule, 104 struct flow_match_control *out); --- 6 unchanged lines hidden (view full) --- 111void flow_rule_match_enc_ports(const struct flow_rule *rule, 112 struct flow_match_ports *out); 113void flow_rule_match_enc_keyid(const struct flow_rule *rule, 114 struct flow_match_enc_keyid *out); 115void flow_rule_match_enc_opts(const struct flow_rule *rule, 116 struct flow_match_enc_opts *out); 117void flow_rule_match_ct(const struct flow_rule *rule, 118 struct flow_match_ct *out); | 107void flow_rule_match_tcp(const struct flow_rule *rule, 108 struct flow_match_tcp *out); 109void flow_rule_match_icmp(const struct flow_rule *rule, 110 struct flow_match_icmp *out); 111void flow_rule_match_mpls(const struct flow_rule *rule, 112 struct flow_match_mpls *out); 113void flow_rule_match_enc_control(const struct flow_rule *rule, 114 struct flow_match_control *out); --- 6 unchanged lines hidden (view full) --- 121void flow_rule_match_enc_ports(const struct flow_rule *rule, 122 struct flow_match_ports *out); 123void flow_rule_match_enc_keyid(const struct flow_rule *rule, 124 struct flow_match_enc_keyid *out); 125void flow_rule_match_enc_opts(const struct flow_rule *rule, 126 struct flow_match_enc_opts *out); 127void flow_rule_match_ct(const struct flow_rule *rule, 128 struct flow_match_ct *out); |
129void flow_rule_match_pppoe(const struct flow_rule *rule, 130 struct flow_match_pppoe *out); |
|
119 120enum flow_action_id { 121 FLOW_ACTION_ACCEPT = 0, 122 FLOW_ACTION_DROP, 123 FLOW_ACTION_TRAP, 124 FLOW_ACTION_GOTO, 125 FLOW_ACTION_REDIRECT, 126 FLOW_ACTION_MIRRED, --- 492 unchanged lines hidden --- | 131 132enum flow_action_id { 133 FLOW_ACTION_ACCEPT = 0, 134 FLOW_ACTION_DROP, 135 FLOW_ACTION_TRAP, 136 FLOW_ACTION_GOTO, 137 FLOW_ACTION_REDIRECT, 138 FLOW_ACTION_MIRRED, --- 492 unchanged lines hidden --- |