ipsec.c (beac84a206e30baafe0dd73e939fa6c7f63bb096) ipsec.c (97021c246444967a8f441a90076fb4f7ef22fb3a)
1/* $FreeBSD$ */
2/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 1995 unchanged lines hidden (view full) ---

2004 printf("\n");
2005 printf("---\n");
2006}
2007
2008static void
2009ipsec_attach(void)
2010{
2011 SECPOLICY_LOCK_INIT(&V_ip4_def_policy);
1/* $FreeBSD$ */
2/* $KAME: ipsec.c,v 1.103 2001/05/24 07:14:18 sakane Exp $ */
3
4/*-
5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 1995 unchanged lines hidden (view full) ---

2004 printf("\n");
2005 printf("---\n");
2006}
2007
2008static void
2009ipsec_attach(void)
2010{
2011 SECPOLICY_LOCK_INIT(&V_ip4_def_policy);
2012 ip4_def_policy.refcnt = 1; /* NB: disallow free */
2012 V_ip4_def_policy.refcnt = 1; /* NB: disallow free */
2013}
2014SYSINIT(ipsec, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, ipsec_attach, NULL);
2015
2016
2017/* XXX this stuff doesn't belong here... */
2018
2019static struct xformsw* xforms = NULL;
2020

--- 25 unchanged lines hidden ---
2013}
2014SYSINIT(ipsec, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, ipsec_attach, NULL);
2015
2016
2017/* XXX this stuff doesn't belong here... */
2018
2019static struct xformsw* xforms = NULL;
2020

--- 25 unchanged lines hidden ---