1313330Sae/*- 2313330Sae * Copyright (c) 2016 Yandex LLC 3313330Sae * Copyright (c) 2016 Andrey V. Elsukov <ae@FreeBSD.org> 4313330Sae * All rights reserved. 5313330Sae * 6313330Sae * Redistribution and use in source and binary forms, with or without 7313330Sae * modification, are permitted provided that the following conditions 8313330Sae * are met: 9313330Sae * 10313330Sae * 1. Redistributions of source code must retain the above copyright 11313330Sae * notice, this list of conditions and the following disclaimer. 12313330Sae * 2. Redistributions in binary form must reproduce the above copyright 13313330Sae * notice, this list of conditions and the following disclaimer in the 14313330Sae * documentation and/or other materials provided with the distribution. 15313330Sae * 16313330Sae * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17313330Sae * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18313330Sae * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19313330Sae * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20313330Sae * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21313330Sae * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22313330Sae * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23313330Sae * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24313330Sae * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25313330Sae * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26313330Sae * 27313330Sae * $FreeBSD: stable/11/sys/net/if_ipsec.h 315514 2017-03-18 22:04:20Z ae $ 28313330Sae */ 29313330Sae 30313330Sae#ifndef _NET_IF_IPSEC_H_ 31313330Sae#define _NET_IF_IPSEC_H_ 32313330Sae 33313330Sae#define IPSEC_MTU 1400 34313330Sae#define IPSEC_MTU_MIN 1280 35313330Sae#define IPSEC_MTU_MAX 8192 36313330Sae#define IPSECGREQID _IOWR('i', 160, struct ifreq) 37313330Sae#define IPSECSREQID _IOW('i', 161, struct ifreq) 38313330Sae 39313330Sae#endif /* _NET_IF_IPSEC_H_ */ 40