Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_var.h
Show First 20 Lines • Show All 534 Lines • ▼ Show 20 Lines | |||||
* are somewhat ok, but in the long term may | * are somewhat ok, but in the long term may | ||||
* need to be changed. If we do tackle tcp_input() | * need to be changed. If we do tackle tcp_input() | ||||
* then we need to get rid of the tcp_do_segment() | * then we need to get rid of the tcp_do_segment() | ||||
* function below. | * function below. | ||||
*/ | */ | ||||
/* Flags for tcp functions */ | /* Flags for tcp functions */ | ||||
#define TCP_FUNC_BEING_REMOVED 0x01 /* Can no longer be referenced */ | #define TCP_FUNC_BEING_REMOVED 0x01 /* Can no longer be referenced */ | ||||
#define TCP_FUNC_OUTPUT_CANDROP 0x02 /* tfb_tcp_output may ask tcp_drop */ | #define TCP_FUNC_OUTPUT_CANDROP 0x02 /* tfb_tcp_output may ask tcp_drop */ | ||||
#define TCP_FUNC_DEFAULT_OK 0x04 /* Can be used as default */ | |||||
/** | /** | ||||
* Adding a tfb_tcp_handoff_ok function allows the socket | * Adding a tfb_tcp_handoff_ok function allows the socket | ||||
* option to change stacks to query you even if the | * option to change stacks to query you even if the | ||||
* connection is in a later stage. You return 0 to | * connection is in a later stage. You return 0 to | ||||
* say you can take over and run your stack, you return | * say you can take over and run your stack, you return | ||||
* non-zero (an error number) to say no you can't. | * non-zero (an error number) to say no you can't. | ||||
* If the function is undefined you can only change | * If the function is undefined you can only change | ||||
▲ Show 20 Lines • Show All 1,029 Lines • Show Last 20 Lines |