Home
last modified time | relevance | path

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

/linux-4.4.14/net/openvswitch/
Dconntrack.h27 const struct sw_flow_key *, struct sw_flow_actions **,
31 int ovs_ct_execute(struct net *, struct sk_buff *, struct sw_flow_key *,
34 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key);
35 int ovs_ct_put_key(const struct sw_flow_key *key, struct sk_buff *skb);
54 const struct sw_flow_key *key, in ovs_ct_copy_action()
67 struct sw_flow_key *key, in ovs_ct_execute()
75 struct sw_flow_key *key) in ovs_ct_fill_key()
83 static inline int ovs_ct_put_key(const struct sw_flow_key *key, in ovs_ct_put_key()
Dflow.h45 (FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len)
54 (offsetof(struct sw_flow_key, recirc_id) + \
55 FIELD_SIZEOF(struct sw_flow_key, recirc_id))
57 struct sw_flow_key { struct
135 struct sw_flow_key key; argument
139 struct sw_flow_key *key;
150 struct sw_flow_key *unmasked_key;
178 struct sw_flow_key key;
220 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key);
223 struct sw_flow_key *key);
[all …]
Dflow_netlink.h44 struct sw_flow_key *key, struct sw_flow_mask *mask);
46 int ovs_nla_put_key(const struct sw_flow_key *, const struct sw_flow_key *,
49 struct sw_flow_key *, bool log);
64 const struct sw_flow_key *key, bool log);
68 const struct sw_flow_key *key,
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,
Dactions.c48 struct sw_flow_key *key,
56 struct sw_flow_key pkt_key;
113 const struct sw_flow_key *key, in add_deferred_actions()
130 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
135 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
140 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
174 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
204 static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_mpls()
229 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
241 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
[all …]
Dflow_table.c59 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src, in ovs_flow_mask_key()
415 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash()
429 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start()
434 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
438 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key()
439 const struct sw_flow_key *key2, in cmp_key()
454 const struct sw_flow_key *key, in flow_cmp_masked_key()
463 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key()
472 const struct sw_flow_key *unmasked, in masked_flow_lookup()
478 struct sw_flow_key masked_key; in masked_flow_lookup()
[all …]
Dconntrack.c58 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto()
132 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key()
147 struct sw_flow_key *key, bool post_ct) in ovs_ct_update_key()
170 void ovs_ct_fill_key(const struct sk_buff *skb, struct sw_flow_key *key) in ovs_ct_fill_key()
175 int ovs_ct_put_key(const struct sw_flow_key *key, struct sk_buff *skb) in ovs_ct_put_key()
196 static int ovs_ct_set_mark(struct sk_buff *skb, struct sw_flow_key *key, in ovs_ct_set_mark()
223 static int ovs_ct_set_labels(struct sk_buff *skb, struct sw_flow_key *key, in ovs_ct_set_labels()
304 static int handle_fragments(struct net *net, struct sw_flow_key *key, in handle_fragments()
395 static int __ovs_ct_lookup(struct net *net, struct sw_flow_key *key, in __ovs_ct_lookup()
432 static int ovs_ct_lookup(struct net *net, struct sw_flow_key *key, in ovs_ct_lookup()
[all …]
Ddatapath.h190 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key);
193 const struct sw_flow_key *, const struct dp_upcall_info *);
200 const struct sw_flow_actions *, struct sw_flow_key *);
Dflow.c250 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
305 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan()
365 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6()
461 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
691 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
697 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
733 struct sw_flow_key *key, bool log) in ovs_flow_key_extract_userspace()
Dflow_netlink.c89 update_range(match, offsetof(struct sw_flow_key, field), \
108 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \
113 update_range(match, offsetof(struct sw_flow_key, field), \
1353 const struct sw_flow_key *key, bool log) in ovs_nla_get_identifier()
1355 struct sw_flow_key *new_key; in ovs_nla_get_identifier()
1391 struct sw_flow_key *key, in ovs_nla_get_flow_metadata()
1412 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key()
1413 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key()
1630 int ovs_nla_put_key(const struct sw_flow_key *swkey, in ovs_nla_put_key()
1631 const struct sw_flow_key *output, int attr, bool is_mask, in ovs_nla_put_key()
[all …]
Ddatapath.c139 const struct sw_flow_key *,
142 const struct sw_flow_key *,
256 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet()
302 const struct sw_flow_key *key, in ovs_dp_upcall()
333 const struct sw_flow_key *key, in queue_gso_packets()
337 struct sw_flow_key later_key; in queue_gso_packets()
418 const struct sw_flow_key *key, in queue_userspace_packet()
916 struct sw_flow_key key; in ovs_flow_cmd_new()
1070 const struct sw_flow_key *key, in get_flow_actions()
1075 struct sw_flow_key masked_key; in get_flow_actions()
[all …]
Dvport.c442 struct sw_flow_key key; in ovs_vport_receive()