ipsec.c (185292) | ipsec.c (185348) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipsec.c 185292 2008-11-25 09:49:05Z bz $ */ | 1/* $FreeBSD: head/sys/netipsec/ipsec.c 185348 2008-11-26 22:32:07Z zec $ */ |
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 9 * modification, are permitted provided that the following conditions --- 1994 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); | 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 9 * modification, are permitted provided that the following conditions --- 1994 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 --- |