summaryrefslogtreecommitdiffstats
path: root/share/man/man9/mbuf.9
Commit message (Collapse)AuthorAgeFilesLines
* Replaced the misleading uses of a historical artefact M_TRYWAIT with M_WAIT.ru2008-03-251-14/+4
| | | | | | | | | | Removed dead code that assumed that M_TRYWAIT can return NULL; it's not true since the advent of MBUMA. Reviewed by: arch There are ongoing disputes as to whether we want to switch to directly using UMA flags M_WAITOK/M_NOWAIT for mbuf(9) allocation.
* Give MEXTADD() another argument to make both void pointers to thephk2008-02-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | free function controlable, instead of passing the KVA of the buffer storage as the first argument. Fix all conventional users of the API to pass the KVA of the buffer as the first argument, to make this a no-op commit. Likely break the only non-convetional user of the API, after informing the relevant committer. Update the mbuf(9) manual page, which was already out of sync on this point. Bump __FreeBSD_version to 800016 as there is no way to tell how many arguments a CPP macro needs any other way. This paves the way for giving sendfile(9) a way to wait for the passed storage to have been accessed before returning. This does not affect the memory layout or size of mbufs. Parental oversight by: sam and rwatson. No MFC is anticipated.
* Document m_pulldown().bms2007-02-261-1/+39
| | | | Obtained from: MBUF issues in 4.4BSD IPv6/IPsec support (itojun)
* Expand history and authors section of mbuf.9 man page to discuss recentrwatson2007-02-151-0/+28
| | | | | | transition to mbuma (FreeBSD 5.3) and the fact that mbufs are now limited almost entirely to packet storage, with straight UMA zones being used for most other network data types.
* Explicitly emphasize a facet of m_pullup() that some people seem tojulian2006-12-081-0/+4
| | | | | frequently forget. i.e. that you can not keep using pointers to within the old chain.
* o GC MT_FTABLE removed in rev. 1.192 mbuf.h.maxim2006-07-241-3/+2
| | | | o Correct MT_HEADER define.
* promote fast ipsec's m_clone routine for public use; it is renamedsam2006-03-151-1/+23
| | | | | | | m_unshare and the caller can now control how mbufs are allocated Reviewed by: andre, luigi, mlaier MFC after: 1 week
* Remove references to MEXT_ADD_REF, MEXT_REM_REF and MEXT_IS_REFandre2005-11-181-17/+1
| | | | | | which were removed with rev. 1.179 of mbuf.h. Sponsored by: TCP/IP Optimization Fundraise 2005
* describe m_alignsam2005-08-081-1/+7
|
* Use 'manual page' instead of 'man page' for consistency.hmp2005-06-281-1/+1
| | | | Approved by: re (hrs)
* Assorted markup fixes and minor wordsmithing.ru2005-06-151-1/+1
| | | | Approved by: re
* add m_copyup function.. This can be used to help make our ip stack lessjmg2005-03-171-0/+29
| | | | | | | | | | alignment restrictive, and help performance on some ethernet cards which currently copy the entire packet a couple bytes to get the packet aligned properly... Wordsmithing by: dwhite Obtained from: NetBSD (code only) I'll clean it up later: rwatson
* Expand contractions.ru2005-02-131-2/+2
|
* Expand *n't contractions.ru2005-02-131-4/+4
|
* document m_appendsam2004-12-081-0/+12
|
* document that m_free returns m_next of the free'd mbufjmg2004-08-281-1/+5
|
* MT_TAG is dead.maxim2004-07-071-1/+0
|
* Mechanically kill hard sentence breaks and double whitespaces.ru2004-07-031-1/+1
|
* Forgot to bump the document date, *blush*.ru2004-05-201-1/+1
|
* Document mbuf tags based on the OpenBSD manpage.ru2004-05-201-1/+7
| | | | Submitted by: Gleb Smirnoff
* o Document m_getcl(9).maxim2004-05-041-0/+17
| | | | | Submitted by: Gleb Smirnoff MFC after: 2 weeks
* o Add a missed description for m_free(9).maxim2004-04-281-0/+3
| | | | | Optained from: NetBSD MFC after: 1 week
* Assorted mdoc(7) fixes.ru2004-04-011-8/+11
|
* Fix last commit to conform to mdoc style.silby2004-04-011-4/+6
| | | | Submitted by: hmp
* Document the m_defrag function. (Mostly copied from the descriptionsilby2004-04-011-0/+18
| | | | in uipc_mbuf.c)
* mtod() returns pointer to the specified type, not necessarily "void *".ru2004-02-271-1/+0
|
* Document the functions m_apply() and m_getptr().bms2004-02-111-0/+42
| | | | Requested by: Maxim Konovalov
* Fix MSIZE definition location.ale2004-02-011-2/+2
| | | | | | | PR: docs/62129 Submitted by: Lee Brotherston <lee@nerds.org.uk> (PR), Marc Silver <marcs@draenor.org> (patch) Approved by: blackend (mentor)
* As I've been pointed out by Andrew Gallatin, there are someyar2004-01-211-4/+12
| | | | | | network interface cards smart (or twisted?) enough to be able to calculate a TCP/UDP checksum for a packet fragmented by the host CPU. Therefore the paragraph on the case has been revised.
* A couple of minor clarifications.yar2004-01-211-4/+4
|
* Add a description for the hardware-assisted checksummingyar2004-01-211-0/+166
| | | | | facilities based on http://people.freebsd.org/~jlemon/csum.txt and my own observations.
* Reformat the list of essential mbuf fields accordingyar2004-01-181-10/+17
| | | | | | | to the nice style used in ifnet(9). This includes specifying field types, starting descriptions with a capital letter, and ending them with a full stop. Improve the language a bit, as well.
* Update the list of mbuf types from <sys/mbuf.h>.yar2004-01-181-1/+1
|
* Update the list of possible mbuf flags from <sys/mbuf.h>.yar2004-01-181-1/+3
|
* Remove an extra 'for' in the HISTORY section.trhodes2003-11-151-1/+1
|
* mdoc(7): Properly mark C headers.ru2003-09-101-1/+1
|
* Name a function argument "mbuf", not "buf", if it isyar2003-06-151-2/+2
| | | | a pointer to struct mbuf for clarity and consistency.
* Add missing descriptions of macros M_ALIGN and MH_ALIGN.yar2003-06-151-1/+89
| | | | | | Remove a reference to the defunct macro M_COPY_PKTHDR; document the new functions m_dup_pkthdr() and m_move_pkthdr(), and the macro variant of the latter, M_MOVE_PKTHDR().
* Add more markup to the mbuf(9) manpage. This includes:yar2003-06-151-92/+239
| | | | | | | | | | | | | - tagging plaintext "mbuf", "mbuf cluster", and "mbuf chain" with .Vt (variable type) since all of them are ways of managing data, i.e., they can be seen as data types; - using .Vt/.Va instead of .Li (literal) where appropriate; - tagging plaintext words that actually refer to function arguments with .Fa. Suggested by: ru
* Use .Va, not .Fa, to refer to structure members.yar2003-06-151-8/+8
| | | | | | | mdoc(7) contains an ambiguous statement on the issue, but our mdoc(7) police's opinion is solid. Suggested by: ru
* Assorted mdoc(7), grammar, spelling, and punctuation fixes.ru2003-05-211-11/+21
| | | | Approved by: re (blanket)
* Remove an extraneous `.El' that was reported by `groff -z`.hmp2003-05-161-1/+0
| | | | Approved by: des (mentor), re (scottl)
* Add a description of m_defragrandomfailures.silby2003-04-151-0/+4
|
* Add info on how to use the MBUF_STRESS_TEST options. (Only 1 optionsilby2003-04-131-0/+11
| | | | at present.)
* Return bits which were removed in revision 1.22.trhodes2003-02-241-3/+11
| | | | Requested by: imp
* Catch up to WAIT/NOWAIT cleanup.alfred2003-01-211-11/+3
|
* Caution programmers not to confuse M_DONTWAIT with M_NOWAIT. Theyrwatson2003-01-181-0/+8
| | | | | | are not the same. Suggested by: Hiten Pandya <hiten@unixdaemons.com>
* mdoc(7) police: catch up to the code changes.ru2002-11-291-2/+2
| | | | Approved by: re
* Add m_fixhdr() and m_length().phk2002-09-181-0/+10
|
* Update function definitions and required include files to reflectdavidc2001-12-261-1/+7
| | | | | | the current state of the system. Approved by: alfred
OpenPOWER on IntegriCloud