Home
last modified time | relevance | path

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

/linux-4.4.14/include/net/
Dprotocol.h71 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);
119 int inet6_add_offload(const struct net_offload *prot, unsigned char num);
120 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
/linux-4.4.14/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()
Dexthdrs_offload.c15 static const struct net_offload rthdr_offload = {
19 static const struct net_offload dstopt_offload = {
Dip6_offload.c24 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs()
62 const struct net_offload *ops; in ipv6_gso_segment()
144 const struct net_offload **opps) in ipv6_exthdrs_len()
169 const struct net_offload *ops; in ipv6_gro_receive()
263 const struct net_offload *ops; in ipv6_gro_complete()
302 static const struct net_offload sit_offload = {
Dtcpv6_offload.c67 static const struct net_offload tcpv6_offload = {
Dudp_offload.c173 static const struct net_offload udpv6_offload = {
/linux-4.4.14/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.c184 const struct net_offload *ops; in fou_gro_receive()
187 const struct net_offload **offloads; in fou_gro_receive()
206 const struct net_offload *ops; in fou_gro_complete()
209 const struct net_offload **offloads; in fou_gro_complete()
254 const struct net_offload **offloads; in gue_gro_receive()
255 const struct net_offload *ops; in gue_gro_receive()
368 const struct net_offload **offloads; in gue_gro_complete()
370 const struct net_offload *ops; in gue_gro_complete()
Dudp_offload.c145 const struct net_offload **offloads; in skb_udp_tunnel_segment()
146 const struct net_offload *ops; in skb_udp_tunnel_segment()
431 static const struct net_offload udpv4_offload = {
Dgre_offload.c257 static const struct net_offload gre_offload = {
Daf_inet.c1201 const struct net_offload *ops; in inet_gso_segment()
1292 const struct net_offload *ops; in inet_gro_receive()
1401 const struct net_offload *ops; in inet_gro_complete()
1652 static const struct net_offload ipip_offload = {
Dtcp_offload.c316 static const struct net_offload tcpv4_offload = {