Re: TCP_NOPUSH on FreeBSD, TCP_CORK on Linux (was: Is sendfile all that

From: Dan Kegel (dank@alumni.caltech.edu)
Date: Mon Feb 05 2001 - 18:24:09 EST


Alan Cox wrote:
>
> > How close is TCP_NOPUSH to behaving identically to TCP_CORK now?
> > If it does behave identically, it might be time to standardize
> > the symbolic name for this option, to make apps more portable
> > between the two OS's. (It'd be nice to also standardize the
> > numeric value, in the interest of making the ABI's more compatible, too.)
>
> That one isnt practical because of the way the implementations handle
> boolean options. BSD uses bitmask based option setting for the basic
> options and Linus uses switch statements

OK, well, at least a common symbolic name could be chosen.
- Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 07 2001 - 21:00:22 EST