Home
last modified time | relevance | path

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

/linux-6.1.9/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.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.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()
647 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash()
658 static int flow_key_start(const struct sw_flow_key *key) in flow_key_start()
663 return rounddown(offsetof(struct sw_flow_key, phy), in flow_key_start()
667 static bool cmp_key(const struct sw_flow_key *key1, in cmp_key()
668 const struct sw_flow_key *key2, in cmp_key()
683 const struct sw_flow_key *key, in flow_cmp_masked_key()
692 struct sw_flow_key *key = match->key; in ovs_flow_cmp_unmasked_key()
701 const struct sw_flow_key *unmasked, in masked_flow_lookup()
708 struct sw_flow_key masked_key; in masked_flow_lookup()
[all …]
Dconntrack.c107 static u16 key_to_nfproto(const struct sw_flow_key *key) in key_to_nfproto()
177 static void __ovs_ct_update_key_orig_tp(struct sw_flow_key *key, in __ovs_ct_update_key_orig_tp()
191 static void __ovs_ct_update_key(struct sw_flow_key *key, u8 state, in __ovs_ct_update_key()
237 struct sw_flow_key *key, bool post_ct, in ovs_ct_update_key()
277 struct sw_flow_key *key, in ovs_ct_fill_key()
283 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key()
284 const struct sw_flow_key *output, struct sk_buff *skb) in ovs_ct_put_key()
337 static int ovs_ct_set_mark(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_set_mark()
374 static int ovs_ct_init_labels(struct nf_conn *ct, struct sw_flow_key *key, in ovs_ct_init_labels()
415 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.c382 static int parse_ipv6hdr(struct sk_buff *skb, struct sw_flow_key *key) in parse_ipv6hdr()
483 static void clear_vlan(struct sw_flow_key *key) in clear_vlan()
491 static int parse_vlan(struct sk_buff *skb, struct sw_flow_key *key) in parse_vlan()
551 static int parse_icmpv6(struct sk_buff *skb, struct sw_flow_key *key, in parse_icmpv6()
625 static int parse_nsh(struct sk_buff *skb, struct sw_flow_key *key) in parse_nsh()
679 static int key_extract_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in key_extract_l3l4()
911 static int key_extract(struct sk_buff *skb, struct sw_flow_key *key) in key_extract()
967 int ovs_flow_key_update_l3l4(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update_l3l4()
972 int ovs_flow_key_update(struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_update()
998 struct sk_buff *skb, struct sw_flow_key *key) in ovs_flow_key_extract()
[all …]
Dflow_netlink.c118 update_range(match, offsetof(struct sw_flow_key, field), \
137 SW_FLOW_KEY_MEMCPY_OFFSET(match, offsetof(struct sw_flow_key, field), \
142 update_range(match, offsetof(struct sw_flow_key, field), \
1906 const struct sw_flow_key *key, bool log) in ovs_nla_get_identifier()
1908 struct sw_flow_key *new_key; in ovs_nla_get_identifier()
1950 u64 attrs, struct sw_flow_key *key, bool log) in ovs_nla_get_flow_metadata()
2008 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key()
2009 const struct sw_flow_key *output, bool is_mask, in __ovs_nla_put_key()
2261 int ovs_nla_put_key(const struct sw_flow_key *swkey, in ovs_nla_put_key()
2262 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.c127 const struct sw_flow_key *,
131 const struct sw_flow_key *,
224 void ovs_dp_process_packet(struct sk_buff *skb, struct sw_flow_key *key) in ovs_dp_process_packet()
289 const struct sw_flow_key *key, in ovs_dp_upcall()
324 const struct sw_flow_key *key, in queue_gso_packets()
329 struct sw_flow_key later_key; in queue_gso_packets()
409 const struct sw_flow_key *key, in queue_userspace_packet()
951 struct sw_flow_key *key; in ovs_flow_cmd_new()
1116 const struct sw_flow_key *key, in get_flow_actions()
1121 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.c433 struct sw_flow_key key; in ovs_vport_receive()
Dmeter.c593 struct sw_flow_key *key, u32 meter_id) in ovs_meter_execute()