Lines Matching refs:proto
38 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() argument
46 if (proto != NEXTHDR_HOP) { in ipv6_gso_pull_exthdrs()
47 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_pull_exthdrs()
66 proto = opth->nexthdr; in ipv6_gso_pull_exthdrs()
70 return proto; in ipv6_gso_pull_exthdrs()
79 int proto; in ipv6_gso_segment() local
102 proto = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr); in ipv6_gso_segment()
106 udpfrag = proto == IPPROTO_UDP && encap && in ipv6_gso_segment()
109 udpfrag = proto == IPPROTO_UDP && !skb->encapsulation && in ipv6_gso_segment()
112 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_segment()
163 int len = 0, proto, optlen = sizeof(*iph); in ipv6_exthdrs_len() local
165 proto = iph->nexthdr; in ipv6_exthdrs_len()
167 if (proto != NEXTHDR_HOP) { in ipv6_exthdrs_len()
168 *opps = rcu_dereference(inet6_offloads[proto]); in ipv6_exthdrs_len()
177 proto = opth->nexthdr; in ipv6_exthdrs_len()
193 int proto; in ipv6_gro_receive() local
211 proto = iph->nexthdr; in ipv6_gro_receive()
212 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
216 proto = ipv6_gso_pull_exthdrs(skb, proto); in ipv6_gro_receive()
221 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
228 NAPI_GRO_CB(skb)->proto = proto; in ipv6_gro_receive()