summaryrefslogtreecommitdiff
path: root/pfinet/linux/socket.h
blob: 2fd6de007f63b6b29a8c765990475c7651924516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef _HACK_SOCKET_H_
#define _HACK_SOCKET_H_

#include <sys/socket.h>
#include <sys/ioctl.h>

#define IP_MAX_MEMBERSHIPS 10

#define IPTOS_LOWDELAY 0x10
#define IPTOS_THROUGHPUT 0x08
#define IPTOS_RELIABILITY 0x04

#define SOPRI_INTERACTIVE 0
#define SOPRI_NORMAL 1
#define SOPRI_BACKGROUND 2

#define SOL_IP 0 /* XXX */

#define SO_NO_CHECK 11
#define SO_PRIORITY 12

#endif