Home
last modified time | relevance | path

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

/net/openvswitch/
Dflow.c191 unsigned int nh_ofs = skb_network_offset(skb); in check_iphdr() local
195 err = check_header(skb, nh_ofs + sizeof(struct iphdr)); in check_iphdr()
201 skb->len < nh_ofs + ip_len)) in check_iphdr()
204 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
246 unsigned int nh_ofs = skb_network_offset(skb); in parse_ipv6hdr() local
251 err = check_header(skb, nh_ofs + sizeof(*nh)); in parse_ipv6hdr()
283 nh_len = payload_ofs - nh_ofs; in parse_ipv6hdr()
284 skb_set_transport_header(skb, nh_ofs + nh_len); in parse_ipv6hdr()
482 unsigned int nh_ofs = skb_network_offset(skb); in parse_nsh() local
486 err = check_header(skb, nh_ofs + NSH_BASE_HDR_LEN); in parse_nsh()
[all …]
Dconntrack.c1282 int nh_ofs; in ovs_ct_execute() local
1286 nh_ofs = skb_network_offset(skb); in ovs_ct_execute()
1287 skb_pull_rcsum(skb, nh_ofs); in ovs_ct_execute()
1304 skb_push(skb, nh_ofs); in ovs_ct_execute()
1305 skb_postpush_rcsum(skb, skb->data, nh_ofs); in ovs_ct_execute()
/net/sched/
Dact_ct.c388 int nh_ofs, err, retval; in tcf_ct_act() local
418 nh_ofs = skb_network_offset(skb); in tcf_ct_act()
419 skb_pull_rcsum(skb, nh_ofs); in tcf_ct_act()
476 skb_push_rcsum(skb, nh_ofs); in tcf_ct_act()