Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_output.c
Context not available. | |||||
#include <netinet/tcp.h> | #include <netinet/tcp.h> | ||||
#define TCPOUTFLAGS | #define TCPOUTFLAGS | ||||
#include <netinet/tcp_fsm.h> | #include <netinet/tcp_fsm.h> | ||||
#include <netinet/tcp_log_buf.h> | |||||
#include <netinet/tcp_seq.h> | #include <netinet/tcp_seq.h> | ||||
#include <netinet/tcp_timer.h> | #include <netinet/tcp_timer.h> | ||||
#include <netinet/tcp_var.h> | #include <netinet/tcp_var.h> | ||||
Context not available. | |||||
} | } | ||||
#endif | #endif | ||||
/* We're getting ready to send; log now. */ | |||||
TCP_LOG_EVENT(tp, th, &so->so_rcv, &so->so_snd, TCP_LOG_OUT, ERRNO_UNK, | |||||
len, NULL, false); | |||||
/* | /* | ||||
* Enable TSO and specify the size of the segments. | * Enable TSO and specify the size of the segments. | ||||
* The TCP pseudo header checksum is always provided. | * The TCP pseudo header checksum is always provided. | ||||
Context not available. | |||||
} | } | ||||
if (error) { | if (error) { | ||||
/* Record the error. */ | |||||
TCP_LOG_EVENT(tp, NULL, &so->so_rcv, &so->so_snd, TCP_LOG_OUT, | |||||
error, 0, NULL, false); | |||||
/* | /* | ||||
* We know that the packet was lost, so back out the | * We know that the packet was lost, so back out the | ||||
Context not available. |