linux/include/uapi/linux/ip.h

/* 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.
 *
 *		Definitions for the IP protocol.
 *
 * Version:	@(#)ip.h	1.0.2	04/28/93
 *
 * Authors:	Fred N. van Kempen, <[email protected]>
 *
 *		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 _UAPI_LINUX_IP_H
#define _UAPI_LINUX_IP_H
#include <linux/types.h>
#include <linux/stddef.h>
#include <asm/byteorder.h>

#define IPTOS_TOS_MASK
#define IPTOS_TOS(tos)
#define IPTOS_LOWDELAY
#define IPTOS_THROUGHPUT
#define IPTOS_RELIABILITY
#define IPTOS_MINCOST

#define IPTOS_PREC_MASK
#define IPTOS_PREC(tos)
#define IPTOS_PREC_NETCONTROL
#define IPTOS_PREC_INTERNETCONTROL
#define IPTOS_PREC_CRITIC_ECP
#define IPTOS_PREC_FLASHOVERRIDE
#define IPTOS_PREC_FLASH
#define IPTOS_PREC_IMMEDIATE
#define IPTOS_PREC_PRIORITY
#define IPTOS_PREC_ROUTINE


/* IP options */
#define IPOPT_COPY
#define IPOPT_CLASS_MASK
#define IPOPT_NUMBER_MASK

#define IPOPT_COPIED(o)
#define IPOPT_CLASS(o)
#define IPOPT_NUMBER(o)

#define IPOPT_CONTROL
#define IPOPT_RESERVED1
#define IPOPT_MEASUREMENT
#define IPOPT_RESERVED2

#define IPOPT_END
#define IPOPT_NOOP
#define IPOPT_SEC
#define IPOPT_LSRR
#define IPOPT_TIMESTAMP
#define IPOPT_CIPSO
#define IPOPT_RR
#define IPOPT_SID
#define IPOPT_SSRR
#define IPOPT_RA

#define IPVERSION
#define MAXTTL
#define IPDEFTTL

#define IPOPT_OPTVAL
#define IPOPT_OLEN
#define IPOPT_OFFSET
#define IPOPT_MINOFF
#define MAX_IPOPTLEN
#define IPOPT_NOP
#define IPOPT_EOL
#define IPOPT_TS

#define IPOPT_TS_TSONLY
#define IPOPT_TS_TSANDADDR
#define IPOPT_TS_PRESPEC

#define IPV4_BEET_PHMAXLEN

struct iphdr {};


struct ip_auth_hdr {};

struct ip_esp_hdr {};

struct ip_comp_hdr {};

struct ip_beet_phdr {};

/* index values for the variables in ipv4_devconf */
enum
{};

#define IPV4_DEVCONF_MAX

#endif /* _UAPI_LINUX_IP_H */