Deleted Added
full compact
ipsec6.h (195699) ipsec6.h (195727)
1/* $FreeBSD: head/sys/netipsec/ipsec6.h 195699 2009-07-14 22:48:30Z rwatson $ */
1/* $FreeBSD: head/sys/netipsec/ipsec6.h 195727 2009-07-16 21:13:04Z rwatson $ */
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_GET(ipsec6stat)
45#define V_ipsec6stat VNET(ipsec6stat)
46VNET_DECLARE(int, ip6_esp_trans_deflev);
46VNET_DECLARE(int, ip6_esp_trans_deflev);
47#define V_ip6_esp_trans_deflev VNET_GET(ip6_esp_trans_deflev)
47#define V_ip6_esp_trans_deflev VNET(ip6_esp_trans_deflev)
48VNET_DECLARE(int, ip6_esp_net_deflev);
48VNET_DECLARE(int, ip6_esp_net_deflev);
49#define V_ip6_esp_net_deflev VNET_GET(ip6_esp_net_deflev)
49#define V_ip6_esp_net_deflev VNET(ip6_esp_net_deflev)
50VNET_DECLARE(int, ip6_ah_trans_deflev);
50VNET_DECLARE(int, ip6_ah_trans_deflev);
51#define V_ip6_ah_trans_deflev VNET_GET(ip6_ah_trans_deflev)
51#define V_ip6_ah_trans_deflev VNET(ip6_ah_trans_deflev)
52VNET_DECLARE(int, ip6_ah_net_deflev);
52VNET_DECLARE(int, ip6_ah_net_deflev);
53#define V_ip6_ah_net_deflev VNET_GET(ip6_ah_net_deflev)
53#define V_ip6_ah_net_deflev VNET(ip6_ah_net_deflev)
54VNET_DECLARE(int, ip6_ipsec_ecn);
54VNET_DECLARE(int, ip6_ipsec_ecn);
55#define V_ip6_ipsec_ecn VNET_GET(ip6_ipsec_ecn)
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));
63

--- 14 unchanged lines hidden ---
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));
63

--- 14 unchanged lines hidden ---