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 
   7 /* Socket-level I/O control calls. */
   8 #define FIOGETOWN       _IOR('f', 123, int)
   9 #define FIOSETOWN       _IOW('f', 124, int)
  10 
  11 #define SIOCATMARK      _IOR('s', 7, int)
  12 #define SIOCSPGRP       _IOW('s', 8, pid_t)
  13 #define SIOCGPGRP       _IOR('s', 9, pid_t)
  14 
  15 #define SIOCGSTAMP      0x8906                  /* Get stamp - linux-specific */
  16 
  17 /* For setsockoptions(2) */
  18 /*
  19  * Note: we only bother about making the SOL_SOCKET options
  20  * same as OSF/1, as that's all that "normal" programs are
  21  * likely to set.  We don't necessarily want to be binary
  22  * compatible with _everything_. 
  23  */
  24 #define SOL_SOCKET      0xffff
  25 
  26 #define SO_DEBUG        0x0001
  27 #define SO_REUSEADDR    0x0004
  28 #define SO_KEEPALIVE    0x0008
  29 #define SO_DONTROUTE    0x0010
  30 #define SO_BROADCAST    0x0020
  31 #define SO_LINGER       0x0080
  32 #define SO_OOBINLINE    0x0100
  33 /* To add :#define SO_REUSEPORT 0x0200 */
  34 
  35 #define SO_TYPE         0x1008
  36 #define SO_ERROR        0x1007
  37 #define SO_SNDBUF       0x1001
  38 #define SO_RCVBUF       0x1002
  39 
  40 /* linux-specific, might as well be the same as on i386 */
  41 #define SO_NO_CHECK     11
  42 #define SO_PRIORITY     12
  43 
  44 #endif /* _ASM_SOCKET_H */

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