You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
173 lines
6.6 KiB
173 lines
6.6 KiB
/* Generated by ./xlat/gen.sh from ./xlat/sock_ip_options.in; do not edit. */
|
|
|
|
#include "gcc_compat.h"
|
|
#include "static_assert.h"
|
|
|
|
|
|
#ifndef XLAT_MACROS_ONLY
|
|
|
|
# ifdef IN_MPERS
|
|
|
|
# error static const struct xlat sock_ip_options in mpers mode
|
|
|
|
# else
|
|
|
|
static
|
|
const struct xlat sock_ip_options[] = {
|
|
#if defined(IP_TOS) || (defined(HAVE_DECL_IP_TOS) && HAVE_DECL_IP_TOS)
|
|
XLAT(IP_TOS),
|
|
#endif
|
|
#if defined(IP_TTL) || (defined(HAVE_DECL_IP_TTL) && HAVE_DECL_IP_TTL)
|
|
XLAT(IP_TTL),
|
|
#endif
|
|
#if defined(IP_HDRINCL) || (defined(HAVE_DECL_IP_HDRINCL) && HAVE_DECL_IP_HDRINCL)
|
|
XLAT(IP_HDRINCL),
|
|
#endif
|
|
#if defined(IP_OPTIONS) || (defined(HAVE_DECL_IP_OPTIONS) && HAVE_DECL_IP_OPTIONS)
|
|
XLAT(IP_OPTIONS),
|
|
#endif
|
|
#if defined(IP_ROUTER_ALERT) || (defined(HAVE_DECL_IP_ROUTER_ALERT) && HAVE_DECL_IP_ROUTER_ALERT)
|
|
XLAT(IP_ROUTER_ALERT),
|
|
#endif
|
|
#if defined(IP_RECVOPTIONS) || (defined(HAVE_DECL_IP_RECVOPTIONS) && HAVE_DECL_IP_RECVOPTIONS)
|
|
XLAT(IP_RECVOPTIONS),
|
|
#endif
|
|
#if defined(IP_RECVOPTS) || (defined(HAVE_DECL_IP_RECVOPTS) && HAVE_DECL_IP_RECVOPTS)
|
|
XLAT(IP_RECVOPTS),
|
|
#endif
|
|
#if defined(IP_RETOPTS) || (defined(HAVE_DECL_IP_RETOPTS) && HAVE_DECL_IP_RETOPTS)
|
|
XLAT(IP_RETOPTS),
|
|
#endif
|
|
#if defined(IP_RECVRETOPTS) || (defined(HAVE_DECL_IP_RECVRETOPTS) && HAVE_DECL_IP_RECVRETOPTS)
|
|
XLAT(IP_RECVRETOPTS),
|
|
#endif
|
|
#if defined(IP_RECVDSTADDR) || (defined(HAVE_DECL_IP_RECVDSTADDR) && HAVE_DECL_IP_RECVDSTADDR)
|
|
XLAT(IP_RECVDSTADDR),
|
|
#endif
|
|
#if defined(IP_PKTINFO) || (defined(HAVE_DECL_IP_PKTINFO) && HAVE_DECL_IP_PKTINFO)
|
|
XLAT(IP_PKTINFO),
|
|
#endif
|
|
#if defined(IP_PKTOPTIONS) || (defined(HAVE_DECL_IP_PKTOPTIONS) && HAVE_DECL_IP_PKTOPTIONS)
|
|
XLAT(IP_PKTOPTIONS),
|
|
#endif
|
|
#if defined(IP_MTU_DISCOVER) || (defined(HAVE_DECL_IP_MTU_DISCOVER) && HAVE_DECL_IP_MTU_DISCOVER)
|
|
XLAT(IP_MTU_DISCOVER),
|
|
#endif
|
|
#if defined(IP_RECVERR) || (defined(HAVE_DECL_IP_RECVERR) && HAVE_DECL_IP_RECVERR)
|
|
XLAT(IP_RECVERR),
|
|
#endif
|
|
#if defined(IP_RECVTTL) || (defined(HAVE_DECL_IP_RECVTTL) && HAVE_DECL_IP_RECVTTL)
|
|
XLAT(IP_RECVTTL),
|
|
#endif
|
|
#if defined(IP_RECVTOS) || (defined(HAVE_DECL_IP_RECVTOS) && HAVE_DECL_IP_RECVTOS)
|
|
XLAT(IP_RECVTOS),
|
|
#endif
|
|
#if defined(IP_MTU) || (defined(HAVE_DECL_IP_MTU) && HAVE_DECL_IP_MTU)
|
|
XLAT(IP_MTU),
|
|
#endif
|
|
#if defined(IP_MULTICAST_IF) || (defined(HAVE_DECL_IP_MULTICAST_IF) && HAVE_DECL_IP_MULTICAST_IF)
|
|
XLAT(IP_MULTICAST_IF),
|
|
#endif
|
|
#if defined(IP_MULTICAST_TTL) || (defined(HAVE_DECL_IP_MULTICAST_TTL) && HAVE_DECL_IP_MULTICAST_TTL)
|
|
XLAT(IP_MULTICAST_TTL),
|
|
#endif
|
|
#if defined(IP_MULTICAST_LOOP) || (defined(HAVE_DECL_IP_MULTICAST_LOOP) && HAVE_DECL_IP_MULTICAST_LOOP)
|
|
XLAT(IP_MULTICAST_LOOP),
|
|
#endif
|
|
#if defined(IP_ADD_MEMBERSHIP) || (defined(HAVE_DECL_IP_ADD_MEMBERSHIP) && HAVE_DECL_IP_ADD_MEMBERSHIP)
|
|
XLAT(IP_ADD_MEMBERSHIP),
|
|
#endif
|
|
#if defined(IP_DROP_MEMBERSHIP) || (defined(HAVE_DECL_IP_DROP_MEMBERSHIP) && HAVE_DECL_IP_DROP_MEMBERSHIP)
|
|
XLAT(IP_DROP_MEMBERSHIP),
|
|
#endif
|
|
#if defined(IP_BROADCAST_IF) || (defined(HAVE_DECL_IP_BROADCAST_IF) && HAVE_DECL_IP_BROADCAST_IF)
|
|
XLAT(IP_BROADCAST_IF),
|
|
#endif
|
|
#if defined(IP_RECVIFINDEX) || (defined(HAVE_DECL_IP_RECVIFINDEX) && HAVE_DECL_IP_RECVIFINDEX)
|
|
XLAT(IP_RECVIFINDEX),
|
|
#endif
|
|
#if defined(IP_MSFILTER) || (defined(HAVE_DECL_IP_MSFILTER) && HAVE_DECL_IP_MSFILTER)
|
|
XLAT(IP_MSFILTER),
|
|
#endif
|
|
#if defined(IP_FREEBIND) || (defined(HAVE_DECL_IP_FREEBIND) && HAVE_DECL_IP_FREEBIND)
|
|
XLAT(IP_FREEBIND),
|
|
#endif
|
|
#if defined(IP_IPSEC_POLICY) || (defined(HAVE_DECL_IP_IPSEC_POLICY) && HAVE_DECL_IP_IPSEC_POLICY)
|
|
XLAT(IP_IPSEC_POLICY),
|
|
#endif
|
|
#if defined(IP_XFRM_POLICY) || (defined(HAVE_DECL_IP_XFRM_POLICY) && HAVE_DECL_IP_XFRM_POLICY)
|
|
XLAT(IP_XFRM_POLICY),
|
|
#endif
|
|
#if defined(IP_PASSSEC) || (defined(HAVE_DECL_IP_PASSSEC) && HAVE_DECL_IP_PASSSEC)
|
|
XLAT(IP_PASSSEC),
|
|
#endif
|
|
#if defined(IP_TRANSPARENT) || (defined(HAVE_DECL_IP_TRANSPARENT) && HAVE_DECL_IP_TRANSPARENT)
|
|
XLAT(IP_TRANSPARENT),
|
|
#endif
|
|
#if defined(IP_ORIGDSTADDR) || (defined(HAVE_DECL_IP_ORIGDSTADDR) && HAVE_DECL_IP_ORIGDSTADDR)
|
|
XLAT(IP_ORIGDSTADDR),
|
|
#endif
|
|
#if defined(IP_RECVORIGDSTADDR) || (defined(HAVE_DECL_IP_RECVORIGDSTADDR) && HAVE_DECL_IP_RECVORIGDSTADDR)
|
|
XLAT(IP_RECVORIGDSTADDR),
|
|
#endif
|
|
#if defined(IP_MINTTL) || (defined(HAVE_DECL_IP_MINTTL) && HAVE_DECL_IP_MINTTL)
|
|
XLAT(IP_MINTTL),
|
|
#endif
|
|
#if defined(IP_NODEFRAG) || (defined(HAVE_DECL_IP_NODEFRAG) && HAVE_DECL_IP_NODEFRAG)
|
|
XLAT(IP_NODEFRAG),
|
|
#endif
|
|
#if defined(IP_CHECKSUM) || (defined(HAVE_DECL_IP_CHECKSUM) && HAVE_DECL_IP_CHECKSUM)
|
|
XLAT(IP_CHECKSUM),
|
|
#endif
|
|
#if defined(IP_BIND_ADDRESS_NO_PORT) || (defined(HAVE_DECL_IP_BIND_ADDRESS_NO_PORT) && HAVE_DECL_IP_BIND_ADDRESS_NO_PORT)
|
|
XLAT(IP_BIND_ADDRESS_NO_PORT),
|
|
#endif
|
|
#if defined(IP_RECVFRAGSIZE) || (defined(HAVE_DECL_IP_RECVFRAGSIZE) && HAVE_DECL_IP_RECVFRAGSIZE)
|
|
XLAT(IP_RECVFRAGSIZE),
|
|
#endif
|
|
#if defined(IP_UNBLOCK_SOURCE) || (defined(HAVE_DECL_IP_UNBLOCK_SOURCE) && HAVE_DECL_IP_UNBLOCK_SOURCE)
|
|
XLAT(IP_UNBLOCK_SOURCE),
|
|
#endif
|
|
#if defined(IP_BLOCK_SOURCE) || (defined(HAVE_DECL_IP_BLOCK_SOURCE) && HAVE_DECL_IP_BLOCK_SOURCE)
|
|
XLAT(IP_BLOCK_SOURCE),
|
|
#endif
|
|
#if defined(IP_ADD_SOURCE_MEMBERSHIP) || (defined(HAVE_DECL_IP_ADD_SOURCE_MEMBERSHIP) && HAVE_DECL_IP_ADD_SOURCE_MEMBERSHIP)
|
|
XLAT(IP_ADD_SOURCE_MEMBERSHIP),
|
|
#endif
|
|
#if defined(IP_DROP_SOURCE_MEMBERSHIP) || (defined(HAVE_DECL_IP_DROP_SOURCE_MEMBERSHIP) && HAVE_DECL_IP_DROP_SOURCE_MEMBERSHIP)
|
|
XLAT(IP_DROP_SOURCE_MEMBERSHIP),
|
|
#endif
|
|
#if defined(MCAST_JOIN_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_GROUP) && HAVE_DECL_MCAST_JOIN_GROUP)
|
|
XLAT(MCAST_JOIN_GROUP),
|
|
#endif
|
|
#if defined(MCAST_BLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_BLOCK_SOURCE) && HAVE_DECL_MCAST_BLOCK_SOURCE)
|
|
XLAT(MCAST_BLOCK_SOURCE),
|
|
#endif
|
|
#if defined(MCAST_UNBLOCK_SOURCE) || (defined(HAVE_DECL_MCAST_UNBLOCK_SOURCE) && HAVE_DECL_MCAST_UNBLOCK_SOURCE)
|
|
XLAT(MCAST_UNBLOCK_SOURCE),
|
|
#endif
|
|
#if defined(MCAST_LEAVE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_GROUP) && HAVE_DECL_MCAST_LEAVE_GROUP)
|
|
XLAT(MCAST_LEAVE_GROUP),
|
|
#endif
|
|
#if defined(MCAST_JOIN_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_JOIN_SOURCE_GROUP) && HAVE_DECL_MCAST_JOIN_SOURCE_GROUP)
|
|
XLAT(MCAST_JOIN_SOURCE_GROUP),
|
|
#endif
|
|
#if defined(MCAST_LEAVE_SOURCE_GROUP) || (defined(HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP) && HAVE_DECL_MCAST_LEAVE_SOURCE_GROUP)
|
|
XLAT(MCAST_LEAVE_SOURCE_GROUP),
|
|
#endif
|
|
#if defined(MCAST_MSFILTER) || (defined(HAVE_DECL_MCAST_MSFILTER) && HAVE_DECL_MCAST_MSFILTER)
|
|
XLAT(MCAST_MSFILTER),
|
|
#endif
|
|
#if defined(IP_MULTICAST_ALL) || (defined(HAVE_DECL_IP_MULTICAST_ALL) && HAVE_DECL_IP_MULTICAST_ALL)
|
|
XLAT(IP_MULTICAST_ALL),
|
|
#endif
|
|
#if defined(IP_UNICAST_IF) || (defined(HAVE_DECL_IP_UNICAST_IF) && HAVE_DECL_IP_UNICAST_IF)
|
|
XLAT(IP_UNICAST_IF),
|
|
#endif
|
|
XLAT_END
|
|
};
|
|
|
|
# endif /* !IN_MPERS */
|
|
|
|
#endif /* !XLAT_MACROS_ONLY */
|