Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: route.h
/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* INET An implementation of the TCP/IP protocol suite for the LINUX
[2] Fix | Delete
* operating system. INET is implemented using the BSD Socket
[3] Fix | Delete
* interface as the means of communication with the user level.
[4] Fix | Delete
*
[5] Fix | Delete
* Global definitions for the IP router interface.
[6] Fix | Delete
*
[7] Fix | Delete
* Version: @(#)route.h 1.0.3 05/27/93
[8] Fix | Delete
*
[9] Fix | Delete
* Authors: Original taken from Berkeley UNIX 4.3, (c) UCB 1986-1988
[10] Fix | Delete
* for the purposes of compatibility only.
[11] Fix | Delete
*
[12] Fix | Delete
* Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
[13] Fix | Delete
*
[14] Fix | Delete
* Changes:
[15] Fix | Delete
* Mike McLagan : Routing by source
[16] Fix | Delete
*
[17] Fix | Delete
* This program is free software; you can redistribute it and/or
[18] Fix | Delete
* modify it under the terms of the GNU General Public License
[19] Fix | Delete
* as published by the Free Software Foundation; either version
[20] Fix | Delete
* 2 of the License, or (at your option) any later version.
[21] Fix | Delete
*/
[22] Fix | Delete
#ifndef _LINUX_ROUTE_H
[23] Fix | Delete
#define _LINUX_ROUTE_H
[24] Fix | Delete
[25] Fix | Delete
#include <linux/if.h>
[26] Fix | Delete
[27] Fix | Delete
[28] Fix | Delete
/* This structure gets passed by the SIOCADDRT and SIOCDELRT calls. */
[29] Fix | Delete
struct rtentry {
[30] Fix | Delete
unsigned long rt_pad1;
[31] Fix | Delete
struct sockaddr rt_dst; /* target address */
[32] Fix | Delete
struct sockaddr rt_gateway; /* gateway addr (RTF_GATEWAY) */
[33] Fix | Delete
struct sockaddr rt_genmask; /* target network mask (IP) */
[34] Fix | Delete
unsigned short rt_flags;
[35] Fix | Delete
short rt_pad2;
[36] Fix | Delete
unsigned long rt_pad3;
[37] Fix | Delete
void *rt_pad4;
[38] Fix | Delete
short rt_metric; /* +1 for binary compatibility! */
[39] Fix | Delete
char *rt_dev; /* forcing the device at add */
[40] Fix | Delete
unsigned long rt_mtu; /* per route MTU/Window */
[41] Fix | Delete
#define rt_mss rt_mtu /* Compatibility :-( */
[42] Fix | Delete
unsigned long rt_window; /* Window clamping */
[43] Fix | Delete
unsigned short rt_irtt; /* Initial RTT */
[44] Fix | Delete
};
[45] Fix | Delete
[46] Fix | Delete
[47] Fix | Delete
#define RTF_UP 0x0001 /* route usable */
[48] Fix | Delete
#define RTF_GATEWAY 0x0002 /* destination is a gateway */
[49] Fix | Delete
#define RTF_HOST 0x0004 /* host entry (net otherwise) */
[50] Fix | Delete
#define RTF_REINSTATE 0x0008 /* reinstate route after tmout */
[51] Fix | Delete
#define RTF_DYNAMIC 0x0010 /* created dyn. (by redirect) */
[52] Fix | Delete
#define RTF_MODIFIED 0x0020 /* modified dyn. (by redirect) */
[53] Fix | Delete
#define RTF_MTU 0x0040 /* specific MTU for this route */
[54] Fix | Delete
#define RTF_MSS RTF_MTU /* Compatibility :-( */
[55] Fix | Delete
#define RTF_WINDOW 0x0080 /* per route window clamping */
[56] Fix | Delete
#define RTF_IRTT 0x0100 /* Initial round trip time */
[57] Fix | Delete
#define RTF_REJECT 0x0200 /* Reject route */
[58] Fix | Delete
[59] Fix | Delete
/*
[60] Fix | Delete
* <linux/ipv6_route.h> uses RTF values >= 64k
[61] Fix | Delete
*/
[62] Fix | Delete
[63] Fix | Delete
[64] Fix | Delete
[65] Fix | Delete
#endif /* _LINUX_ROUTE_H */
[66] Fix | Delete
[67] Fix | Delete
[68] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function