summaryrefslogtreecommitdiff
path: root/share/man/man9/mbuf.9
AgeCommit message (Collapse)Author
2015-11-23add missing NAME entries;Jason McIntyre
feedback/ok schwarze
2015-11-13Use ph_ prefix for tag-related fields.Martin Pieuchot
ok dlg@
2015-11-12Prefix flowid with ph_ and print it in m_print().Martin Pieuchot
ok dlg@
2015-10-30document m_resethdrSebastian Benoit
ok and feedback mikeb@, reminded by jmc@ about MLINKS
2015-10-08tweak previous;Jason McIntyre
2015-10-08steal some padding in mbuf pkthdrs to store a flow id.David Gwynne
the flowid roughly identifies a flow or connection that the mbuf is a part of, and can be used instead of hashing contents of the packet (like src+dst mac and ip addresses) to decide which path a packet should take. ok mpi@ mikeb@ sthen@
2015-09-21Document that m_free(9) and m_freem(9) now accept NULL.Martin Pieuchot
From Michael McConville, ok jmc@
2015-07-08MFREE(9) is dead, long live m_freem(9)!Martin Pieuchot
ok bluhm@, claudio@, dlg@
2015-06-17Move mbuf_list and mbuf_queue documentation in their own manual.Martin Pieuchot
ok jmc@, deraadt@, dlg@
2015-06-16Sync with recent changes.Martin Pieuchot
2015-02-19remove errant reference to mq_enqueue in the mq_enlist description.David Gwynne
2015-02-16Replace \*(Lt \*(Le \*(Gt \*(Ge with literal < <= > >= respectively,Christian Weisgerber
except for instances where \*(Le and \*(Ge are clearly understood as mathematical symbols. Discussed with schwarze@
2015-02-10Sync and sort the M_* mbuf flags to match the way they are listed inLawrence Teo
<sys/mbuf.h>.
2015-02-10Zap m_act here too.Lawrence Teo
2015-02-07mq_enlist can drop mbufs now.David Gwynne
2015-02-07try and document ml_filter and mq_filter.David Gwynne
2015-02-01Sync struct pkthdr_pf and struct mbuf_ext with their actual definitionsLawrence Teo
in sys/mbuf.h.
2015-01-31Add missing period.Lawrence Teo
2015-01-31Document MSIZE, MCLSHIFT, MCLBYTES, MCLOFSET, and MAXMCLBYTES which haveLawrence Teo
been moved from sys/param.h to sys/mbuf.h (MAXMCLBYTES was moved two years ago; the rest were done recently). Remove references to sys/param.h accordingly. ok deraadt@
2014-08-18introduce mbuf list and queue apis. both manage fifo lists of mbufsDavid Gwynne
and a count of the mbufs. struct mbuf_list and the ml_foo() apis can be used to build lists of mbufs where you dont need locking (eg, on the stack). struct mbuf_queue and mq_foo() wrap mbuf_lists with a mutex, and limits the number of mbufs that can be queued. they can be useful for moving mbufs between contexts/subsystems. with help from jmc@ for the manpage bits mpi@ is keen
2014-07-13tweak previous; ok dlgJason McIntyre
2014-07-13treat external storage allocated by the mbuf layer the same asDavid Gwynne
external storage attached to an mbuf anywhere else. this means it uses MEXTADD to wire it up to the mbuf, and it relies on the ext_free and ext_arg bits in the header to call the right free function against the right pool. M_CLUSTER gets renamed to M_EXTWR. the type field in MEXTADD gets reused as a flags field so anything attaching storage to an mbuf can say if it is writable or not. ok claudio@
2014-07-13we dont do per interface accounting in the mbuf layer anymoreDavid Gwynne
2014-04-22Remove some altq tentacles.Martin Pieuchot
ok pelikan@, henning@
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
Avoid the confusion by using an appropriate name for the variable. Note that since routing domain IDs are a subset of the set of routing table IDs, the following idiom is correct: rtableid = rdomain But to get the routing domain ID corresponding to a given routing table ID, you must call rtable_l2(9). claudio@ likes it, ok mikeb@
2014-03-27Store an ifp index instead of a pointer in the "struct mbuf_ext".Martin Pieuchot
This is part of the plan to remove the ifp pointer from the packet header that will allow us to stop garbage collecting mbuf(9)s when an ifp is detached/destroyed. ok mikeb@, lteo@, benno@
2014-03-19Stop abusing the rcvif pointer to pass wireless nodes down to theMartin Pieuchot
driver start routines. Instead add & use a pointer in the pkthdr since we don't want the overhead of using a mbuf_tags(9). claudio@ pointed out that other subsystems might want to use this pointer too, so here's a new cookie! ok claudio@, mikeb@, deraadt@
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-11-27M_AUTH_AH got removed in 2012, no reason to document it.Martin Pieuchot
2013-10-25Now that the M_ICMP_CSUM_* flags are actually used in the kernel by PF,Lawrence Teo
document them in the mbuf(9) man page. OK henning@ jmc@
2013-08-21get rid of the copy argument in m_devget that let you provide anDavid Gwynne
alternative to bcopy since noone uses it. while there use memcpy instead of bcopy because we know the memory cannot overlap. ok henning@ matthew@ mikeb@ deraadt@
2013-06-11return ENOBUFS on failure from m_defrag and m_tag_copy_chain.David Gwynne
m_foo functions that return errors are now consistent as far as i can tell. ok bluhm@
2013-06-05\-1;Jason McIntyre
2013-06-05m_defrag(9) wasnt documented.David Gwynne
2013-06-04Replace old-fashioned .Fd by new-fangled .In for #include lines.Ingo Schwarze
Diff from Jan Klemkow <j dot klemkow at wemelug dot de> on tech@. No objection from jmc@ against this type of change.
2013-03-23Sync checksum flags with mbuf.h by renaming M_{TCP,UDP}V4_CSUM_OUT toLawrence Teo
M_{TCP,UDP}_CSUM_OUT. Also rename m_pkthdr.csum to m_pkthdr.csum_flags. Remove "/IPv4" from the descriptions of the M_{TCP,UDP}_CSUM_IN_* flags since they are also used to calculate TCP or UDP checksums over IPv6, such as on newer bge(4) chips (pointed out by naddy@). feedback/ok naddy, ok haesbaert jmc
2013-01-03update from Ryan Ozmun;Jason McIntyre
2012-11-17sync m_copydata prototype with reality, ok jsg phesslerHenning Brauer
2012-09-27replace m_zero(9) with M_ZEROIZE; original diff from markusJason McIntyre
ok mikeb markus
2011-12-02it's MAXMCLBYTES, not MAXCLBYTES.David Gwynne
2011-11-30this diff introduces the MAXMCLBYTES macro to describe the largestDavid Gwynne
cluster the generic network stack will be able to give you. it also recognises that external storage on an mbuf may be bigger than MCLBYTES. its only when m_pullup or m_pulldown need to allocate another cluster that they now check the len argument, and now they do it against MAXMCLBYTES. this is required for me to do pfsync on jumbo frames as the m_pulldown for the subregions fail beyond MCLBYTES into the packet. ok deraadt@ mikeb@ henning@ blambert@ manpage changes ok jmc@
2011-07-29Remove references to a function that no longer exists, reminded by claudio@Bret Lambert
ok jmc@, claudio@
2011-04-05Arguments to m_dup_pkthdr() have changed; sync man page with reality.Bret Lambert
ok claudio@
2011-04-04Nd strings do not start uppercase;Jason McIntyre
2011-04-03fix typo; found by and ok jmc@Bret Lambert
2011-04-03Document m_dup_pkthdr function.Bret Lambert
ok claudio@
2011-01-30zap unneeded Pp;Jason McIntyre
2011-01-30missing space: out-of-banddata -> out-of-band dataStefan Sperling
2010-07-07update manpage to reflect recent changes to m_copybackBret Lambert
nag and ok sthen@
2010-05-29restore a line that was removed by blambert@ along with MCHTYPE.Damien Bergamini