/Linux-v4.19/net/openvswitch/ |
D | conntrack.h | 28 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 …]
|
D | flow.h | 53 (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 …]
|
D | flow_netlink.h | 44 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,
|
D | actions.c | 54 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 …]
|
D | flow_table.h | 77 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,
|
D | flow_table.c | 60 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 …]
|
D | datapath.h | 234 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 *);
|
D | conntrack.c | 112 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 …]
|
D | flow.c | 255 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()
|
D | meter.h | 52 struct sw_flow_key *key, u32 meter_id);
|
D | flow_netlink.c | 128 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 …]
|
D | datapath.c | 138 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 …]
|
D | vport.c | 442 struct sw_flow_key key; in ovs_vport_receive()
|
D | meter.c | 447 struct sw_flow_key *key, u32 meter_id) in ovs_meter_execute()
|