]> git.proxmox.com Git - mirror_qemu.git/blobdiff - linux-user/socket.h
memory_mapping: Rework cpu related includes
[mirror_qemu.git] / linux-user / socket.h
index ae179599021a0bddc90b99a7ea064ef69aba76a3..4dacae612701bef3b310901c3d6ca564aa4fad54 100644 (file)
@@ -63,6 +63,7 @@
     #define TARGET_SO_PEERSEC              30
     #define TARGET_SO_SNDBUFFORCE          31
     #define TARGET_SO_RCVBUFFORCE          33
+    #define TARGET_SO_PASSSEC              34
 
     /** sock_type - Socket types
      *
 
     #define TARGET_SOCK_MAX (TARGET_SOCK_PACKET + 1)
     #define TARGET_SOCK_TYPE_MASK    0xf  /* Covers up to TARGET_SOCK_MAX-1. */
+
+    #define TARGET_SO_PASSSEC        31
+#else
+    #define TARGET_SO_PASSSEC        34
 #endif
 
     /* For setsockopt(2) */