Deleted Added
full compact
ipsec.h (254925) ipsec.h (262489)
1/* $FreeBSD: head/sys/netipsec/ipsec.h 254925 2013-08-26 18:16:05Z jhb $ */
1/* $FreeBSD: head/sys/netipsec/ipsec.h 262489 2014-02-25 18:44:33Z jhb $ */
2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 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

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

239 uint64_t ips_input_front;
240 uint64_t ips_input_middle;
241 uint64_t ips_input_end;
242};
243
244/*
245 * Definitions for IPsec & Key sysctl operations.
246 */
2/* $KAME: ipsec.h,v 1.53 2001/11/20 08:32:38 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

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

239 uint64_t ips_input_front;
240 uint64_t ips_input_middle;
241 uint64_t ips_input_end;
242};
243
244/*
245 * Definitions for IPsec & Key sysctl operations.
246 */
247/*
248 * Names for IPsec & Key sysctl objects
249 */
250#define IPSECCTL_STATS 1 /* stats */
251#define IPSECCTL_DEF_POLICY 2
252#define IPSECCTL_DEF_ESP_TRANSLEV 3 /* int; ESP transport mode */
253#define IPSECCTL_DEF_ESP_NETLEV 4 /* int; ESP tunnel mode */
254#define IPSECCTL_DEF_AH_TRANSLEV 5 /* int; AH transport mode */
255#define IPSECCTL_DEF_AH_NETLEV 6 /* int; AH tunnel mode */
256#if 0 /* obsolete, do not reuse */
257#define IPSECCTL_INBOUND_CALL_IKE 7
258#endif
259#define IPSECCTL_AH_CLEARTOS 8
260#define IPSECCTL_AH_OFFSETMASK 9
261#define IPSECCTL_DFBIT 10
262#define IPSECCTL_ECN 11
263#define IPSECCTL_DEBUG 12
264#define IPSECCTL_ESP_RANDPAD 13
247#define IPSECCTL_STATS 1 /* stats */
248#define IPSECCTL_DEF_POLICY 2
249#define IPSECCTL_DEF_ESP_TRANSLEV 3 /* int; ESP transport mode */
250#define IPSECCTL_DEF_ESP_NETLEV 4 /* int; ESP tunnel mode */
251#define IPSECCTL_DEF_AH_TRANSLEV 5 /* int; AH transport mode */
252#define IPSECCTL_DEF_AH_NETLEV 6 /* int; AH tunnel mode */
253#if 0 /* obsolete, do not reuse */
254#define IPSECCTL_INBOUND_CALL_IKE 7
255#endif
256#define IPSECCTL_AH_CLEARTOS 8
257#define IPSECCTL_AH_OFFSETMASK 9
258#define IPSECCTL_DFBIT 10
259#define IPSECCTL_ECN 11
260#define IPSECCTL_DEBUG 12
261#define IPSECCTL_ESP_RANDPAD 13
265#define IPSECCTL_MAXID 14
266
267#ifdef _KERNEL
268#include <sys/counter.h>
269
270struct ipsec_output_state {
271 struct mbuf *m;
272 struct route *ro;
273 struct sockaddr *dst;

--- 127 unchanged lines hidden ---
262
263#ifdef _KERNEL
264#include <sys/counter.h>
265
266struct ipsec_output_state {
267 struct mbuf *m;
268 struct route *ro;
269 struct sockaddr *dst;

--- 127 unchanged lines hidden ---