[XFRM] STATE: Add a hook to find offset to be inserted header in outbound.
[linux-2.6.git] / net / ipv6 / ah6.c
index 60954fc..6c0aa51 100644 (file)
@@ -435,7 +435,8 @@ static struct xfrm_type ah6_type =
        .init_state     = ah6_init_state,
        .destructor     = ah6_destroy,
        .input          = ah6_input,
-       .output         = ah6_output
+       .output         = ah6_output,
+       .hdr_offset     = xfrm6_find_1stfragopt,
 };
 
 static struct inet6_protocol ah6_protocol = {