root/include/asm-alpha/socket.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef _ASM_SOCKET_H
   2 #define _ASM_SOCKET_H
   3 
   4 #include <linux/types.h>
   5 #include <asm/ioctl.h>
   6 #include <asm/sockios.h>
   7 
   8 /* For setsockoptions(2) */
   9 /*
  10  * Note: we only bother about making the SOL_SOCKET options
  11  * same as OSF/1, as that's all that "normal" programs are
  12  * likely to set.  We don't necessarily want to be binary
  13  * compatible with _everything_. 
  14  */
  15 #define SOL_SOCKET      0xffff
  16 
  17 #define SO_DEBUG        0x0001
  18 #define SO_REUSEADDR    0x0004
  19 #define SO_KEEPALIVE    0x0008
  20 #define SO_DONTROUTE    0x0010
  21 #define SO_BROADCAST    0x0020
  22 #define SO_LINGER       0x0080
  23 #define SO_OOBINLINE    0x0100
  24 /* To add :#define SO_REUSEPORT 0x0200 */
  25 
  26 #define SO_TYPE         0x1008
  27 #define SO_ERROR        0x1007
  28 #define SO_SNDBUF       0x1001
  29 #define SO_RCVBUF       0x1002
  30 
  31 /* linux-specific, might as well be the same as on i386 */
  32 #define SO_NO_CHECK     11
  33 #define SO_PRIORITY     12
  34 #define SO_BSDCOMPAT    14
  35 
  36 #endif /* _ASM_SOCKET_H */

/* [previous][next][first][last][top][bottom][index][help] */