Searched refs:net_offload (Results 1 – 15 of 15) sorted by relevance
/Linux-v5.4/include/net/ |
D | protocol.h | 73 struct net_offload { struct 98 extern const struct net_offload __rcu *inet_offloads[MAX_INET_PROTOS]; argument 99 extern const struct net_offload __rcu *inet6_offloads[MAX_INET_PROTOS]; 107 int inet_add_offload(const struct net_offload *prot, unsigned char num); 108 int inet_del_offload(const struct net_offload *prot, unsigned char num); 118 int inet6_add_offload(const struct net_offload *prot, unsigned char num); 119 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
|
/Linux-v5.4/net/ipv6/ |
D | protocol.c | 49 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()
|
D | ip6_offload.c | 38 const struct net_offload *ops = NULL; in ipv6_gso_pull_exthdrs() 76 const struct net_offload *ops; in ipv6_gso_segment() 158 const struct net_offload **opps) in ipv6_exthdrs_len() 187 const struct net_offload *ops; in ipv6_gro_receive() 326 const struct net_offload *ops; in ipv6_gro_complete() 409 static const struct net_offload sit_offload = { 417 static const struct net_offload ip4ip6_offload = { 425 static const struct net_offload ip6ip6_offload = {
|
D | exthdrs_offload.c | 11 static const struct net_offload rthdr_offload = { 15 static const struct net_offload dstopt_offload = {
|
D | tcpv6_offload.c | 67 static const struct net_offload tcpv6_offload = {
|
D | esp6_offload.c | 148 const struct net_offload *ops; in xfrm6_transport_gso_segment() 311 static const struct net_offload esp6_offload = {
|
D | udp_offload.c | 154 static const struct net_offload udpv6_offload = {
|
/Linux-v5.4/net/ipv4/ |
D | protocol.c | 29 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()
|
D | fou.c | 234 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()
|
D | esp4_offload.c | 121 const struct net_offload *ops; in xfrm4_transport_gso_segment() 287 static const struct net_offload esp4_offload = {
|
D | udp_offload.c | 153 const struct net_offload **offloads; in skb_udp_tunnel_segment() 154 const struct net_offload *ops; in skb_udp_tunnel_segment() 554 static const struct net_offload udpv4_offload = {
|
D | gre_offload.c | 257 static const struct net_offload gre_offload = {
|
D | af_inet.c | 1302 const struct net_offload *ops; in inet_gso_segment() 1409 const struct net_offload *ops; in inet_gro_receive() 1585 const struct net_offload *ops; in inet_gro_complete() 1872 static const struct net_offload ipip_offload = {
|
D | tcp_offload.c | 334 static const struct net_offload tcpv4_offload = {
|
/Linux-v5.4/net/sctp/ |
D | offload.c | 85 static const struct net_offload sctp_offload = { 91 static const struct net_offload sctp6_offload = {
|