Home
last modified time | relevance | path

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

/linux-3.4.99/net/openvswitch/
Dflow.c65 unsigned int nh_ofs = skb_network_offset(skb); in check_iphdr() local
69 err = check_header(skb, nh_ofs + sizeof(struct iphdr)); in check_iphdr()
75 skb->len < nh_ofs + ip_len)) in check_iphdr()
78 skb_set_transport_header(skb, nh_ofs + ip_len); in check_iphdr()
130 unsigned int nh_ofs = skb_network_offset(skb); in parse_ipv6hdr() local
140 err = check_header(skb, nh_ofs + sizeof(*nh)); in parse_ipv6hdr()
166 nh_len = payload_ofs - nh_ofs; in parse_ipv6hdr()
167 skb_set_transport_header(skb, nh_ofs + nh_len); in parse_ipv6hdr()