root/include/asm-sparc/socket.h

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

INCLUDED FROM


   1 /* $Id: socket.h,v 1.5 1995/11/26 01:32:36 davem Exp $ */
   2 #ifndef _ASM_SOCKET_H
   3 #define _ASM_SOCKET_H
   4 
   5 /* Socket-level I/O control calls. */
   6 #define FIOSETOWN       0x8901
   7 #define SIOCSPGRP       0x8902
   8 #define FIOGETOWN       0x8903
   9 #define SIOCGPGRP       0x8904
  10 #define SIOCATMARK      0x8905
  11 #define SIOCGSTAMP      0x8906          /* Get stamp */
  12 
  13 /* For setsockoptions(2) */
  14 #define SOL_SOCKET      0xffff
  15 
  16 #define SO_DEBUG        0x0001
  17 #define SO_REUSEADDR    0x0004
  18 #define SO_KEEPALIVE    0x0008
  19 #define SO_DONTROUTE    0x0010
  20 #define SO_BROADCAST    0x0020
  21 #define SO_LINGER       0x0080
  22 #define SO_OOBINLINE    0x0100
  23 /* To add :#define SO_REUSEPORT 0x0200 */
  24 #define SO_BSDCOMPAT    0x0400
  25 
  26 /* wha!??? */
  27 #define SO_DONTLINGER   (~SO_LINGER)  /* Older SunOS compat. hack */
  28 
  29 #define SO_SNDBUF       0x1001
  30 #define SO_RCVBUF       0x1002
  31 #define SO_ERROR        0x1007
  32 #define SO_TYPE         0x1008
  33 
  34 /* Linux specific, keep the same. */
  35 #define SO_NO_CHECK     0x000b
  36 #define SO_PRIORITY     0x000c
  37 
  38 #endif /* _ASM_SOCKET_H */

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