]> Pileus Git - ~andy/linux/blobdiff - net/ipv6/exthdrs.c
ipv6: Add new offload registration infrastructure.
[~andy/linux] / net / ipv6 / exthdrs.c
index f005acc58b2aad4db9119e307b45d4029f2bc159..cb6f0828ca44a32019c729cb0d6a4befaf060475 100644 (file)
@@ -531,11 +531,19 @@ static const struct inet6_protocol rthdr_protocol = {
        .flags          =       INET6_PROTO_NOPOLICY | INET6_PROTO_GSO_EXTHDR,
 };
 
+static const struct net_offload rthdr_offload = {
+       .flags          =       INET6_PROTO_GSO_EXTHDR,
+};
+
 static const struct inet6_protocol destopt_protocol = {
        .handler        =       ipv6_destopt_rcv,
        .flags          =       INET6_PROTO_NOPOLICY | INET6_PROTO_GSO_EXTHDR,
 };
 
+static const struct net_offload dstopt_offload = {
+       .flags          =       INET6_PROTO_GSO_EXTHDR,
+};
+
 static const struct inet6_protocol nodata_protocol = {
        .handler        =       dst_discard,
        .flags          =       INET6_PROTO_NOPOLICY,