keysock.c (215317) | keysock.c (215701) |
---|---|
1/* $FreeBSD: head/sys/netipsec/keysock.c 215317 2010-11-14 20:38:11Z dim $ */ | 1/* $FreeBSD: head/sys/netipsec/keysock.c 215701 2010-11-22 19:32:54Z dim $ */ |
2/* $KAME: keysock.c,v 1.25 2001/08/13 20:07:41 itojun 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 --- 55 unchanged lines hidden (view full) --- 65#include <netipsec/ipsec.h> 66 67#include <machine/stdarg.h> 68 69struct key_cb { 70 int key_count; 71 int any_count; 72}; | 2/* $KAME: keysock.c,v 1.25 2001/08/13 20:07:41 itojun 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 --- 55 unchanged lines hidden (view full) --- 65#include <netipsec/ipsec.h> 66 67#include <machine/stdarg.h> 68 69struct key_cb { 70 int key_count; 71 int any_count; 72}; |
73STATIC_VNET_DEFINE(struct key_cb, key_cb); | 73static VNET_DEFINE(struct key_cb, key_cb); |
74#define V_key_cb VNET(key_cb) 75 76static struct sockaddr key_src = { 2, PF_KEY, }; 77 78static int key_sendup0 __P((struct rawcb *, struct mbuf *, int)); 79 80VNET_DEFINE(struct pfkeystat, pfkeystat); 81 --- 501 unchanged lines hidden --- | 74#define V_key_cb VNET(key_cb) 75 76static struct sockaddr key_src = { 2, PF_KEY, }; 77 78static int key_sendup0 __P((struct rawcb *, struct mbuf *, int)); 79 80VNET_DEFINE(struct pfkeystat, pfkeystat); 81 --- 501 unchanged lines hidden --- |