]> Pileus Git - ~andy/linux/blobdiff - net/ipv6/udp.c
ipv6: Add new offload registration infrastructure.
[~andy/linux] / net / ipv6 / udp.c
index fc9997260a6bc5b841aafc4f3b57cf11ff7ec404..3ad44e1765033e832badf898e4bd3eda7e1d66d1 100644 (file)
@@ -1443,6 +1443,11 @@ static const struct inet6_protocol udpv6_protocol = {
        .flags          =       INET6_PROTO_NOPOLICY|INET6_PROTO_FINAL,
 };
 
+static const struct net_offload udpv6_offload = {
+       .gso_send_check =       udp6_ufo_send_check,
+       .gso_segment    =       udp6_ufo_fragment,
+};
+
 /* ------------------------------------------------------------------------ */
 #ifdef CONFIG_PROC_FS