Deleted Added
full compact
ipsec6.h (275707) ipsec6.h (298398)
1/* $FreeBSD: head/sys/netipsec/ipsec6.h 275707 2014-12-11 17:14:49Z ae $ */
1/* $FreeBSD: head/sys/netipsec/ipsec6.h 298398 2016-04-21 10:58:07Z ae $ */
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

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

54 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec6stat, name, 1)
55#define V_ip6_esp_trans_deflev VNET(ip6_esp_trans_deflev)
56#define V_ip6_esp_net_deflev VNET(ip6_esp_net_deflev)
57#define V_ip6_ah_trans_deflev VNET(ip6_ah_trans_deflev)
58#define V_ip6_ah_net_deflev VNET(ip6_ah_net_deflev)
59#define V_ip6_ipsec_ecn VNET(ip6_ipsec_ecn)
60
61struct inpcb;
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

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

54 VNET_PCPUSTAT_ADD(struct ipsecstat, ipsec6stat, name, 1)
55#define V_ip6_esp_trans_deflev VNET(ip6_esp_trans_deflev)
56#define V_ip6_esp_net_deflev VNET(ip6_esp_net_deflev)
57#define V_ip6_ah_trans_deflev VNET(ip6_ah_trans_deflev)
58#define V_ip6_ah_net_deflev VNET(ip6_ah_net_deflev)
59#define V_ip6_ipsec_ecn VNET(ip6_ipsec_ecn)
60
61struct inpcb;
62extern int ipsec6_in_reject(struct mbuf *, struct inpcb *);
62extern int ipsec6_in_reject(const struct mbuf *, struct inpcb *);
63
64struct m_tag;
65extern int ipsec6_common_input(struct mbuf **mp, int *offp, int proto);
66extern int ipsec6_common_input_cb(struct mbuf *m, struct secasvar *sav,
67 int skip, int protoff);
68extern void esp6_ctlinput(int, struct sockaddr *, void *);
69extern int ipsec6_process_packet(struct mbuf *, struct ipsecrequest *);
70#endif /*_KERNEL*/
71
72#endif /*_NETIPSEC_IPSEC6_H_*/
63
64struct m_tag;
65extern int ipsec6_common_input(struct mbuf **mp, int *offp, int proto);
66extern int ipsec6_common_input_cb(struct mbuf *m, struct secasvar *sav,
67 int skip, int protoff);
68extern void esp6_ctlinput(int, struct sockaddr *, void *);
69extern int ipsec6_process_packet(struct mbuf *, struct ipsecrequest *);
70#endif /*_KERNEL*/
71
72#endif /*_NETIPSEC_IPSEC6_H_*/