Home
last modified time | relevance | path

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

/linux-4.1.27/net/openvswitch/
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 *,
48 int ovs_nla_get_flow_metadata(const struct nlattr *, struct sw_flow_key *,
62 const struct sw_flow_key *key, bool log);
66 const struct sw_flow_key *key,
Dflow.h65 (FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len)
119 (offsetof(struct sw_flow_key, recirc_id) + \
120 FIELD_SIZEOF(struct sw_flow_key, recirc_id))
122 struct sw_flow_key { struct
191 struct sw_flow_key key;
195 struct sw_flow_key *key;
206 struct sw_flow_key *unmasked_key;
233 struct sw_flow_key key;
275 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key);
278 struct sw_flow_key *key);
[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,
Dactions.c44 struct sw_flow_key *key,
52 struct sw_flow_key pkt_key;
95 const struct sw_flow_key *key, in add_deferred_actions()
112 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
117 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
122 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
158 static int pop_mpls(struct sk_buff *skb, struct sw_flow_key *key, in pop_mpls()
192 static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key, in set_mpls()
217 static int pop_vlan(struct sk_buff *skb, struct sw_flow_key *key) in pop_vlan()
229 static int push_vlan(struct sk_buff *skb, struct sw_flow_key *key, in push_vlan()
[all …]
Dflow_table.c58 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src, in ovs_flow_mask_key()
413 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash()
427 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start()
432 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
436 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key()
437 const struct sw_flow_key *key2, in cmp_key()
452 const struct sw_flow_key *key, in flow_cmp_masked_key()
461 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key()
470 const struct sw_flow_key *unmasked, in masked_flow_lookup()
476 struct sw_flow_key masked_key; in masked_flow_lookup()
[all …]
Ddatapath.h183 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key);
186 const struct sw_flow_key *, const struct dp_upcall_info *);
193 const struct sw_flow_actions *, struct sw_flow_key *);
Dflow.c248 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
298 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan()
358 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6()
454 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
680 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
686 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
718 struct sw_flow_key *key, bool log) in ovs_flow_key_extract_userspace()
Dflow_netlink.c88 update_range(match, offsetof(struct sw_flow_key, field), \
107 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \
112 update_range(match, offsetof(struct sw_flow_key, field), \
1216 const struct sw_flow_key *key, bool log) in ovs_nla_get_identifier()
1218 struct sw_flow_key *new_key; in ovs_nla_get_identifier()
1254 struct sw_flow_key *key, in ovs_nla_get_flow_metadata()
1274 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key()
1275 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key()
1489 int ovs_nla_put_key(const struct sw_flow_key *swkey, in ovs_nla_put_key()
1490 const struct sw_flow_key *output, int attr, bool is_mask, in ovs_nla_put_key()
[all …]
Ddatapath.c140 const struct sw_flow_key *,
143 const struct sw_flow_key *,
257 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet()
303 const struct sw_flow_key *key, in ovs_dp_upcall()
334 const struct sw_flow_key *key, in queue_gso_packets()
338 struct sw_flow_key later_key; in queue_gso_packets()
401 const struct sw_flow_key *key, in queue_userspace_packet()
872 struct sw_flow_key key; in ovs_flow_cmd_new()
1025 const struct sw_flow_key *key, in get_flow_actions()
1030 struct sw_flow_key masked_key; in get_flow_actions()
[all …]
Dvport.c475 struct sw_flow_key key; in ovs_vport_receive()