Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A Dprotocol.h69 struct net_offload { struct
94 extern const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS]; argument
95 extern const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS];
103 int inet_add_offload(const struct net_offload *prot, unsigned char num);
104 int inet_del_offload(const struct net_offload *prot, unsigned char num);
114 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
115 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/OK3568_Linux_fs/kernel/net/ipv6/
H A 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()
H A Dip6_offload.c40 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs()
78 const struct net_offload *ops; in ipv6_gso_segment()
162 const struct net_offload **opps) in ipv6_exthdrs_len()
187 const struct net_offload *ops; in ipv6_gro_receive()
324 const struct net_offload *ops; in ipv6_gro_complete()
407 static const struct net_offload sit_offload = {
415 static const struct net_offload ip4ip6_offload = {
423 static const struct net_offload ip6ip6_offload = {
H A Dexthdrs_offload.c11 static const struct net_offload rthdr_offload = {
15 static const struct net_offload dstopt_offload = {
H A Desp6_offload.c155 const struct net_offload *ops; in xfrm6_transport_gso_segment()
173 const struct net_offload *ops; in xfrm6_beet_gso_segment()
378 static const struct net_offload esp6_offload = {
H A Dtcpv6_offload.c67 static const struct net_offload tcpv6_offload = {
H A Dudp_offload.c190 static const struct net_offload udpv6_offload = {
/OK3568_Linux_fs/kernel/net/ipv4/
H A 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()
H A 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()
H A Desp4_offload.c121 const struct net_offload *ops; in xfrm4_transport_gso_segment()
139 const struct net_offload *ops; in xfrm4_beet_gso_segment()
344 static const struct net_offload esp4_offload = {
H A Dudp_offload.c153 const struct net_offload **offloads; in skb_udp_tunnel_segment()
154 const struct net_offload *ops; in skb_udp_tunnel_segment()
689 static const struct net_offload udpv4_offload = {
H A Dgre_offload.c266 static const struct net_offload gre_offload = {
H A Daf_inet.c1335 const struct net_offload *ops; in inet_gso_segment()
1441 const struct net_offload *ops; in inet_gro_receive()
1615 const struct net_offload *ops; in inet_gro_complete()
1897 static const struct net_offload ipip_offload = {
H A Dtcp_offload.c337 static const struct net_offload tcpv4_offload = {
/OK3568_Linux_fs/kernel/net/sctp/
H A Doffload.c85 static const struct net_offload sctp_offload = {
91 static const struct net_offload sctp6_offload = {