• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Generated by maint/gen_xlat_defs.sh -f 'u' -p 'SO_' -c 'asm-generic/socket.h' -a 'asm/socket.h' */
2
3SO_DEBUG	1
4
5#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
6SO_REUSEADDR	4
7#else
8SO_REUSEADDR	2
9#endif
10
11#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
12SO_TYPE	4104
13#else
14SO_TYPE	3
15#endif
16
17#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
18SO_ERROR	4103
19#else
20SO_ERROR	4
21#endif
22
23#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
24SO_DONTROUTE	16
25#else
26SO_DONTROUTE	5
27#endif
28
29#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
30SO_BROADCAST	32
31#else
32SO_BROADCAST	6
33#endif
34
35#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
36SO_SNDBUF	4097
37#else
38SO_SNDBUF	7
39#endif
40
41#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
42SO_RCVBUF	4098
43#else
44SO_RCVBUF	8
45#endif
46
47#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
48SO_KEEPALIVE	8
49#else
50SO_KEEPALIVE	9
51#endif
52
53#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
54SO_OOBINLINE	256
55#else
56SO_OOBINLINE	10
57#endif
58
59#if defined __hppa__
60SO_NO_CHECK	16395
61#else
62SO_NO_CHECK	11
63#endif
64
65#if defined __hppa__
66SO_PRIORITY	16396
67#else
68SO_PRIORITY	12
69#endif
70
71#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
72SO_LINGER	128
73#else
74SO_LINGER	13
75#endif
76
77#if defined __sparc__
78SO_BSDCOMPAT	1024
79#elif defined __hppa__
80SO_BSDCOMPAT	16398
81#else
82SO_BSDCOMPAT	14
83#endif
84
85#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
86SO_REUSEPORT	512
87#else
88SO_REUSEPORT	15
89#endif
90
91#if defined __sparc__
92SO_PASSCRED	2
93#elif defined __alpha__ || defined __mips__
94SO_PASSCRED	17
95#elif defined __powerpc__
96SO_PASSCRED	20
97#elif defined __hppa__
98SO_PASSCRED	16400
99#else
100SO_PASSCRED	16
101#endif
102
103#if defined __alpha__ || defined __mips__
104SO_PEERCRED	18
105#elif defined __powerpc__
106SO_PEERCRED	21
107#elif defined __sparc__
108SO_PEERCRED	64
109#elif defined __hppa__
110SO_PEERCRED	16401
111#else
112SO_PEERCRED	17
113#endif
114
115#if defined __powerpc__
116SO_RCVLOWAT	16
117#elif defined __sparc__
118SO_RCVLOWAT	2048
119#elif defined __hppa__ || defined __mips__
120SO_RCVLOWAT	4100
121#elif defined __alpha__
122SO_RCVLOWAT	4112
123#else
124SO_RCVLOWAT	18
125#endif
126
127#if defined __powerpc__
128SO_SNDLOWAT	17
129#elif defined __sparc__
130SO_SNDLOWAT	4096
131#elif defined __hppa__ || defined __mips__
132SO_SNDLOWAT	4099
133#elif defined __alpha__
134SO_SNDLOWAT	4113
135#else
136SO_SNDLOWAT	19
137#endif
138
139#if defined __powerpc__
140SO_RCVTIMEO	18
141#elif defined __hppa__ || defined __mips__
142SO_RCVTIMEO	4102
143#elif defined __alpha__
144SO_RCVTIMEO	4114
145#elif defined __sparc__
146SO_RCVTIMEO	8192
147#else
148SO_RCVTIMEO	20
149#endif
150
151#if defined __powerpc__
152SO_SNDTIMEO	19
153#elif defined __hppa__ || defined __mips__
154SO_SNDTIMEO	4101
155#elif defined __alpha__
156SO_SNDTIMEO	4115
157#elif defined __sparc__
158SO_SNDTIMEO	16384
159#else
160SO_SNDTIMEO	21
161#endif
162
163#if defined __alpha__
164SO_SECURITY_AUTHENTICATION	19
165#elif defined __hppa__
166SO_SECURITY_AUTHENTICATION	16406
167#elif defined __sparc__
168SO_SECURITY_AUTHENTICATION	20481
169#else
170SO_SECURITY_AUTHENTICATION	22
171#endif
172
173#if defined __alpha__
174SO_SECURITY_ENCRYPTION_TRANSPORT	20
175#elif defined __hppa__
176SO_SECURITY_ENCRYPTION_TRANSPORT	16407
177#elif defined __sparc__
178SO_SECURITY_ENCRYPTION_TRANSPORT	20482
179#else
180SO_SECURITY_ENCRYPTION_TRANSPORT	23
181#endif
182
183#if defined __alpha__
184SO_SECURITY_ENCRYPTION_NETWORK	21
185#elif defined __hppa__
186SO_SECURITY_ENCRYPTION_NETWORK	16408
187#elif defined __sparc__
188SO_SECURITY_ENCRYPTION_NETWORK	20484
189#else
190SO_SECURITY_ENCRYPTION_NETWORK	24
191#endif
192
193#if defined __sparc__
194SO_BINDTODEVICE	13
195#elif defined __hppa__
196SO_BINDTODEVICE	16409
197#else
198SO_BINDTODEVICE	25
199#endif
200
201#if defined __hppa__
202SO_DETACH_FILTER	16411
203#else
204SO_DETACH_FILTER	27
205#endif
206
207#if defined __hppa__
208SO_PEERNAME	8192
209#else
210SO_PEERNAME	28
211#endif
212
213#if defined __hppa__
214SO_TIMESTAMP	16402
215#else
216SO_TIMESTAMP	29
217#endif
218
219#if defined __mips__
220SO_ACCEPTCONN	4105
221#elif defined __alpha__
222SO_ACCEPTCONN	4116
223#elif defined __hppa__
224SO_ACCEPTCONN	16412
225#elif defined __sparc__
226SO_ACCEPTCONN	32768
227#else
228SO_ACCEPTCONN	30
229#endif
230
231#if defined __alpha__ || defined __mips__ || defined __sparc__
232SO_PEERSEC	30
233#elif defined __hppa__
234SO_PEERSEC	16413
235#else
236SO_PEERSEC	31
237#endif
238
239#if defined __mips__
240SO_SNDBUFFORCE	31
241#elif defined __alpha__ || defined __hppa__ || defined __sparc__
242SO_SNDBUFFORCE	4106
243#else
244SO_SNDBUFFORCE	32
245#endif
246
247#if defined __alpha__ || defined __hppa__ || defined __sparc__
248SO_RCVBUFFORCE	4107
249#else
250SO_RCVBUFFORCE	33
251#endif
252
253#if defined __sparc__
254SO_PASSSEC	31
255#elif defined __hppa__
256SO_PASSSEC	16414
257#else
258SO_PASSSEC	34
259#endif
260
261#if defined __sparc__
262SO_TIMESTAMPNS	33
263#elif defined __hppa__
264SO_TIMESTAMPNS	16403
265#else
266SO_TIMESTAMPNS	35
267#endif
268
269#if defined __sparc__
270SO_MARK	34
271#elif defined __hppa__
272SO_MARK	16415
273#else
274SO_MARK	36
275#endif
276
277#if defined __sparc__
278SO_TIMESTAMPING	35
279#elif defined __hppa__
280SO_TIMESTAMPING	16416
281#else
282SO_TIMESTAMPING	37
283#endif
284
285#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
286SO_PROTOCOL	4136
287#else
288SO_PROTOCOL	38
289#endif
290
291#if defined __alpha__ || defined __hppa__ || defined __mips__ || defined __sparc__
292SO_DOMAIN	4137
293#else
294SO_DOMAIN	39
295#endif
296
297#if defined __sparc__
298SO_RXQ_OVFL	36
299#elif defined __hppa__
300SO_RXQ_OVFL	16417
301#else
302SO_RXQ_OVFL	40
303#endif
304
305#if defined __sparc__
306SO_WIFI_STATUS	37
307#elif defined __hppa__
308SO_WIFI_STATUS	16418
309#else
310SO_WIFI_STATUS	41
311#endif
312
313#if defined __sparc__
314SO_PEEK_OFF	38
315#elif defined __hppa__
316SO_PEEK_OFF	16419
317#else
318SO_PEEK_OFF	42
319#endif
320
321#if defined __sparc__
322SO_NOFCS	39
323#elif defined __hppa__
324SO_NOFCS	16420
325#else
326SO_NOFCS	43
327#endif
328
329#if defined __sparc__
330SO_LOCK_FILTER	40
331#elif defined __hppa__
332SO_LOCK_FILTER	16421
333#else
334SO_LOCK_FILTER	44
335#endif
336
337#if defined __sparc__
338SO_SELECT_ERR_QUEUE	41
339#elif defined __hppa__
340SO_SELECT_ERR_QUEUE	16422
341#else
342SO_SELECT_ERR_QUEUE	45
343#endif
344
345#if defined __sparc__
346SO_BUSY_POLL	48
347#elif defined __hppa__
348SO_BUSY_POLL	16423
349#else
350SO_BUSY_POLL	46
351#endif
352
353#if defined __sparc__
354SO_MAX_PACING_RATE	49
355#elif defined __hppa__
356SO_MAX_PACING_RATE	16424
357#else
358SO_MAX_PACING_RATE	47
359#endif
360
361#if defined __sparc__
362SO_BPF_EXTENSIONS	50
363#elif defined __hppa__
364SO_BPF_EXTENSIONS	16425
365#else
366SO_BPF_EXTENSIONS	48
367#endif
368
369#if defined __sparc__
370SO_INCOMING_CPU	51
371#elif defined __hppa__
372SO_INCOMING_CPU	16426
373#else
374SO_INCOMING_CPU	49
375#endif
376
377#if defined __sparc__
378SO_ATTACH_BPF	52
379#elif defined __hppa__
380SO_ATTACH_BPF	16427
381#else
382SO_ATTACH_BPF	50
383#endif
384
385#if defined __sparc__
386SO_ATTACH_REUSEPORT_CBPF	53
387#elif defined __hppa__
388SO_ATTACH_REUSEPORT_CBPF	16428
389#else
390SO_ATTACH_REUSEPORT_CBPF	51
391#endif
392
393#if defined __sparc__
394SO_ATTACH_REUSEPORT_EBPF	54
395#elif defined __hppa__
396SO_ATTACH_REUSEPORT_EBPF	16429
397#else
398SO_ATTACH_REUSEPORT_EBPF	52
399#endif
400
401#if defined __sparc__
402SO_CNX_ADVICE	55
403#elif defined __hppa__
404SO_CNX_ADVICE	16430
405#else
406SO_CNX_ADVICE	53
407#endif
408
409#if defined __sparc__
410SO_MEMINFO	57
411#elif defined __hppa__
412SO_MEMINFO	16432
413#else
414SO_MEMINFO	55
415#endif
416
417#if defined __sparc__
418SO_INCOMING_NAPI_ID	58
419#elif defined __hppa__
420SO_INCOMING_NAPI_ID	16433
421#else
422SO_INCOMING_NAPI_ID	56
423#endif
424
425#if defined __sparc__
426SO_COOKIE	59
427#elif defined __hppa__
428SO_COOKIE	16434
429#else
430SO_COOKIE	57
431#endif
432
433#if defined __sparc__
434SO_PEERGROUPS	61
435#elif defined __hppa__
436SO_PEERGROUPS	16436
437#else
438SO_PEERGROUPS	59
439#endif
440
441#if defined __sparc__
442SO_ZEROCOPY	62
443#elif defined __hppa__
444SO_ZEROCOPY	16437
445#else
446SO_ZEROCOPY	60
447#endif
448
449#if defined __sparc__
450SO_TXTIME	63
451#elif defined __hppa__
452SO_TXTIME	16438
453#else
454SO_TXTIME	61
455#endif
456