Home
last modified time | relevance | path

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

/linux/net/openvswitch/
H A Dflow.c196 unsigned int nh_ofs = skb_network_offset(skb); in check_iphdr() local
200 err = check_header(skb, nh_ofs + sizeof(struct iphdr)); in check_iphdr()
206 skb->len < nh_ofs + ip_len)) in check_iphdr()
209 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
389 unsigned int nh_ofs = skb_network_offset(skb); in parse_ipv6hdr() local
394 err = check_header(skb, nh_ofs + sizeof(*nh)); in parse_ipv6hdr()
428 nh_len = payload_ofs - nh_ofs; in parse_ipv6hdr()
429 skb_set_transport_header(skb, nh_ofs + nh_len); in parse_ipv6hdr()
632 unsigned int nh_ofs = skb_network_offset(skb); in parse_nsh() local
636 err = check_header(skb, nh_ofs + NSH_BASE_HDR_LEN); in parse_nsh()
[all …]
H A Dconntrack.c1040 int nh_ofs; in ovs_ct_execute() local
1044 nh_ofs = skb_network_offset(skb); in ovs_ct_execute()
1045 skb_pull_rcsum(skb, nh_ofs); in ovs_ct_execute()
1069 skb_push_rcsum(skb, nh_ofs); in ovs_ct_execute()
/linux/net/sched/
H A Dact_ct.c970 int nh_ofs, err, retval; in tcf_ct_act() local
1006 nh_ofs = skb_network_offset(skb); in tcf_ct_act()
1007 skb_pull_rcsum(skb, nh_ofs); in tcf_ct_act()
1098 skb_push_rcsum(skb, nh_ofs); in tcf_ct_act()