Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
socket.h File Reference
#include <asm/sockios.h>

Go to the source code of this file.

Macros

#define SOL_SOCKET   0xffff
 
#define SO_DEBUG   0x0001 /* Record debugging information. */
 
#define SO_REUSEADDR   0x0004 /* Allow reuse of local addresses. */
 
#define SO_KEEPALIVE
 
#define SO_DONTROUTE   0x0010 /* Don't do local routing. */
 
#define SO_BROADCAST
 
#define SO_LINGER
 
#define SO_OOBINLINE   0x0100 /* Receive out-of-band data in-band. */
 
#define SO_TYPE   0x1008 /* Compatible name for SO_STYLE. */
 
#define SO_STYLE   SO_TYPE /* Synonym */
 
#define SO_ERROR   0x1007 /* get error status and clear */
 
#define SO_SNDBUF   0x1001 /* Send buffer size. */
 
#define SO_RCVBUF   0x1002 /* Receive buffer. */
 
#define SO_SNDLOWAT   0x1003 /* send low-water mark */
 
#define SO_RCVLOWAT   0x1004 /* receive low-water mark */
 
#define SO_SNDTIMEO   0x1005 /* send timeout */
 
#define SO_RCVTIMEO   0x1006 /* receive timeout */
 
#define SO_ACCEPTCONN   0x1009
 
#define SO_PROTOCOL   0x1028 /* protocol type */
 
#define SO_DOMAIN   0x1029 /* domain/socket family */
 
#define SO_NO_CHECK   11
 
#define SO_PRIORITY   12
 
#define SO_BSDCOMPAT   14
 
#define SO_PASSCRED   17
 
#define SO_PEERCRED   18
 
#define SO_SECURITY_AUTHENTICATION   22
 
#define SO_SECURITY_ENCRYPTION_TRANSPORT   23
 
#define SO_SECURITY_ENCRYPTION_NETWORK   24
 
#define SO_BINDTODEVICE   25
 
#define SO_ATTACH_FILTER   26
 
#define SO_DETACH_FILTER   27
 
#define SO_PEERNAME   28
 
#define SO_TIMESTAMP   29
 
#define SCM_TIMESTAMP   SO_TIMESTAMP
 
#define SO_PEERSEC   30
 
#define SO_SNDBUFFORCE   31
 
#define SO_RCVBUFFORCE   33
 
#define SO_PASSSEC   34
 
#define SO_TIMESTAMPNS   35
 
#define SCM_TIMESTAMPNS   SO_TIMESTAMPNS
 
#define SO_MARK   36
 
#define SO_TIMESTAMPING   37
 
#define SCM_TIMESTAMPING   SO_TIMESTAMPING
 
#define SO_RXQ_OVFL   40
 
#define SO_WIFI_STATUS   41
 
#define SCM_WIFI_STATUS   SO_WIFI_STATUS
 
#define SO_PEEK_OFF   42
 
#define SO_NOFCS   43
 

Macro Definition Documentation

#define SCM_TIMESTAMP   SO_TIMESTAMP

Definition at line 66 of file socket.h.

#define SCM_TIMESTAMPING   SO_TIMESTAMPING

Definition at line 78 of file socket.h.

#define SCM_TIMESTAMPNS   SO_TIMESTAMPNS

Definition at line 73 of file socket.h.

#define SCM_WIFI_STATUS   SO_WIFI_STATUS

Definition at line 83 of file socket.h.

#define SO_ACCEPTCONN   0x1009

Definition at line 41 of file socket.h.

#define SO_ATTACH_FILTER   26

Definition at line 61 of file socket.h.

#define SO_BINDTODEVICE   25

Definition at line 58 of file socket.h.

#define SO_BROADCAST
Value:
0x0020 /* Allow transmission of
broadcast messages. */

Definition at line 25 of file socket.h.

#define SO_BSDCOMPAT   14

Definition at line 48 of file socket.h.

#define SO_DEBUG   0x0001 /* Record debugging information. */

Definition at line 21 of file socket.h.

#define SO_DETACH_FILTER   27

Definition at line 62 of file socket.h.

#define SO_DOMAIN   0x1029 /* domain/socket family */

Definition at line 43 of file socket.h.

#define SO_DONTROUTE   0x0010 /* Don't do local routing. */

Definition at line 24 of file socket.h.

#define SO_ERROR   0x1007 /* get error status and clear */

Definition at line 34 of file socket.h.

#define SO_KEEPALIVE
Value:
0x0008 /* Keep connections alive and send
SIGPIPE when they die. */

Definition at line 23 of file socket.h.

#define SO_LINGER
Value:
0x0080 /* Block on close of a reliable
socket to transmit pending data. */

Definition at line 26 of file socket.h.

#define SO_MARK   36

Definition at line 75 of file socket.h.

#define SO_NO_CHECK   11

Definition at line 46 of file socket.h.

#define SO_NOFCS   43

Definition at line 87 of file socket.h.

#define SO_OOBINLINE   0x0100 /* Receive out-of-band data in-band. */

Definition at line 27 of file socket.h.

#define SO_PASSCRED   17

Definition at line 50 of file socket.h.

#define SO_PASSSEC   34

Definition at line 71 of file socket.h.

#define SO_PEEK_OFF   42

Definition at line 84 of file socket.h.

#define SO_PEERCRED   18

Definition at line 51 of file socket.h.

#define SO_PEERNAME   28

Definition at line 64 of file socket.h.

#define SO_PEERSEC   30

Definition at line 68 of file socket.h.

#define SO_PRIORITY   12

Definition at line 47 of file socket.h.

#define SO_PROTOCOL   0x1028 /* protocol type */

Definition at line 42 of file socket.h.

#define SO_RCVBUF   0x1002 /* Receive buffer. */

Definition at line 36 of file socket.h.

#define SO_RCVBUFFORCE   33

Definition at line 70 of file socket.h.

#define SO_RCVLOWAT   0x1004 /* receive low-water mark */

Definition at line 38 of file socket.h.

#define SO_RCVTIMEO   0x1006 /* receive timeout */

Definition at line 40 of file socket.h.

#define SO_REUSEADDR   0x0004 /* Allow reuse of local addresses. */

Definition at line 22 of file socket.h.

#define SO_RXQ_OVFL   40

Definition at line 80 of file socket.h.

#define SO_SECURITY_AUTHENTICATION   22

Definition at line 54 of file socket.h.

#define SO_SECURITY_ENCRYPTION_NETWORK   24

Definition at line 56 of file socket.h.

#define SO_SECURITY_ENCRYPTION_TRANSPORT   23

Definition at line 55 of file socket.h.

#define SO_SNDBUF   0x1001 /* Send buffer size. */

Definition at line 35 of file socket.h.

#define SO_SNDBUFFORCE   31

Definition at line 69 of file socket.h.

#define SO_SNDLOWAT   0x1003 /* send low-water mark */

Definition at line 37 of file socket.h.

#define SO_SNDTIMEO   0x1005 /* send timeout */

Definition at line 39 of file socket.h.

#define SO_STYLE   SO_TYPE /* Synonym */

Definition at line 33 of file socket.h.

#define SO_TIMESTAMP   29

Definition at line 65 of file socket.h.

#define SO_TIMESTAMPING   37

Definition at line 77 of file socket.h.

#define SO_TIMESTAMPNS   35

Definition at line 72 of file socket.h.

#define SO_TYPE   0x1008 /* Compatible name for SO_STYLE. */

Definition at line 32 of file socket.h.

#define SO_WIFI_STATUS   41

Definition at line 82 of file socket.h.

#define SOL_SOCKET   0xffff

Definition at line 19 of file socket.h.