Home
last modified time | relevance | path

Searched refs:net_offload (Results 1 – 16 of 16) 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);
H A Dhotdata.h19 struct net_offload tcpv4_offload;
21 struct net_offload udpv4_offload;
24 struct net_offload tcpv6_offload;
29 struct net_offload udpv6_offload;
/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 Dfou_core.c234 static const struct net_offload *fou_gro_ops(const struct sock *sk, in fou_gro_ops()
237 const struct net_offload __rcu **offloads; in fou_gro_ops()
249 const struct net_offload *ops; in fou_gro_receive()
280 const struct net_offload *ops; in fou_gro_complete()
329 const struct net_offload *ops; in gue_gro_receive()
471 const struct net_offload *ops; in gue_gro_complete()
H A Dxfrm4_input.c183 const struct net_offload *ops; in xfrm4_gro_udp_encap_rcv()
H A Dudp_offload.c313 const struct net_offload __rcu **offloads; in skb_udp_tunnel_segment()
315 const struct net_offload *ops; in skb_udp_tunnel_segment()
988 net_hotdata.udpv4_offload = (struct net_offload) { in udpv4_offload_init()
H A Dgre_offload.c263 static const struct net_offload gre_offload = {
H A Dtcp_offload.c471 net_hotdata.tcpv4_offload = (struct net_offload) { in tcpv4_offload_init()
/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 Dip6_offload.c42 const struct net_offload *ops = NULL; in ipv6_gro_pull_exthdrs()
76 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs()
112 const struct net_offload *ops; in ipv6_gso_segment()
201 const struct net_offload **opps) in ipv6_exthdrs_len()
225 const struct net_offload *ops; in ipv6_gro_receive()
342 const struct net_offload *ops; in ipv6_gro_complete()
441 static const struct net_offload sit_offload = {
449 static const struct net_offload ip4ip6_offload = {
457 static const struct net_offload ip6ip6_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 Dtcpv6_offload.c198 net_hotdata.tcpv6_offload = (struct net_offload) { in tcpv6_offload_init()
H A Dxfrm6_input.c180 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 = {