Deleted Added
full compact
ipsec6.h (195727) ipsec6.h (207369)
1/* $FreeBSD: head/sys/netipsec/ipsec6.h 195727 2009-07-16 21:13:04Z rwatson $ */
1/* $FreeBSD: head/sys/netipsec/ipsec6.h 207369 2010-04-29 11:52:42Z bz $ */
2/* $KAME: ipsec.h,v 1.44 2001/03/23 08:08:47 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

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

37#ifndef _NETIPSEC_IPSEC6_H_
38#define _NETIPSEC_IPSEC6_H_
39
40#include <net/pfkeyv2.h>
41#include <netipsec/keydb.h>
42
43#ifdef _KERNEL
44VNET_DECLARE(struct ipsecstat, ipsec6stat);
2/* $KAME: ipsec.h,v 1.44 2001/03/23 08:08:47 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

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

37#ifndef _NETIPSEC_IPSEC6_H_
38#define _NETIPSEC_IPSEC6_H_
39
40#include <net/pfkeyv2.h>
41#include <netipsec/keydb.h>
42
43#ifdef _KERNEL
44VNET_DECLARE(struct ipsecstat, ipsec6stat);
45#define V_ipsec6stat VNET(ipsec6stat)
46VNET_DECLARE(int, ip6_esp_trans_deflev);
45VNET_DECLARE(int, ip6_esp_trans_deflev);
47#define V_ip6_esp_trans_deflev VNET(ip6_esp_trans_deflev)
48VNET_DECLARE(int, ip6_esp_net_deflev);
46VNET_DECLARE(int, ip6_esp_net_deflev);
49#define V_ip6_esp_net_deflev VNET(ip6_esp_net_deflev)
50VNET_DECLARE(int, ip6_ah_trans_deflev);
47VNET_DECLARE(int, ip6_ah_trans_deflev);
51#define V_ip6_ah_trans_deflev VNET(ip6_ah_trans_deflev)
52VNET_DECLARE(int, ip6_ah_net_deflev);
48VNET_DECLARE(int, ip6_ah_net_deflev);
53#define V_ip6_ah_net_deflev VNET(ip6_ah_net_deflev)
54VNET_DECLARE(int, ip6_ipsec_ecn);
49VNET_DECLARE(int, ip6_ipsec_ecn);
50
51#define V_ipsec6stat VNET(ipsec6stat)
52#define V_ip6_esp_trans_deflev VNET(ip6_esp_trans_deflev)
53#define V_ip6_esp_net_deflev VNET(ip6_esp_net_deflev)
54#define V_ip6_ah_trans_deflev VNET(ip6_ah_trans_deflev)
55#define V_ip6_ah_net_deflev VNET(ip6_ah_net_deflev)
55#define V_ip6_ipsec_ecn VNET(ip6_ipsec_ecn)
56
57struct inpcb;
58
59extern int ipsec6_in_reject __P((struct mbuf *, struct inpcb *));
60
61struct ip6_hdr;
62extern const char *ipsec6_logpacketstr __P((struct ip6_hdr *, u_int32_t));

--- 15 unchanged lines hidden ---
56#define V_ip6_ipsec_ecn VNET(ip6_ipsec_ecn)
57
58struct inpcb;
59
60extern int ipsec6_in_reject __P((struct mbuf *, struct inpcb *));
61
62struct ip6_hdr;
63extern const char *ipsec6_logpacketstr __P((struct ip6_hdr *, u_int32_t));

--- 15 unchanged lines hidden ---