xref: /linux/net/ipv4/xfrm4_state.c (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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