Home
last modified time | relevance | path

Searched refs:nh_ofs (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/openvswitch/
Dflow.c193 unsigned int nh_ofs = skb_network_offset(skb); in check_iphdr() local
197 err = check_header(skb, nh_ofs + sizeof(struct iphdr)); in check_iphdr()
203 skb->len < nh_ofs + ip_len)) in check_iphdr()
206 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
386 unsigned int nh_ofs = skb_network_offset(skb); in parse_ipv6hdr() local
391 err = check_header(skb, nh_ofs + sizeof(*nh)); in parse_ipv6hdr()
425 nh_len = payload_ofs - nh_ofs; in parse_ipv6hdr()
426 skb_set_transport_header(skb, nh_ofs + nh_len); in parse_ipv6hdr()
628 unsigned int nh_ofs = skb_network_offset(skb); in parse_nsh() local
632 err = check_header(skb, nh_ofs + NSH_BASE_HDR_LEN); in parse_nsh()
[all …]
Dconntrack.c1309 int nh_ofs; in ovs_ct_execute() local
1313 nh_ofs = skb_network_offset(skb); in ovs_ct_execute()
1314 skb_pull_rcsum(skb, nh_ofs); in ovs_ct_execute()
1331 skb_push_rcsum(skb, nh_ofs); in ovs_ct_execute()
/linux-6.1.9/net/sched/
Dact_ct.c1031 int nh_ofs, err, retval; in tcf_ct_act() local
1067 nh_ofs = skb_network_offset(skb); in tcf_ct_act()
1068 skb_pull_rcsum(skb, nh_ofs); in tcf_ct_act()
1137 skb_push_rcsum(skb, nh_ofs); in tcf_ct_act()