Lines Matching refs:proto
36 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() argument
44 if (proto != NEXTHDR_HOP) { in ipv6_gso_pull_exthdrs()
45 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_pull_exthdrs()
64 proto = opth->nexthdr; in ipv6_gso_pull_exthdrs()
68 return proto; in ipv6_gso_pull_exthdrs()
77 int proto; in ipv6_gso_segment() local
100 proto = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr); in ipv6_gso_segment()
104 udpfrag = proto == IPPROTO_UDP && encap && in ipv6_gso_segment()
107 udpfrag = proto == IPPROTO_UDP && !skb->encapsulation && in ipv6_gso_segment()
110 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_segment()
161 int len = 0, proto, optlen = sizeof(*iph); in ipv6_exthdrs_len() local
163 proto = iph->nexthdr; in ipv6_exthdrs_len()
165 if (proto != NEXTHDR_HOP) { in ipv6_exthdrs_len()
166 *opps = rcu_dereference(inet6_offloads[proto]); in ipv6_exthdrs_len()
175 proto = opth->nexthdr; in ipv6_exthdrs_len()
195 int proto; in ipv6_gro_receive() local
213 proto = iph->nexthdr; in ipv6_gro_receive()
214 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
218 proto = ipv6_gso_pull_exthdrs(skb, proto); in ipv6_gro_receive()
223 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
230 NAPI_GRO_CB(skb)->proto = proto; in ipv6_gro_receive()