xref: /openbmc/linux/net/ipv4/xfrm4_state.c (revision 7ce05074)
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 }
25