cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

xfrm4_state.c (469B)


      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
     13static 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
     21void __init xfrm4_state_init(void)
     22{
     23	xfrm_state_register_afinfo(&xfrm4_state_afinfo);
     24}