Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_var.h
Context not available. | |||||
int (*tfb_tcp_handoff_ok)(struct tcpcb *); | int (*tfb_tcp_handoff_ok)(struct tcpcb *); | ||||
void (*tfb_tcp_mtu_chg)(struct tcpcb *); | void (*tfb_tcp_mtu_chg)(struct tcpcb *); | ||||
int (*tfb_pru_options)(struct tcpcb *, int); | int (*tfb_pru_options)(struct tcpcb *, int); | ||||
void (*tfb_hwtls_change)(struct tcpcb *, int); | |||||
volatile uint32_t tfb_refcnt; | volatile uint32_t tfb_refcnt; | ||||
uint32_t tfb_flags; | uint32_t tfb_flags; | ||||
uint8_t tfb_id; | uint8_t tfb_id; | ||||
Context not available. | |||||
} | } | ||||
static inline void | static inline void | ||||
tcp_account_for_send(struct tcpcb *tp, uint32_t len, uint8_t is_rxt, uint8_t is_tlp) | tcp_account_for_send(struct tcpcb *tp, uint32_t len, uint8_t is_rxt, | ||||
uint8_t is_tlp, int hw_tls __unused) | |||||
{ | { | ||||
if (is_tlp) { | if (is_tlp) { | ||||
tp->t_sndtlppack++; | tp->t_sndtlppack++; | ||||
Context not available. | |||||
tp->t_snd_rxt_bytes += len; | tp->t_snd_rxt_bytes += len; | ||||
else | else | ||||
tp->t_sndbytes += len; | tp->t_sndbytes += len; | ||||
} | } | ||||
#endif /* _KERNEL */ | #endif /* _KERNEL */ | ||||
#endif /* _NETINET_TCP_VAR_H_ */ | #endif /* _NETINET_TCP_VAR_H_ */ | ||||
Context not available. |