Home
last modified time | relevance | path

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

/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);
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 *key) in ovs_ct_fill_key()
[all …]
Dflow.h39 (FIELD_SIZEOF(struct sw_flow_key, tun_opts) - opt_len)
53 (offsetof(struct sw_flow_key, recirc_id) + \
54 FIELD_SIZEOF(struct sw_flow_key, recirc_id))
61 struct sw_flow_key { struct
152 static inline bool sw_flow_key_is_nd(const struct sw_flow_key *key) in sw_flow_key_is_nd() argument
171 struct sw_flow_key key;
175 struct sw_flow_key *key;
186 struct sw_flow_key *unmasked_key;
214 struct sw_flow_key key;
240 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.c41 struct sw_flow_key pkt_key;
71 struct sw_flow_key key[OVS_DEFERRED_ACTION_THRESHOLD];
81 static struct sw_flow_key *clone_key(const struct sw_flow_key *key_) in clone_key()
85 struct sw_flow_key *key = NULL; in clone_key()
124 const struct sw_flow_key *key, in add_deferred_actions()
143 static void invalidate_flow_key(struct sw_flow_key *key) in invalidate_flow_key()
148 static bool is_flow_key_valid(const struct sw_flow_key *key) in is_flow_key_valid()
154 struct sw_flow_key *key,
160 struct sw_flow_key *key,
163 static int push_mpls(struct sk_buff *skb, struct sw_flow_key *key, in push_mpls()
[all …]
Dflow_table.c47 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src, in ovs_flow_mask_key()
370 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash()
384 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start()
389 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
393 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key()
394 const struct sw_flow_key *key2, in cmp_key()
409 const struct sw_flow_key *key, in flow_cmp_masked_key()
418 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key()
427 const struct sw_flow_key *unmasked, in masked_flow_lookup()
433 struct sw_flow_key masked_key; in masked_flow_lookup()
[all …]
Dflow_table.h63 const struct sw_flow_key *,
66 const struct sw_flow_key *);
74 void ovs_flow_mask_key(struct sw_flow_key *dst, const struct sw_flow_key *src,
Dconntrack.c105 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 *key, in ovs_ct_set_labels()
[all …]
Dflow.c242 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()
756 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
812 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update_l3l4()
817 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
843 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
[all …]
Ddatapath.h223 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key);
226 const struct sw_flow_key *, const struct dp_upcall_info *,
234 const struct sw_flow_actions *, struct sw_flow_key *);
Dflow_netlink.c116 update_range(match, offsetof(struct sw_flow_key, field), \
135 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \
140 update_range(match, offsetof(struct sw_flow_key, field), \
1868 const struct sw_flow_key *key, bool log) in ovs_nla_get_identifier()
1870 struct sw_flow_key *new_key; in ovs_nla_get_identifier()
1912 u64 attrs, struct sw_flow_key *key, bool log) in ovs_nla_get_flow_metadata()
1970 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key()
1971 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key()
2210 int ovs_nla_put_key(const struct sw_flow_key *swkey, in ovs_nla_put_key()
2211 const struct sw_flow_key *output, int attr, bool is_mask, in ovs_nla_put_key()
[all …]
Ddatapath.c125 const struct sw_flow_key *,
129 const struct sw_flow_key *,
216 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet()
272 const struct sw_flow_key *key, in ovs_dp_upcall()
304 const struct sw_flow_key *key, in queue_gso_packets()
309 struct sw_flow_key later_key; in queue_gso_packets()
391 const struct sw_flow_key *key, in queue_userspace_packet()
913 struct sw_flow_key *key; in ovs_flow_cmd_new()
1077 const struct sw_flow_key *key, in get_flow_actions()
1082 struct sw_flow_key masked_key; in get_flow_actions()
[all …]
Dmeter.h49 struct sw_flow_key *key, u32 meter_id);
Dvport.c427 struct sw_flow_key key; in ovs_vport_receive()
Dmeter.c443 struct sw_flow_key *key, u32 meter_id) in ovs_meter_execute()