Home
last modified time | relevance | path

Searched refs:net_offload (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/include/net/
Dprotocol.h73 struct net_offload { struct
98 extern const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS]; argument
99 extern const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS];
107 int inet_add_offload(const struct net_offload *prot, unsigned char num);
108 int inet_del_offload(const struct net_offload *prot, unsigned char num);
118 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
119 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/Linux-v5.4/net/ipv6/
Dprotocol.c49 const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS] __read_mostly;
52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload()
54 return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_add_offload()
59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload()
63 ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_del_offload()
Dip6_offload.c38 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs()
76 const struct net_offload *ops; in ipv6_gso_segment()
158 const struct net_offload **opps) in ipv6_exthdrs_len()
187 const struct net_offload *ops; in ipv6_gro_receive()
326 const struct net_offload *ops; in ipv6_gro_complete()
409 static const struct net_offload sit_offload = {
417 static const struct net_offload ip4ip6_offload = {
425 static const struct net_offload ip6ip6_offload = {
Dexthdrs_offload.c11 static const struct net_offload rthdr_offload = {
15 static const struct net_offload dstopt_offload = {
Dtcpv6_offload.c67 static const struct net_offload tcpv6_offload = {
Desp6_offload.c148 const struct net_offload *ops; in xfrm6_transport_gso_segment()
311 static const struct net_offload esp6_offload = {
Dudp_offload.c154 static const struct net_offload udpv6_offload = {
/Linux-v5.4/net/ipv4/
Dprotocol.c29 const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS] __read_mostly;
45 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload()
47 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_add_offload()
65 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
69 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_del_offload()
Dfou.c234 const struct net_offload **offloads; in fou_gro_receive()
235 const struct net_offload *ops; in fou_gro_receive()
266 const struct net_offload *ops; in fou_gro_complete()
269 const struct net_offload **offloads; in fou_gro_complete()
314 const struct net_offload **offloads; in gue_gro_receive()
315 const struct net_offload *ops; in gue_gro_receive()
460 const struct net_offload **offloads; in gue_gro_complete()
462 const struct net_offload *ops; in gue_gro_complete()
Desp4_offload.c121 const struct net_offload *ops; in xfrm4_transport_gso_segment()
287 static const struct net_offload esp4_offload = {
Dudp_offload.c153 const struct net_offload **offloads; in skb_udp_tunnel_segment()
154 const struct net_offload *ops; in skb_udp_tunnel_segment()
554 static const struct net_offload udpv4_offload = {
Dgre_offload.c257 static const struct net_offload gre_offload = {
Daf_inet.c1302 const struct net_offload *ops; in inet_gso_segment()
1409 const struct net_offload *ops; in inet_gro_receive()
1585 const struct net_offload *ops; in inet_gro_complete()
1872 static const struct net_offload ipip_offload = {
Dtcp_offload.c334 static const struct net_offload tcpv4_offload = {
/Linux-v5.4/net/sctp/
Doffload.c85 static const struct net_offload sctp_offload = {
91 static const struct net_offload sctp6_offload = {