HomeFreeBSD

Some cleanups and janitorial work to tcp_syncache:
rS159950Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Some cleanups and janitorial work to tcp_syncache:

o don't assign remote/local host/port information manually between provided

struct in_conninfo and struct syncache, bcopy() it instead

o rename sc_tsrecent to sc_tsreflect in struct syncache to better capture

the purpose of this field

o rename sc_request_r_scale to sc_requested_r_scale for ditto reasons
o fix IPSEC error case printf's to report correct function name
o in syncache_socket() only transpose enhanced tcp options parameters to

struct tcpcb when the inpcb doesn't has TF_NOOPT set

o in syncache_respond() reorder stack variables
o in syncache_respond() remove bogus KASSERT()

No functional changes.

Sponsored by: TCP/IP Optimization Fundraise 2005

Details

Provenance
andreAuthored on
Parents
rS159949: Some cleanups and janitorial work to tcp_dooptions():
Branches
Unknown
Tags
Unknown

Event Timeline