Home
last modified time | relevance | path

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

/linux/include/net/
H A Dprotocol.h70 struct net_offload { struct
96 extern const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS]; argument
97 extern const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS];
105 int inet_add_offload(const struct net_offload *prot, unsigned char num);
106 int inet_del_offload(const struct net_offload *prot, unsigned char num);
116 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
117 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/linux/net/ipv4/
H A 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()
H A Desp4_offload.c137 const struct net_offload *ops; in xfrm4_transport_gso_segment()
155 const struct net_offload *ops; in xfrm4_beet_gso_segment()
378 static const struct net_offload esp4_offload = {
H A Dxfrm4_input.c186 const struct net_offload *ops; in xfrm4_gro_udp_encap_rcv()
H A Dgre_offload.c263 static const struct net_offload gre_offload = {
H A Daf_inet.c1372 const struct net_offload *ops; in inet_gso_segment()
1473 const struct net_offload *ops; in inet_gro_receive()
1600 const struct net_offload *ops; in inet_gro_complete()
1842 static const struct net_offload ipip_offload = {
/linux/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 Dexthdrs_offload.c11 static const struct net_offload rthdr_offload = {
15 static const struct net_offload dstopt_offload = {
19 static const struct net_offload hbh_offload = {
H A Desp6_offload.c173 const struct net_offload *ops; in xfrm6_transport_gso_segment()
191 const struct net_offload *ops; in xfrm6_beet_gso_segment()
399 static const struct net_offload esp6_offload = {
H A Dxfrm6_input.c183 const struct net_offload *ops; in xfrm6_gro_udp_encap_rcv()
/linux/net/sctp/
H A Doffload.c90 static const struct net_offload sctp_offload = {
96 static const struct net_offload sctp6_offload = {