Home
last modified time | relevance | path

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

/Linux-v4.19/net/openvswitch/
Dconntrack.h28 const struct sw_flow_key *, struct sw_flow_actions **,
32 int ovs_ct_execute(struct net *, struct sk_buff *, struct sw_flow_key *,
34 int ovs_ct_clear(struct sk_buff *skb, struct sw_flow_key *key);
36 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key);
37 int ovs_ct_put_key(const struct sw_flow_key *swkey,
38 const struct sw_flow_key *output, struct sk_buff *skb);
58 const struct sw_flow_key *key, in ovs_ct_copy_action()
71 struct sw_flow_key *key, in ovs_ct_execute()
79 struct sw_flow_key *key) in ovs_ct_clear()
85 struct sw_flow_key *key) in ovs_ct_fill_key()
[all …]
Dflow.h53 (FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len)
67 (offsetof(struct sw_flow_key, recirc_id) + \
68 FIELD_SIZEOF(struct sw_flow_key, recirc_id))
75 struct sw_flow_key { struct
166 static inline bool sw_flow_key_is_nd(const struct sw_flow_key *key) in sw_flow_key_is_nd() argument
185 struct sw_flow_key key;
189 struct sw_flow_key *key;
200 struct sw_flow_key *unmasked_key;
228 struct sw_flow_key key;
254 static inline u8 ovs_key_mac_proto(const struct sw_flow_key *key) in ovs_key_mac_proto()
[all …]
Dflow_netlink.h44 struct sw_flow_key *key, bool reset_key,
47 int ovs_nla_put_key(const struct sw_flow_key *, const struct sw_flow_key *,
53 u64 attrs, struct sw_flow_key *key, bool log);
68 const struct sw_flow_key *key, bool log);
72 const struct sw_flow_key *key,
Dactions.c54 struct sw_flow_key pkt_key;
84 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD];
94 static struct sw_flow_key *clone_key(const struct sw_flow_key *key_) in clone_key()
98 struct sw_flow_key *key = NULL; in clone_key()
137 const struct sw_flow_key *key, in add_deferred_actions()
156 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
161 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
167 struct sw_flow_key *key,
185 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
221 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
[all …]
Dflow_table.h77 const struct sw_flow_key *,
80 const struct sw_flow_key *);
88 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src,
Dflow_table.c60 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src, in ovs_flow_mask_key()
410 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash()
424 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start()
429 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
433 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key()
434 const struct sw_flow_key *key2, in cmp_key()
449 const struct sw_flow_key *key, in flow_cmp_masked_key()
458 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key()
467 const struct sw_flow_key *unmasked, in masked_flow_lookup()
473 struct sw_flow_key masked_key; in masked_flow_lookup()
[all …]
Ddatapath.h234 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key);
237 const struct sw_flow_key *, const struct dp_upcall_info *,
245 const struct sw_flow_actions *, struct sw_flow_key *);
Dconntrack.c112 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto()
182 static void __ovs_ct_update_key_orig_tp(struct sw_flow_key *key, in __ovs_ct_update_key_orig_tp()
196 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key()
242 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key()
281 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key) in ovs_ct_fill_key()
290 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key()
291 const struct sw_flow_key *output, struct sk_buff *skb) in ovs_ct_put_key()
338 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark()
375 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels()
416 static int ovs_ct_set_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_labels()
[all …]
Dflow.c255 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
352 static void clear_vlan(struct sw_flow_key *key) in clear_vlan()
360 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan()
420 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6()
494 static int parse_nsh(struct sk_buff *skb, struct sw_flow_key *key) in parse_nsh()
565 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
806 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
832 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
876 struct sw_flow_key *key, bool log) in ovs_flow_key_extract_userspace()
Dmeter.h52 struct sw_flow_key *key, u32 meter_id);
Dflow_netlink.c128 update_range(match, offsetof(struct sw_flow_key, field), \
147 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \
152 update_range(match, offsetof(struct sw_flow_key, field), \
1856 const struct sw_flow_key *key, bool log) in ovs_nla_get_identifier()
1858 struct sw_flow_key *new_key; in ovs_nla_get_identifier()
1900 u64 attrs, struct sw_flow_key *key, bool log) in ovs_nla_get_flow_metadata()
1958 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key()
1959 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key()
2197 int ovs_nla_put_key(const struct sw_flow_key *swkey, in ovs_nla_put_key()
2198 const struct sw_flow_key *output, int attr, bool is_mask, in ovs_nla_put_key()
[all …]
Ddatapath.c138 const struct sw_flow_key *,
142 const struct sw_flow_key *,
229 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet()
275 const struct sw_flow_key *key, in ovs_dp_upcall()
307 const struct sw_flow_key *key, in queue_gso_packets()
312 struct sw_flow_key later_key; in queue_gso_packets()
394 const struct sw_flow_key *key, in queue_userspace_packet()
1048 const struct sw_flow_key *key, in get_flow_actions()
1053 struct sw_flow_key masked_key; in get_flow_actions()
1082 struct sw_flow_key *key, in ovs_nla_init_match_and_action()
[all …]
Dvport.c442 struct sw_flow_key key; in ovs_vport_receive()
Dmeter.c447 struct sw_flow_key *key, u32 meter_id) in ovs_meter_execute()