Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-11-23 | add missing NAME entries; | Jason McIntyre | |
feedback/ok schwarze | |||
2015-11-13 | Use ph_ prefix for tag-related fields. | Martin Pieuchot | |
ok dlg@ | |||
2015-11-12 | Prefix flowid with ph_ and print it in m_print(). | Martin Pieuchot | |
ok dlg@ | |||
2015-10-30 | document m_resethdr | Sebastian Benoit | |
ok and feedback mikeb@, reminded by jmc@ about MLINKS | |||
2015-10-08 | tweak previous; | Jason McIntyre | |
2015-10-08 | steal 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-21 | Document that m_free(9) and m_freem(9) now accept NULL. | Martin Pieuchot | |
From Michael McConville, ok jmc@ | |||
2015-07-08 | MFREE(9) is dead, long live m_freem(9)! | Martin Pieuchot | |
ok bluhm@, claudio@, dlg@ | |||
2015-06-17 | Move mbuf_list and mbuf_queue documentation in their own manual. | Martin Pieuchot | |
ok jmc@, deraadt@, dlg@ | |||
2015-06-16 | Sync with recent changes. | Martin Pieuchot | |
2015-02-19 | remove errant reference to mq_enqueue in the mq_enlist description. | David Gwynne | |
2015-02-16 | Replace \*(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-10 | Sync and sort the M_* mbuf flags to match the way they are listed in | Lawrence Teo | |
<sys/mbuf.h>. | |||
2015-02-10 | Zap m_act here too. | Lawrence Teo | |
2015-02-07 | mq_enlist can drop mbufs now. | David Gwynne | |
2015-02-07 | try and document ml_filter and mq_filter. | David Gwynne | |
2015-02-01 | Sync struct pkthdr_pf and struct mbuf_ext with their actual definitions | Lawrence Teo | |
in sys/mbuf.h. | |||
2015-01-31 | Add missing period. | Lawrence Teo | |
2015-01-31 | Document MSIZE, MCLSHIFT, MCLBYTES, MCLOFSET, and MAXMCLBYTES which have | Lawrence 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-18 | introduce mbuf list and queue apis. both manage fifo lists of mbufs | David 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-13 | tweak previous; ok dlg | Jason McIntyre | |
2014-07-13 | treat external storage allocated by the mbuf layer the same as | David 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-13 | we dont do per interface accounting in the mbuf layer anymore | David Gwynne | |
2014-04-22 | Remove 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-27 | Store 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-19 | Stop abusing the rcvif pointer to pass wireless nodes down to the | Martin 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-21 | obvious .Pa fixes; found with mandocdb(8) | Ingo Schwarze | |
2013-11-27 | M_AUTH_AH got removed in 2012, no reason to document it. | Martin Pieuchot | |
2013-10-25 | Now 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-21 | get rid of the copy argument in m_devget that let you provide an | David 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-11 | return 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-05 | m_defrag(9) wasnt documented. | David Gwynne | |
2013-06-04 | Replace 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-23 | Sync checksum flags with mbuf.h by renaming M_{TCP,UDP}V4_CSUM_OUT to | Lawrence 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-03 | update from Ryan Ozmun; | Jason McIntyre | |
2012-11-17 | sync m_copydata prototype with reality, ok jsg phessler | Henning Brauer | |
2012-09-27 | replace m_zero(9) with M_ZEROIZE; original diff from markus | Jason McIntyre | |
ok mikeb markus | |||
2011-12-02 | it's MAXMCLBYTES, not MAXCLBYTES. | David Gwynne | |
2011-11-30 | this diff introduces the MAXMCLBYTES macro to describe the largest | David 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-29 | Remove references to a function that no longer exists, reminded by claudio@ | Bret Lambert | |
ok jmc@, claudio@ | |||
2011-04-05 | Arguments to m_dup_pkthdr() have changed; sync man page with reality. | Bret Lambert | |
ok claudio@ | |||
2011-04-04 | Nd strings do not start uppercase; | Jason McIntyre | |
2011-04-03 | fix typo; found by and ok jmc@ | Bret Lambert | |
2011-04-03 | Document m_dup_pkthdr function. | Bret Lambert | |
ok claudio@ | |||
2011-01-30 | zap unneeded Pp; | Jason McIntyre | |
2011-01-30 | missing space: out-of-banddata -> out-of-band data | Stefan Sperling | |
2010-07-07 | update manpage to reflect recent changes to m_copyback | Bret Lambert | |
nag and ok sthen@ | |||
2010-05-29 | restore a line that was removed by blambert@ along with MCHTYPE. | Damien Bergamini | |