1*fcf59617SAndrey V. Elsukov /*- 2*fcf59617SAndrey V. Elsukov * Copyright (c) 2016 Yandex LLC 3*fcf59617SAndrey V. Elsukov * Copyright (c) 2016 Andrey V. Elsukov <ae@FreeBSD.org> 4*fcf59617SAndrey V. Elsukov * All rights reserved. 5*fcf59617SAndrey V. Elsukov * 6*fcf59617SAndrey V. Elsukov * Redistribution and use in source and binary forms, with or without 7*fcf59617SAndrey V. Elsukov * modification, are permitted provided that the following conditions 8*fcf59617SAndrey V. Elsukov * are met: 9*fcf59617SAndrey V. Elsukov * 10*fcf59617SAndrey V. Elsukov * 1. Redistributions of source code must retain the above copyright 11*fcf59617SAndrey V. Elsukov * notice, this list of conditions and the following disclaimer. 12*fcf59617SAndrey V. Elsukov * 2. Redistributions in binary form must reproduce the above copyright 13*fcf59617SAndrey V. Elsukov * notice, this list of conditions and the following disclaimer in the 14*fcf59617SAndrey V. Elsukov * documentation and/or other materials provided with the distribution. 15*fcf59617SAndrey V. Elsukov * 16*fcf59617SAndrey V. Elsukov * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 17*fcf59617SAndrey V. Elsukov * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 18*fcf59617SAndrey V. Elsukov * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 19*fcf59617SAndrey V. Elsukov * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 20*fcf59617SAndrey V. Elsukov * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 21*fcf59617SAndrey V. Elsukov * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22*fcf59617SAndrey V. Elsukov * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23*fcf59617SAndrey V. Elsukov * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24*fcf59617SAndrey V. Elsukov * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25*fcf59617SAndrey V. Elsukov * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26*fcf59617SAndrey V. Elsukov */ 27*fcf59617SAndrey V. Elsukov 28*fcf59617SAndrey V. Elsukov #ifndef _NET_IF_IPSEC_H_ 29*fcf59617SAndrey V. Elsukov #define _NET_IF_IPSEC_H_ 30*fcf59617SAndrey V. Elsukov 31*fcf59617SAndrey V. Elsukov #define IPSEC_MTU 1400 32*fcf59617SAndrey V. Elsukov #define IPSEC_MTU_MIN 1280 33*fcf59617SAndrey V. Elsukov #define IPSEC_MTU_MAX 8192 34*fcf59617SAndrey V. Elsukov #define IPSECGREQID _IOWR('i', 160, struct ifreq) 35*fcf59617SAndrey V. Elsukov #define IPSECSREQID _IOW('i', 161, struct ifreq) 36*fcf59617SAndrey V. Elsukov 37*fcf59617SAndrey V. Elsukov #endif /* _NET_IF_IPSEC_H_ */ 38