Home
last modified time | relevance | path

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

/Linux-v6.1/include/net/
Dprotocol.h68 struct net_offload { struct
93 extern const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS]; argument
94 extern const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS];
102 int inet_add_offload(const struct net_offload *prot, unsigned char num);
103 int inet_del_offload(const struct net_offload *prot, unsigned char num);
113 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
114 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/Linux-v6.1/net/ipv4/
Dprotocol.c29 const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS] __read_mostly;
39 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload()
41 return !cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_add_offload()
59 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
63 ret = (cmpxchg((const struct net_offload **)&inet_offloads[protocol], in inet_del_offload()
Dfou.c233 const struct net_offload __rcu **offloads; in fou_gro_receive()
235 const struct net_offload *ops; in fou_gro_receive()
263 const struct net_offload __rcu **offloads; in fou_gro_complete()
265 const struct net_offload *ops; in fou_gro_complete()
308 const struct net_offload __rcu **offloads; in gue_gro_receive()
309 const struct net_offload *ops; in gue_gro_receive()
449 const struct net_offload __rcu **offloads; in gue_gro_complete()
450 const struct net_offload *ops; in gue_gro_complete()
Desp4_offload.c123 const struct net_offload *ops; in xfrm4_transport_gso_segment()
141 const struct net_offload *ops; in xfrm4_beet_gso_segment()
346 static const struct net_offload esp4_offload = {
Dudp_offload.c156 const struct net_offload __rcu **offloads; in skb_udp_tunnel_segment()
158 const struct net_offload *ops; in skb_udp_tunnel_segment()
728 static const struct net_offload udpv4_offload = {
Dgre_offload.c262 static const struct net_offload gre_offload = {
Daf_inet.c1352 const struct net_offload *ops; in inet_gso_segment()
1457 const struct net_offload *ops; in inet_gro_receive()
1623 const struct net_offload *ops; in inet_gro_complete()
1893 static const struct net_offload ipip_offload = {
Dtcp_offload.c348 static const struct net_offload tcpv4_offload = {
/Linux-v6.1/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()
Dexthdrs_offload.c11 static const struct net_offload rthdr_offload = {
15 static const struct net_offload dstopt_offload = {
Dip6_offload.c41 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs()
79 const struct net_offload *ops; in ipv6_gso_segment()
185 const struct net_offload **opps) in ipv6_exthdrs_len()
210 const struct net_offload *ops; in ipv6_gro_receive()
341 const struct net_offload *ops; in ipv6_gro_complete()
448 static const struct net_offload sit_offload = {
456 static const struct net_offload ip4ip6_offload = {
464 static const struct net_offload ip6ip6_offload = {
Desp6_offload.c158 const struct net_offload *ops; in xfrm6_transport_gso_segment()
176 const struct net_offload *ops; in xfrm6_beet_gso_segment()
381 static const struct net_offload esp6_offload = {
Dtcpv6_offload.c68 static const struct net_offload tcpv6_offload = {
Dudp_offload.c190 static const struct net_offload udpv6_offload = {
/Linux-v6.1/net/sctp/
Doffload.c89 static const struct net_offload sctp_offload = {
95 static const struct net_offload sctp6_offload = {