Lines Matching refs:proto
39 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() argument
47 if (proto != NEXTHDR_HOP) { in ipv6_gso_pull_exthdrs()
48 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_pull_exthdrs()
67 proto = opth->nexthdr; in ipv6_gso_pull_exthdrs()
71 return proto; in ipv6_gso_pull_exthdrs()
80 int proto; in ipv6_gso_segment() local
103 proto = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr); in ipv6_gso_segment()
107 udpfrag = proto == IPPROTO_UDP && encap && in ipv6_gso_segment()
110 udpfrag = proto == IPPROTO_UDP && !skb->encapsulation && in ipv6_gso_segment()
113 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_segment()
164 int len = 0, proto, optlen = sizeof(*iph); in ipv6_exthdrs_len() local
166 proto = iph->nexthdr; in ipv6_exthdrs_len()
168 if (proto != NEXTHDR_HOP) { in ipv6_exthdrs_len()
169 *opps = rcu_dereference(inet6_offloads[proto]); in ipv6_exthdrs_len()
178 proto = opth->nexthdr; in ipv6_exthdrs_len()
194 int proto; in ipv6_gro_receive() local
212 proto = iph->nexthdr; in ipv6_gro_receive()
213 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
217 proto = ipv6_gso_pull_exthdrs(skb, proto); in ipv6_gro_receive()
222 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
229 NAPI_GRO_CB(skb)->proto = proto; in ipv6_gro_receive()