ipsec6.h (192648) | ipsec6.h (195699) |
---|---|
1/* $FreeBSD: head/sys/netipsec/ipsec6.h 192648 2009-05-23 16:42:38Z bz $ */ | 1/* $FreeBSD: head/sys/netipsec/ipsec6.h 195699 2009-07-14 22:48:30Z 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 --- 26 unchanged lines hidden (view full) --- 36 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 | 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 --- 26 unchanged lines hidden (view full) --- 36 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 |
44extern struct ipsecstat ipsec6stat; 45extern int ip6_esp_trans_deflev; 46extern int ip6_esp_net_deflev; 47extern int ip6_ah_trans_deflev; 48extern int ip6_ah_net_deflev; 49extern int ip6_ipsec_ecn; 50extern int ip6_ipsec6_filtertunnel; | 44VNET_DECLARE(struct ipsecstat, ipsec6stat); 45#define V_ipsec6stat VNET_GET(ipsec6stat) 46VNET_DECLARE(int, ip6_esp_trans_deflev); 47#define V_ip6_esp_trans_deflev VNET_GET(ip6_esp_trans_deflev) 48VNET_DECLARE(int, ip6_esp_net_deflev); 49#define V_ip6_esp_net_deflev VNET_GET(ip6_esp_net_deflev) 50VNET_DECLARE(int, ip6_ah_trans_deflev); 51#define V_ip6_ah_trans_deflev VNET_GET(ip6_ah_trans_deflev) 52VNET_DECLARE(int, ip6_ah_net_deflev); 53#define V_ip6_ah_net_deflev VNET_GET(ip6_ah_net_deflev) 54VNET_DECLARE(int, ip6_ipsec_ecn); 55#define V_ip6_ipsec_ecn VNET_GET(ip6_ipsec_ecn) |
51 52struct inpcb; 53 54extern int ipsec6_in_reject __P((struct mbuf *, struct inpcb *)); 55 56struct ip6_hdr; 57extern const char *ipsec6_logpacketstr __P((struct ip6_hdr *, u_int32_t)); 58 --- 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 --- |