Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_syncache.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | u_int8_t sc_requested_s_scale:4, | ||||
sc_requested_r_scale:4; | sc_requested_r_scale:4; | ||||
u_int16_t sc_flags; | u_int16_t sc_flags; | ||||
#if defined(TCP_OFFLOAD) || !defined(TCP_OFFLOAD_DISABLE) | #if defined(TCP_OFFLOAD) || !defined(TCP_OFFLOAD_DISABLE) | ||||
struct toedev *sc_tod; /* entry added by this TOE */ | struct toedev *sc_tod; /* entry added by this TOE */ | ||||
void *sc_todctx; /* TOE driver context */ | void *sc_todctx; /* TOE driver context */ | ||||
#endif | #endif | ||||
struct label *sc_label; /* MAC label reference */ | struct label *sc_label; /* MAC label reference */ | ||||
struct ucred *sc_cred; /* cred cache for jail checks */ | struct ucred *sc_cred; /* cred cache for jail checks */ | ||||
#ifdef TCP_RFC7413 | |||||
void *sc_tfo_cookie; /* for TCP Fast Open response */ | void *sc_tfo_cookie; /* for TCP Fast Open response */ | ||||
#endif | |||||
void *sc_pspare; /* TCP_SIGNATURE */ | void *sc_pspare; /* TCP_SIGNATURE */ | ||||
u_int32_t sc_spare[2]; /* UTO */ | u_int32_t sc_spare[2]; /* UTO */ | ||||
}; | }; | ||||
/* | /* | ||||
* Flags for the sc_flags field. | * Flags for the sc_flags field. | ||||
*/ | */ | ||||
#define SCF_NOOPT 0x01 /* no TCP options */ | #define SCF_NOOPT 0x01 /* no TCP options */ | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |