Home
last modified time | relevance | path

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

/Linux-v4.19/include/net/
Dprotocol.h72 struct net_offload { struct
97 extern const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS]; argument
98 extern const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS];
106 int inet_add_offload(const struct net_offload *prot, unsigned char num);
107 int inet_del_offload(const struct net_offload *prot, unsigned char num);
117 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
118 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/Linux-v4.19/net/ipv4/
Dprotocol.c32 const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS] __read_mostly;
48 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload()
50 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_add_offload()
68 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
72 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_del_offload()
Dfou.c232 const struct net_offload **offloads; in fou_gro_receive()
233 const struct net_offload *ops; in fou_gro_receive()
264 const struct net_offload *ops; in fou_gro_complete()
267 const struct net_offload **offloads; in fou_gro_complete()
312 const struct net_offload **offloads; in gue_gro_receive()
313 const struct net_offload *ops; in gue_gro_receive()
458 const struct net_offload **offloads; in gue_gro_complete()
460 const struct net_offload *ops; in gue_gro_complete()
Dudp_offload.c156 const struct net_offload **offloads; in skb_udp_tunnel_segment()
157 const struct net_offload *ops; in skb_udp_tunnel_segment()
475 static const struct net_offload udpv4_offload = {
Dxfrm4_mode_transport.c64 const struct net_offload *ops; in xfrm4_transport_gso_segment()
Dgre_offload.c261 static const struct net_offload gre_offload = {
Desp4_offload.c243 static const struct net_offload esp4_offload = {
Daf_inet.c1296 const struct net_offload *ops; in inet_gso_segment()
1390 const struct net_offload *ops; in inet_gro_receive()
1563 const struct net_offload *ops; in inet_gro_complete()
1853 static const struct net_offload ipip_offload = {
Dtcp_offload.c336 static const struct net_offload tcpv4_offload = {
/Linux-v4.19/net/ipv6/
Dprotocol.c53 const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS] __read_mostly;
56 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload()
58 return !cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_add_offload()
63 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload()
67 ret = (cmpxchg((const struct net_offload **)&inet6_offloads[protocol], in inet6_del_offload()
Dip6_offload.c25 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs()
63 const struct net_offload *ops; in ipv6_gso_segment()
145 const struct net_offload **opps) in ipv6_exthdrs_len()
170 const struct net_offload *ops; in ipv6_gro_receive()
299 const struct net_offload *ops; in ipv6_gro_complete()
354 static const struct net_offload sit_offload = {
362 static const struct net_offload ip4ip6_offload = {
370 static const struct net_offload ip6ip6_offload = {
Dexthdrs_offload.c15 static const struct net_offload rthdr_offload = {
19 static const struct net_offload dstopt_offload = {
Dtcpv6_offload.c70 static const struct net_offload tcpv6_offload = {
Dxfrm6_mode_transport.c70 const struct net_offload *ops; in xfrm4_transport_gso_segment()
Dudp_offload.c161 static const struct net_offload udpv6_offload = {
Desp6_offload.c271 static const struct net_offload esp6_offload = {
/Linux-v4.19/net/sctp/
Doffload.c93 static const struct net_offload sctp_offload = {
99 static const struct net_offload sctp6_offload = {