Merge remote-tracking branch 'spi/for-5.8' into spi-linus
[platform/kernel/linux-starfive.git] / net / ipv4 / xfrm4_state.c
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * xfrm4_state.c
4  *
5  * Changes:
6  *      YOSHIFUJI Hideaki @USAGI
7  *              Split up af-specific portion
8  *
9  */
10
11 #include <net/xfrm.h>
12
13 static struct xfrm_state_afinfo xfrm4_state_afinfo = {
14         .family                 = AF_INET,
15         .proto                  = IPPROTO_IPIP,
16         .output                 = xfrm4_output,
17         .transport_finish       = xfrm4_transport_finish,
18         .local_error            = xfrm4_local_error,
19 };
20
21 void __init xfrm4_state_init(void)
22 {
23         xfrm_state_register_afinfo(&xfrm4_state_afinfo);
24 }