xlat: add fallback values to sock_ip_options

* xlat/sock_ip_options.in: Add fallback values, remove IP_RECVOPTIONS,
IP_RECVRETOPTS, IP_RECVDSTADDR, IP_RECVIFINDEX, IP_BROADCAST_IF that are
not present in Linux, remove IP_RECVORIGDSTADDR as it is synonymous to
IP_ORIGDSTADDR, add "#value_indexed".
This commit is contained in:
Eugene Syromyatnikov 2018-10-15 17:43:54 +02:00
parent cd733e0454
commit fd02c5ea81

View File

@ -1,50 +1,45 @@
IP_TOS
IP_TTL
IP_HDRINCL
IP_OPTIONS
IP_ROUTER_ALERT
IP_RECVOPTIONS
IP_RECVOPTS
IP_RETOPTS
IP_RECVRETOPTS
IP_RECVDSTADDR
IP_PKTINFO
IP_PKTOPTIONS
IP_MTU_DISCOVER
IP_RECVERR
IP_RECVTTL
IP_RECVTOS
IP_MTU
IP_MULTICAST_IF
IP_MULTICAST_TTL
IP_MULTICAST_LOOP
IP_ADD_MEMBERSHIP
IP_DROP_MEMBERSHIP
IP_BROADCAST_IF
IP_RECVIFINDEX
IP_MSFILTER
IP_FREEBIND
IP_IPSEC_POLICY
IP_XFRM_POLICY
IP_PASSSEC
IP_TRANSPARENT
IP_ORIGDSTADDR
IP_RECVORIGDSTADDR
IP_MINTTL
IP_NODEFRAG
IP_CHECKSUM
IP_BIND_ADDRESS_NO_PORT
IP_RECVFRAGSIZE
IP_UNBLOCK_SOURCE
IP_BLOCK_SOURCE
IP_ADD_SOURCE_MEMBERSHIP
IP_DROP_SOURCE_MEMBERSHIP
MCAST_JOIN_GROUP
MCAST_BLOCK_SOURCE
MCAST_UNBLOCK_SOURCE
MCAST_LEAVE_GROUP
MCAST_JOIN_SOURCE_GROUP
MCAST_LEAVE_SOURCE_GROUP
MCAST_MSFILTER
IP_MULTICAST_ALL
IP_UNICAST_IF
#value_indexed
IP_TOS 1
IP_TTL 2
IP_HDRINCL 3
IP_OPTIONS 4
IP_ROUTER_ALERT 5
IP_RECVOPTS 6
IP_RETOPTS 7
IP_PKTINFO 8
IP_PKTOPTIONS 9
IP_MTU_DISCOVER 10
IP_RECVERR 11
IP_RECVTTL 12
IP_RECVTOS 13
IP_MTU 14
IP_FREEBIND 15
IP_IPSEC_POLICY 16
IP_XFRM_POLICY 17
IP_PASSSEC 18
IP_TRANSPARENT 19
IP_ORIGDSTADDR 20
IP_MINTTL 21
IP_NODEFRAG 22
IP_CHECKSUM 23
IP_BIND_ADDRESS_NO_PORT 24
IP_RECVFRAGSIZE 25
IP_MULTICAST_IF 32
IP_MULTICAST_TTL 33
IP_MULTICAST_LOOP 34
IP_ADD_MEMBERSHIP 35
IP_DROP_MEMBERSHIP 36
IP_UNBLOCK_SOURCE 37
IP_BLOCK_SOURCE 38
IP_ADD_SOURCE_MEMBERSHIP 39
IP_DROP_SOURCE_MEMBERSHIP 40
IP_MSFILTER 41
MCAST_JOIN_GROUP 42
MCAST_BLOCK_SOURCE 43
MCAST_UNBLOCK_SOURCE 44
MCAST_LEAVE_GROUP 45
MCAST_JOIN_SOURCE_GROUP 46
MCAST_LEAVE_SOURCE_GROUP 47
MCAST_MSFILTER 48
IP_MULTICAST_ALL 49
IP_UNICAST_IF 50