Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/socket.h
Show First 20 Lines • Show All 166 Lines • ▼ Show 20 Lines | |||||
#define SO_LISTENINCQLEN 0x1013 /* socket's incomplete queue length */ | #define SO_LISTENINCQLEN 0x1013 /* socket's incomplete queue length */ | ||||
#define SO_SETFIB 0x1014 /* use this FIB to route */ | #define SO_SETFIB 0x1014 /* use this FIB to route */ | ||||
#define SO_USER_COOKIE 0x1015 /* user cookie (dummynet etc.) */ | #define SO_USER_COOKIE 0x1015 /* user cookie (dummynet etc.) */ | ||||
#define SO_PROTOCOL 0x1016 /* get socket protocol (Linux name) */ | #define SO_PROTOCOL 0x1016 /* get socket protocol (Linux name) */ | ||||
#define SO_PROTOTYPE SO_PROTOCOL /* alias for SO_PROTOCOL (SunOS name) */ | #define SO_PROTOTYPE SO_PROTOCOL /* alias for SO_PROTOCOL (SunOS name) */ | ||||
#define SO_TS_CLOCK 0x1017 /* clock type used for SO_TIMESTAMP */ | #define SO_TS_CLOCK 0x1017 /* clock type used for SO_TIMESTAMP */ | ||||
#define SO_MAX_PACING_RATE 0x1018 /* socket's max TX pacing rate (Linux name) */ | #define SO_MAX_PACING_RATE 0x1018 /* socket's max TX pacing rate (Linux name) */ | ||||
#define SO_DOMAIN 0x1019 /* get socket domain */ | #define SO_DOMAIN 0x1019 /* get socket domain */ | ||||
#define SO_RERROR 0x1020 /* keep track of receive errors */ | |||||
#endif | #endif | ||||
#if __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
#define SO_TS_REALTIME_MICRO 0 /* microsecond resolution, realtime */ | #define SO_TS_REALTIME_MICRO 0 /* microsecond resolution, realtime */ | ||||
#define SO_TS_BINTIME 1 /* sub-nanosecond resolution, realtime */ | #define SO_TS_BINTIME 1 /* sub-nanosecond resolution, realtime */ | ||||
#define SO_TS_REALTIME 2 /* nanosecond resolution, realtime */ | #define SO_TS_REALTIME 2 /* nanosecond resolution, realtime */ | ||||
#define SO_TS_MONOTONIC 3 /* nanosecond resolution, monotonic */ | #define SO_TS_MONOTONIC 3 /* nanosecond resolution, monotonic */ | ||||
#define SO_TS_DEFAULT SO_TS_REALTIME_MICRO | #define SO_TS_DEFAULT SO_TS_REALTIME_MICRO | ||||
▲ Show 20 Lines • Show All 551 Lines • Show Last 20 Lines |