/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Global definitions for the IP router interface. * * Version: @(#)route.h 1.0.3 05/27/93 * * Authors: Original taken from Berkeley UNIX 4.3, (c) UCB 1986-1988 * for the purposes of compatibility only. * * Fred N. van Kempen, <[email protected]> * * Changes: * Mike McLagan : Routing by source * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #ifndef _LINUX_ROUTE_H #define _LINUX_ROUTE_H #include <linux/if.h> #include <linux/compiler.h> /* This structure gets passed by the SIOCADDRT and SIOCDELRT calls. */ struct rtentry { … }; #define RTF_UP … #define RTF_GATEWAY … #define RTF_HOST … #define RTF_REINSTATE … #define RTF_DYNAMIC … #define RTF_MODIFIED … #define RTF_MTU … #define RTF_MSS … #define RTF_WINDOW … #define RTF_IRTT … #define RTF_REJECT … /* * <linux/ipv6_route.h> uses RTF values >= 64k */ #endif /* _LINUX_ROUTE_H */