/kernel/linux/linux-5.10/net/openvswitch/ |
H A D | conntrack.h | 20 const struct sw_flow_key *, struct sw_flow_actions **, 24 int ovs_ct_execute(struct net *, struct sk_buff *, struct sw_flow_key *, 26 int ovs_ct_clear(struct sk_buff *skb, struct sw_flow_key *key); 28 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key); 29 int ovs_ct_put_key(const struct sw_flow_key *swkey, 30 const struct sw_flow_key *output, struct sk_buff *skb); 50 const struct sw_flow_key *key, in ovs_ct_copy_action() 63 struct sw_flow_key *key, in ovs_ct_execute() 71 struct sw_flow_key *key) in ovs_ct_clear() 77 struct sw_flow_key *ke in ovs_ct_fill_key() [all...] |
H A D | flow.h | 40 (sizeof_field(struct sw_flow_key, tun_opts) - opt_len) 54 (offsetof(struct sw_flow_key, recirc_id) + \ 55 sizeof_field(struct sw_flow_key, recirc_id)) 62 struct sw_flow_key { struct 155 static inline bool sw_flow_key_is_nd(const struct sw_flow_key *key) in sw_flow_key_is_nd() 173 struct sw_flow_key key; 177 struct sw_flow_key *key; 188 struct sw_flow_key *unmasked_key; 216 struct sw_flow_key key; 242 static inline u8 ovs_key_mac_proto(const struct sw_flow_key *ke [all...] |
H A D | flow_netlink.h | 30 struct sw_flow_key *key, bool reset_key, 33 int ovs_nla_put_key(const struct sw_flow_key *, const struct sw_flow_key *, 39 u64 attrs, struct sw_flow_key *key, bool log); 54 const struct sw_flow_key *key, bool log); 58 const struct sw_flow_key *key,
|
H A D | actions.c | 40 struct sw_flow_key pkt_key; 70 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; 80 static struct sw_flow_key *clone_key(const struct sw_flow_key *key_) in clone_key() 84 struct sw_flow_key *key = NULL; in clone_key() 123 const struct sw_flow_key *key, in add_deferred_actions() 142 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key() 147 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid() 153 struct sw_flow_key *key, 159 struct sw_flow_key *ke [all...] |
H A D | flow_table.h | 94 const struct sw_flow_key *, 99 const struct sw_flow_key *); 107 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src,
|
H A D | flow_table.c | 53 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src, in ovs_flow_mask_key() 647 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash() 658 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start() 663 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start() 667 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key() 668 const struct sw_flow_key *key2, in cmp_key() 683 const struct sw_flow_key *key, in flow_cmp_masked_key() 692 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key() 701 const struct sw_flow_key *unmaske in masked_flow_lookup() [all...] |
H A D | conntrack.c | 105 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto() 175 static void __ovs_ct_update_key_orig_tp(struct sw_flow_key *key, in __ovs_ct_update_key_orig_tp() 189 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key() 235 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key() 274 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key) in ovs_ct_fill_key() 279 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() 280 const struct sw_flow_key *output, struct sk_buff *skb) in ovs_ct_put_key() 333 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark() 370 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels() 411 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *ke [all...] |
H A D | flow.c | 242 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr() 337 static void clear_vlan(struct sw_flow_key *key) in clear_vlan() 345 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan() 405 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6() 479 static int parse_nsh(struct sk_buff *skb, struct sw_flow_key *key) in parse_nsh() 532 static int key_extract_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in key_extract_l3l4() 764 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract() 820 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update_l3l4() 825 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update() 851 struct sk_buff *skb, struct sw_flow_key *ke in ovs_flow_key_extract() [all...] |
H A D | datapath.h | 240 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key); 243 const struct sw_flow_key *, const struct dp_upcall_info *, 251 const struct sw_flow_actions *, struct sw_flow_key *);
|
H A D | flow_netlink.c | 119 update_range(match, offsetof(struct sw_flow_key, field), \ 138 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \ 143 update_range(match, offsetof(struct sw_flow_key, field), \ 1886 const struct sw_flow_key *key, bool log) in ovs_nla_get_identifier() 1888 struct sw_flow_key *new_key; in ovs_nla_get_identifier() 1930 u64 attrs, struct sw_flow_key *key, bool log) in ovs_nla_get_flow_metadata() 1988 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() 1989 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key() 2233 int ovs_nla_put_key(const struct sw_flow_key *swkey, in ovs_nla_put_key() 2234 const struct sw_flow_key *outpu in ovs_nla_put_key() [all...] |
H A D | meter.h | 61 struct sw_flow_key *key, u32 meter_id);
|
H A D | datapath.c | 125 const struct sw_flow_key *, 129 const struct sw_flow_key *, 219 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet() 278 const struct sw_flow_key *key, in ovs_dp_upcall() 310 const struct sw_flow_key *key, in queue_gso_packets() 315 struct sw_flow_key later_key; in queue_gso_packets() 395 const struct sw_flow_key *key, in queue_userspace_packet() 936 struct sw_flow_key *key; in ovs_flow_cmd_new() 1101 const struct sw_flow_key *key, in get_flow_actions() 1106 struct sw_flow_key masked_ke in get_flow_actions() [all...] |
/kernel/linux/linux-6.6/net/openvswitch/ |
H A D | conntrack.h | 20 const struct sw_flow_key *, struct sw_flow_actions **, 24 int ovs_ct_execute(struct net *, struct sk_buff *, struct sw_flow_key *, 26 int ovs_ct_clear(struct sk_buff *skb, struct sw_flow_key *key); 28 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key, 30 int ovs_ct_put_key(const struct sw_flow_key *swkey, 31 const struct sw_flow_key *output, struct sk_buff *skb); 51 const struct sw_flow_key *key, in ovs_ct_copy_action() 64 struct sw_flow_key *key, in ovs_ct_execute() 72 struct sw_flow_key *key) in ovs_ct_clear() 78 struct sw_flow_key *ke in ovs_ct_fill_key() [all...] |
H A D | flow.h | 53 (sizeof_field(struct sw_flow_key, tun_opts) - opt_len) 67 (offsetof(struct sw_flow_key, recirc_id) + \ 68 sizeof_field(struct sw_flow_key, recirc_id)) 75 struct sw_flow_key { struct 169 static inline bool sw_flow_key_is_nd(const struct sw_flow_key *key) in sw_flow_key_is_nd() 187 struct sw_flow_key key; 191 struct sw_flow_key *key; 202 struct sw_flow_key *unmasked_key; 230 struct sw_flow_key key; 256 static inline u8 ovs_key_mac_proto(const struct sw_flow_key *ke [all...] |
H A D | flow_netlink.h | 30 struct sw_flow_key *key, bool reset_key, 33 int ovs_nla_put_key(const struct sw_flow_key *, const struct sw_flow_key *, 39 u64 attrs, struct sw_flow_key *key, bool log); 54 const struct sw_flow_key *key, bool log); 58 const struct sw_flow_key *key,
|
H A D | actions.c | 43 struct sw_flow_key pkt_key; 73 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD]; 83 static struct sw_flow_key *clone_key(const struct sw_flow_key *key_) in clone_key() 87 struct sw_flow_key *key = NULL; in clone_key() 126 const struct sw_flow_key *key, in add_deferred_actions() 145 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key() 150 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid() 156 struct sw_flow_key *key, 162 struct sw_flow_key *ke [all...] |
H A D | flow_table.h | 94 const struct sw_flow_key *, 99 const struct sw_flow_key *); 107 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src,
|
H A D | flow_table.c | 53 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src, in ovs_flow_mask_key() 648 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash() 659 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start() 664 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start() 668 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key() 669 const struct sw_flow_key *key2, in cmp_key() 684 const struct sw_flow_key *key, in flow_cmp_masked_key() 693 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key() 702 const struct sw_flow_key *unmaske in masked_flow_lookup() [all...] |
H A D | datapath.h | 256 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key); 259 const struct sw_flow_key *, const struct dp_upcall_info *, 269 const struct sw_flow_actions *, struct sw_flow_key *);
|
H A D | conntrack.c | 109 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto() 179 static void __ovs_ct_update_key_orig_tp(struct sw_flow_key *key, in __ovs_ct_update_key_orig_tp() 193 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key() 239 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key() 279 struct sw_flow_key *key, in ovs_ct_fill_key() 285 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() 286 const struct sw_flow_key *output, struct sk_buff *skb) in ovs_ct_put_key() 339 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark() 376 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels() 417 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *ke [all...] |
H A D | flow.c | 385 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr() 486 static void clear_vlan(struct sw_flow_key *key) in clear_vlan() 494 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan() 554 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6() 628 static int parse_nsh(struct sk_buff *skb, struct sw_flow_key *key) in parse_nsh() 682 static int key_extract_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in key_extract_l3l4() 914 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract() 970 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update_l3l4() 975 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update() 1001 struct sk_buff *skb, struct sw_flow_key *ke in ovs_flow_key_extract() [all...] |
H A D | flow_netlink.c | 121 update_range(match, offsetof(struct sw_flow_key, field), \ 140 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \ 145 update_range(match, offsetof(struct sw_flow_key, field), \ 1909 const struct sw_flow_key *key, bool log) in ovs_nla_get_identifier() 1911 struct sw_flow_key *new_key; in ovs_nla_get_identifier() 1953 u64 attrs, struct sw_flow_key *key, bool log) in ovs_nla_get_flow_metadata() 2011 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() 2012 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key() 2264 int ovs_nla_put_key(const struct sw_flow_key *swkey, in ovs_nla_put_key() 2265 const struct sw_flow_key *outpu in ovs_nla_put_key() [all...] |
H A D | openvswitch_trace.h | 15 struct sw_flow_key *key, const struct nlattr *a, int rem), 85 const struct sw_flow_key *key,
|
H A D | meter.h | 61 struct sw_flow_key *key, u32 meter_id);
|
H A D | datapath.c | 129 const struct sw_flow_key *, 133 const struct sw_flow_key *, 246 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet() 311 const struct sw_flow_key *key, in ovs_dp_upcall() 348 const struct sw_flow_key *key, in queue_gso_packets() 353 struct sw_flow_key later_key; in queue_gso_packets() 433 const struct sw_flow_key *key, in queue_userspace_packet() 975 struct sw_flow_key *key; in ovs_flow_cmd_new() 1140 const struct sw_flow_key *key, in get_flow_actions() 1145 struct sw_flow_key masked_ke in get_flow_actions() [all...] |