Date: Sun, 26 Mar 2006 11:30:31 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.h Message-ID: <200603261130.k2QBUW7q092533@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2006-03-26 11:30:31 UTC
FreeBSD src repository
Modified files:
sys/netinet in_pcb.h
Log:
Define two new inpcb flags in the inp_vflag field, which for whatever
reason, seems to be where new flags are getting defined:
INP_DROPPED - The protocol has terminated this connection and the socket
is not reusable: when the socket code enters the protocol,
an error is immediately returned. This will substitute for
NULLing the so_pcb socket field, helping to implement the
invariant that all valid sockets have valid pcb's in TCP.
INP_SOCKREF - The protocol has become the owner of the socket reference,
and will need to free it when freeing the pcb, which will
be used when a TCP socket is closed but still has queued
data.
MFC after: 1 month
Revision Changes Path
1.85 +2 -0 src/sys/netinet/in_pcb.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603261130.k2QBUW7q092533>
