Lines Matching refs:proto
23 static int ipv6_gso_pull_exthdrs(struct sk_buff *skb, int proto) in ipv6_gso_pull_exthdrs() argument
31 if (proto != NEXTHDR_HOP) { in ipv6_gso_pull_exthdrs()
32 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_pull_exthdrs()
51 proto = opth->nexthdr; in ipv6_gso_pull_exthdrs()
55 return proto; in ipv6_gso_pull_exthdrs()
64 int proto; in ipv6_gso_segment() local
87 proto = ipv6_gso_pull_exthdrs(skb, ipv6h->nexthdr); in ipv6_gso_segment()
91 udpfrag = proto == IPPROTO_UDP && encap && in ipv6_gso_segment()
94 udpfrag = proto == IPPROTO_UDP && !skb->encapsulation && in ipv6_gso_segment()
97 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_segment()
148 int len = 0, proto, optlen = sizeof(*iph); in ipv6_exthdrs_len() local
150 proto = iph->nexthdr; in ipv6_exthdrs_len()
152 if (proto != NEXTHDR_HOP) { in ipv6_exthdrs_len()
153 *opps = rcu_dereference(inet6_offloads[proto]); in ipv6_exthdrs_len()
162 proto = opth->nexthdr; in ipv6_exthdrs_len()
178 int proto; in ipv6_gro_receive() local
196 proto = iph->nexthdr; in ipv6_gro_receive()
197 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
201 proto = ipv6_gso_pull_exthdrs(skb, proto); in ipv6_gro_receive()
206 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
213 NAPI_GRO_CB(skb)->proto = proto; in ipv6_gro_receive()