Home
last modified time | relevance | path

Searched refs:cutlen (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/openvswitch/
H A Ddatapath.h99 * @cutlen: The number of bytes from the packet end to be removed.
105 u32 cutlen; member
244 uint32_t cutlen);
H A Dactions.c917 u32 cutlen = OVS_CB(skb)->cutlen; in do_output() local
919 if (unlikely(cutlen > 0)) { in do_output()
920 if (skb->len - cutlen > ovs_mac_header_len(key)) in do_output()
921 pskb_trim(skb, skb->len - cutlen); in do_output()
944 uint32_t cutlen) in output_userspace()
991 return ovs_dp_upcall(dp, skb, key, &upcall, cutlen); in output_userspace()
1300 OVS_CB(skb)->cutlen = 0; in do_execute_actions()
1308 OVS_CB(skb)->cutlen = skb->len - trunc->max_len; in do_execute_actions()
1314 len, OVS_CB(skb)->cutlen); in do_execute_actions()
941 output_userspace(struct datapath *dp, struct sk_buff *skb, struct sw_flow_key *key, const struct nlattr *attr, const struct nlattr *actions, int actions_len, uint32_t cutlen) output_userspace() argument
[all...]
H A Ddatapath.c127 uint32_t cutlen);
131 uint32_t cutlen);
280 uint32_t cutlen) in ovs_dp_upcall()
291 err = queue_userspace_packet(dp, skb, key, upcall_info, cutlen); in ovs_dp_upcall()
293 err = queue_gso_packets(dp, skb, key, upcall_info, cutlen); in ovs_dp_upcall()
312 uint32_t cutlen) in queue_gso_packets()
340 err = queue_userspace_packet(dp, skb, key, upcall_info, cutlen); in queue_gso_packets()
397 uint32_t cutlen) in queue_userspace_packet()
443 len = upcall_msg_size(upcall_info, hlen - cutlen, in queue_userspace_packet()
506 if (cutlen > in queue_userspace_packet()
277 ovs_dp_upcall(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_key *key, const struct dp_upcall_info *upcall_info, uint32_t cutlen) ovs_dp_upcall() argument
309 queue_gso_packets(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_key *key, const struct dp_upcall_info *upcall_info, uint32_t cutlen) queue_gso_packets() argument
394 queue_userspace_packet(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_key *key, const struct dp_upcall_info *upcall_info, uint32_t cutlen) queue_userspace_packet() argument
[all...]
H A Dvport.c436 OVS_CB(skb)->cutlen = 0; in ovs_vport_receive()
/kernel/linux/linux-6.6/net/openvswitch/
H A Ddatapath.h117 * @cutlen: The number of bytes from the packet end to be removed.
123 u32 cutlen; member
260 uint32_t cutlen);
H A Dactions.c923 u32 cutlen = OVS_CB(skb)->cutlen; in do_output() local
925 if (unlikely(cutlen > 0)) { in do_output()
926 if (skb->len - cutlen > ovs_mac_header_len(key)) in do_output()
927 pskb_trim(skb, skb->len - cutlen); in do_output()
950 uint32_t cutlen) in output_userspace()
1003 return ovs_dp_upcall(dp, skb, key, &upcall, cutlen); in output_userspace()
1326 OVS_CB(skb)->cutlen = 0; in do_execute_actions()
1334 OVS_CB(skb)->cutlen = skb->len - trunc->max_len; in do_execute_actions()
1340 len, OVS_CB(skb)->cutlen); in do_execute_actions()
947 output_userspace(struct datapath *dp, struct sk_buff *skb, struct sw_flow_key *key, const struct nlattr *attr, const struct nlattr *actions, int actions_len, uint32_t cutlen) output_userspace() argument
[all...]
H A Ddatapath.c131 uint32_t cutlen);
135 uint32_t cutlen);
313 uint32_t cutlen) in ovs_dp_upcall()
327 err = queue_userspace_packet(dp, skb, key, upcall_info, cutlen); in ovs_dp_upcall()
329 err = queue_gso_packets(dp, skb, key, upcall_info, cutlen); in ovs_dp_upcall()
350 uint32_t cutlen) in queue_gso_packets()
378 err = queue_userspace_packet(dp, skb, key, upcall_info, cutlen); in queue_gso_packets()
435 uint32_t cutlen) in queue_userspace_packet()
481 len = upcall_msg_size(upcall_info, hlen - cutlen, in queue_userspace_packet()
544 if (cutlen > in queue_userspace_packet()
310 ovs_dp_upcall(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_key *key, const struct dp_upcall_info *upcall_info, uint32_t cutlen) ovs_dp_upcall() argument
347 queue_gso_packets(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_key *key, const struct dp_upcall_info *upcall_info, uint32_t cutlen) queue_gso_packets() argument
432 queue_userspace_packet(struct datapath *dp, struct sk_buff *skb, const struct sw_flow_key *key, const struct dp_upcall_info *upcall_info, uint32_t cutlen) queue_userspace_packet() argument
[all...]
H A Dvport.c502 OVS_CB(skb)->cutlen = 0; in ovs_vport_receive()

Completed in 11 milliseconds