linux/include/uapi/linux/udp.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 UDP protocol.
 *
 * Version:	@(#)udp.h	1.0.2	04/28/93
 *
 * Author:	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_UDP_H
#define _UAPI_LINUX_UDP_H

#include <linux/types.h>

struct udphdr {};

/* UDP socket options */
#define UDP_CORK
#define UDP_ENCAP
#define UDP_NO_CHECK6_TX
#define UDP_NO_CHECK6_RX
#define UDP_SEGMENT
#define UDP_GRO

/* UDP encapsulation types */
#define UDP_ENCAP_ESPINUDP_NON_IKE
#define UDP_ENCAP_ESPINUDP
#define UDP_ENCAP_L2TPINUDP
#define UDP_ENCAP_GTP0
#define UDP_ENCAP_GTP1U
#define UDP_ENCAP_RXRPC
#define TCP_ENCAP_ESPINTCP

#endif /* _UAPI_LINUX_UDP_H */