Lines Matching refs:ops
24 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs() local
31 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_pull_exthdrs()
33 if (unlikely(!ops)) in ipv6_gso_pull_exthdrs()
36 if (!(ops->flags & INET6_PROTO_GSO_EXTHDR)) in ipv6_gso_pull_exthdrs()
62 const struct net_offload *ops; in ipv6_gso_segment() local
108 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gso_segment()
109 if (likely(ops && ops->callbacks.gso_segment)) { in ipv6_gso_segment()
111 segs = ops->callbacks.gso_segment(skb, features); in ipv6_gso_segment()
172 const struct net_offload *ops; in ipv6_gro_receive() local
199 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
200 if (!ops || !ops->callbacks.gro_receive) { in ipv6_gro_receive()
207 ops = rcu_dereference(inet6_offloads[proto]); in ipv6_gro_receive()
208 if (!ops || !ops->callbacks.gro_receive) in ipv6_gro_receive()
253 pp = ops->callbacks.gro_receive(head, skb); in ipv6_gro_receive()
279 const struct net_offload *ops; in ipv6_gro_complete() local
287 nhoff += sizeof(*iph) + ipv6_exthdrs_len(iph, &ops); in ipv6_gro_complete()
288 if (WARN_ON(!ops || !ops->callbacks.gro_complete)) in ipv6_gro_complete()
291 err = ops->callbacks.gro_complete(skb, nhoff); in ipv6_gro_complete()