~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/mips/include/uapi/asm/socket.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/mips/include/uapi/asm/socket.h (Version linux-6.12-rc7) and /arch/i386/include/uapi/asm/socket.h (Version linux-5.0.21)


  1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux      1 
  2 /*                                                
  3  * This file is subject to the terms and condi    
  4  * License.  See the file "COPYING" in the mai    
  5  * for more details.                              
  6  *                                                
  7  * Copyright (C) 1997, 1999, 2000, 2001 Ralf B    
  8  * Copyright (C) 2000, 2001 Silicon Graphics,     
  9  */                                               
 10 #ifndef _UAPI_ASM_SOCKET_H                        
 11 #define _UAPI_ASM_SOCKET_H                        
 12                                                   
 13 #include <linux/posix_types.h>                    
 14 #include <asm/sockios.h>                          
 15                                                   
 16 /*                                                
 17  * For setsockopt(2)                              
 18  *                                                
 19  * This defines are ABI conformant as far as L    
 20  */                                               
 21 #define SOL_SOCKET      0xffff                    
 22                                                   
 23 #define SO_DEBUG        0x0001  /* Record debu    
 24 #define SO_REUSEADDR    0x0004  /* Allow reuse    
 25 #define SO_KEEPALIVE    0x0008  /* Keep connec    
 26                                    SIGPIPE whe    
 27 #define SO_DONTROUTE    0x0010  /* Don't do lo    
 28 #define SO_BROADCAST    0x0020  /* Allow trans    
 29                                    broadcast m    
 30 #define SO_LINGER       0x0080  /* Block on cl    
 31                                    socket to t    
 32 #define SO_OOBINLINE 0x0100     /* Receive out    
 33 #define SO_REUSEPORT 0x0200     /* Allow local    
 34                                                   
 35 #define SO_TYPE         0x1008  /* Compatible     
 36 #define SO_STYLE        SO_TYPE /* Synonym */     
 37 #define SO_ERROR        0x1007  /* get error s    
 38 #define SO_SNDBUF       0x1001  /* Send buffer    
 39 #define SO_RCVBUF       0x1002  /* Receive buf    
 40 #define SO_SNDLOWAT     0x1003  /* send low-wa    
 41 #define SO_RCVLOWAT     0x1004  /* receive low    
 42 #define SO_SNDTIMEO_OLD 0x1005  /* send timeou    
 43 #define SO_RCVTIMEO_OLD 0x1006  /* receive tim    
 44 #define SO_ACCEPTCONN   0x1009                    
 45 #define SO_PROTOCOL     0x1028  /* protocol ty    
 46 #define SO_DOMAIN       0x1029  /* domain/sock    
 47                                                   
 48 /* linux-specific, might as well be the same a    
 49 #define SO_NO_CHECK     11                        
 50 #define SO_PRIORITY     12                        
 51 #define SO_BSDCOMPAT    14                        
 52                                                   
 53 #define SO_PASSCRED     17                        
 54 #define SO_PEERCRED     18                        
 55                                                   
 56 /* Security levels - as per NRL IPv6 - don't a    
 57 #define SO_SECURITY_AUTHENTICATION                
 58 #define SO_SECURITY_ENCRYPTION_TRANSPORT          
 59 #define SO_SECURITY_ENCRYPTION_NETWORK            
 60                                                   
 61 #define SO_BINDTODEVICE         25                
 62                                                   
 63 /* Socket filtering */                            
 64 #define SO_ATTACH_FILTER        26                
 65 #define SO_DETACH_FILTER        27                
 66 #define SO_GET_FILTER           SO_ATTACH_FILT    
 67                                                   
 68 #define SO_PEERNAME             28                
 69                                                   
 70 #define SO_PEERSEC              30                
 71 #define SO_SNDBUFFORCE          31                
 72 #define SO_RCVBUFFORCE          33                
 73 #define SO_PASSSEC              34                
 74                                                   
 75 #define SO_MARK                 36                
 76                                                   
 77 #define SO_RXQ_OVFL             40                
 78                                                   
 79 #define SO_WIFI_STATUS          41                
 80 #define SCM_WIFI_STATUS         SO_WIFI_STATUS    
 81 #define SO_PEEK_OFF             42                
 82                                                   
 83 /* Instruct lower device to use last 4-bytes o    
 84 #define SO_NOFCS                43                
 85                                                   
 86 #define SO_LOCK_FILTER          44                
 87                                                   
 88 #define SO_SELECT_ERR_QUEUE     45                
 89                                                   
 90 #define SO_BUSY_POLL            46                
 91                                                   
 92 #define SO_MAX_PACING_RATE      47                
 93                                                   
 94 #define SO_BPF_EXTENSIONS       48                
 95                                                   
 96 #define SO_INCOMING_CPU         49                
 97                                                   
 98 #define SO_ATTACH_BPF           50                
 99 #define SO_DETACH_BPF           SO_DETACH_FILT    
100                                                   
101 #define SO_ATTACH_REUSEPORT_CBPF        51        
102 #define SO_ATTACH_REUSEPORT_EBPF        52        
103                                                   
104 #define SO_CNX_ADVICE           53                
105                                                   
106 #define SCM_TIMESTAMPING_OPT_STATS      54        
107                                                   
108 #define SO_MEMINFO              55                
109                                                   
110 #define SO_INCOMING_NAPI_ID     56                
111                                                   
112 #define SO_COOKIE               57                
113                                                   
114 #define SCM_TIMESTAMPING_PKTINFO        58        
115                                                   
116 #define SO_PEERGROUPS           59                
117                                                   
118 #define SO_ZEROCOPY             60                
119                                                   
120 #define SO_TXTIME               61                
121 #define SCM_TXTIME              SO_TXTIME         
122                                                   
123 #define SO_BINDTOIFINDEX        62                
124                                                   
125 #define SO_TIMESTAMP_OLD        29                
126 #define SO_TIMESTAMPNS_OLD      35                
127 #define SO_TIMESTAMPING_OLD     37                
128                                                   
129 #define SO_TIMESTAMP_NEW        63                
130 #define SO_TIMESTAMPNS_NEW      64                
131 #define SO_TIMESTAMPING_NEW     65                
132                                                   
133 #define SO_RCVTIMEO_NEW         66                
134 #define SO_SNDTIMEO_NEW         67                
135                                                   
136 #define SO_DETACH_REUSEPORT_BPF 68                
137                                                   
138 #define SO_PREFER_BUSY_POLL     69                
139 #define SO_BUSY_POLL_BUDGET     70                
140                                                   
141 #define SO_NETNS_COOKIE         71                
142                                                   
143 #define SO_BUF_LOCK             72                
144                                                   
145 #define SO_RESERVE_MEM          73                
146                                                   
147 #define SO_TXREHASH             74                
148                                                   
149 #define SO_RCVMARK              75                
150                                                   
151 #define SO_PASSPIDFD            76                
152 #define SO_PEERPIDFD            77                
153                                                   
154 #define SO_DEVMEM_LINEAR        78                
155 #define SCM_DEVMEM_LINEAR       SO_DEVMEM_LINE    
156 #define SO_DEVMEM_DMABUF        79                
157 #define SCM_DEVMEM_DMABUF       SO_DEVMEM_DMAB    
158 #define SO_DEVMEM_DONTNEED      80                
159                                                   
160 #if !defined(__KERNEL__)                          
161                                                   
162 #if __BITS_PER_LONG == 64                         
163 #define SO_TIMESTAMP            SO_TIMESTAMP_O    
164 #define SO_TIMESTAMPNS          SO_TIMESTAMPNS    
165 #define SO_TIMESTAMPING         SO_TIMESTAMPIN    
166                                                   
167 #define SO_RCVTIMEO             SO_RCVTIMEO_OL    
168 #define SO_SNDTIMEO             SO_SNDTIMEO_OL    
169 #else                                             
170 #define SO_TIMESTAMP (sizeof(time_t) == sizeof    
171 #define SO_TIMESTAMPNS (sizeof(time_t) == size    
172 #define SO_TIMESTAMPING (sizeof(time_t) == siz    
173                                                   
174 #define SO_RCVTIMEO (sizeof(time_t) == sizeof(    
175 #define SO_SNDTIMEO (sizeof(time_t) == sizeof(    
176 #endif                                            
177                                                   
178 #define SCM_TIMESTAMP           SO_TIMESTAMP      
179 #define SCM_TIMESTAMPNS         SO_TIMESTAMPNS    
180 #define SCM_TIMESTAMPING        SO_TIMESTAMPIN    
181                                                   
182 #endif                                            
183                                                   
184 #endif /* _UAPI_ASM_SOCKET_H */                   
185                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php