Home
last modified time | relevance | path

Searched refs:sw_flow_key (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/net/openvswitch/ !
Dconntrack.h20 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 *key, in ovs_ct_fill_key()
[all …]
Dflow.h53 (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() argument
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 *key) in ovs_key_mac_proto()
[all …]
Dflow_netlink.h30 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,
Dactions.c43 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 *key,
165 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
[all …]
Dflow_table.h94 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,
Dflow_table.c53 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 *unmasked, in masked_flow_lookup()
709 struct sw_flow_key masked_key; in masked_flow_lookup()
[all …]
Dconntrack.c109 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 *key, in ovs_ct_set_labels()
[all …]
Ddatapath.h256 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 *);
Dflow.c385 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 *key) in ovs_flow_key_extract()
[all …]
Dflow_netlink.c121 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 *output, int attr, bool is_mask, in ovs_nla_put_key()
[all …]
Dmeter.h61 struct sw_flow_key *key, u32 meter_id);
Ddatapath.c129 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_key; in get_flow_actions()
[all …]
Dopenvswitch_trace.h15 struct sw_flow_key *key, const struct nlattr *a, int rem),
85 const struct sw_flow_key *key,
Dvport.c497 struct sw_flow_key key; in ovs_vport_receive()
Dmeter.c593 struct sw_flow_key *key, u32 meter_id) in ovs_meter_execute()