alfred
bf8e8a6e8f
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
...
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
2003-01-21 08:56:16 +00:00
robert
efdf333c00
Remove the hto(be|le)[slq] and (be|le)toh[slq] macros defined in
...
_KERNEL scope from "src/sys/sys/mchain.h".
Replace each occurrence of the above in _KERNEL scope with the
appropriate macro from the set of hto(be|le)(16|32|64) and
(be|le)toh(16|32|64) from "src/sys/sys/endian.h".
Tested by: tjr
Requested by: comment marked with XXX
2002-12-16 16:20:06 +00:00
jhb
1cc1792ab5
Don't dereference the 'x' pointer if it is NULL, instead skip the
...
assignment. The netsmb code likes to call these functions with a NULL
x argument a lot.
Reported by: Vallo Kallaste <kalts@estpak.ee>
2002-10-22 18:44:59 +00:00
mike
8630abe45f
Change iov_base's type from char *' to the standard
void *'. All
...
uses of iov_base which assume its type is `char *' (in order to do
pointer arithmetic) have been updated to cast iov_base to `char *'.
2002-10-11 14:58:34 +00:00
phk
22fe384f6f
Move m_fixhdr() from "mbchain" to "mbuf" where it belongs.
2002-09-18 13:41:37 +00:00
markm
6e3c874bfd
Convert GNU-styled variadic macros to ISO(9x) style.
2002-07-15 13:15:31 +00:00
mike
99e543a853
Move the new byte order function prototypes from <sys/param.h> to
...
<sys/endian.h>. This puts us in line with NetBSD and OpenBSD.
2002-04-26 22:48:23 +00:00
bp
72144faea4
Add support for iovcnt greater than 1. This should resolve problems
...
with some applications.
Obtained from: Darwin project
MFC after: 2 weeks
2002-02-21 16:23:38 +00:00
obrien
330a1032c1
Update to C99, s/__FUNCTION__/__func__/.
2001-12-10 05:51:45 +00:00
bmilekic
15e4113c54
Remove superfluous m_pkthdr.rcv_if = NULL assignment following
...
m_gethdr() mbuf allocation, which already does this for us.
2001-02-25 06:33:50 +00:00
bp
1bdf6a6d14
Introduce API for sequential reads/writes (build/dissect) of mbuf chains.
...
Reviewed by: Ian Dowse <iedowse@maths.tcd.ie>,
Bosko Milekic <bmilekic@technokratis.com>,
Julian Elischer <julian@elischer.org> and arch@/net@
Obtained from: smbfs
2001-02-24 15:44:30 +00:00