> > > Am I allowed to call IP_CSUM from inet/ip.h? > > > > Generally speaking: if it's not in the DDI, it's not safe to use it. That > > said, we are always open to requests to add useful interfaces to the DDI. > > If I'm going to request something, it should probably be a bit > more complete. Both linux and MacOSX have functions which a driver > can call in this situation. MacOSX calls it mbuf_outbound_finalize(), > and it is documented here: > > http://developer.apple.com/documentation/Darwin/Reference/KPI_Reference/kpi_mbuf/CompositePage.html#//apple_ref/c/func/mbuf_outbound_finalize
It seems that all that does today is checksums, but that they *may* throw a bunch of other stuff in there in the future. I'm not sure I like the idea of defining that nebulous a function. In any case, it seems like this would be worthwhile to work through with Nicolas Droux and the Nemo team. -- meem _______________________________________________ networking-discuss mailing list [email protected]
