summaryrefslogtreecommitdiff
path: root/share/man/man9
AgeCommit message (Collapse)Author
2016-11-14Automatically create a default lo(4) interface per rdomain.Martin Pieuchot
In order to stop abusing lo0 for all rdomains, a new loopback interface will be created every time a rdomain is created. The unit number will be the same as the rdomain, i.e. lo1 will be attached to rdomain 1. If this loopback interface is already in use it wont be possible to create the corresponding rdomain. In order to know which lo(4) interface is attached to a rdomain, its index is stored in the rtable/rdomain map. This is a long overdue since the introduction of rtable/rdomain. It also fixes a recent regression due to resetting the rdomain of an incoming packet reported by semarie@, Andreas Bartelt and Nils Frohberg. ok claudio@
2016-11-14grammar;Jason McIntyre
2016-11-14document counters_inc, counters_add, and counters_pkt.David Gwynne
2016-11-14M_COUNTERS is a thingDavid Gwynne
2016-10-25minor tweaks;Jason McIntyre
2016-10-25provide an example based on the mbuf codeDavid Gwynne
2016-10-25bluhm@ suggested pointing out that cpumem_malloc_ncpus andDavid Gwynne
counters_alloc_ncpus preserve the contents of memory used by the boot cpu.
2016-10-25bluhm@ suggests that it is enough to say that the allocations willDavid Gwynne
be zeroed, and how they're zeroed is an implementation detail that doesnt really help the reader.
2016-10-25start documenting allocating per cpu data at boot time, and addingDavid Gwynne
memory for new cpus after theyve attached. some tweaks from jmc@ who will probably find more things wrong after this. im putting some suggestions in from bluhm@ shortly
2016-10-21Add missing dot at beginning of macro line.Alexander Bluhm
2016-10-21more tweaks; ok dlgJason McIntyre
2016-10-21first stab at describing the per cpu counters apiDavid Gwynne
2016-10-21provos didnt write any of thisDavid Gwynne
2016-10-21tweak previous;Jason McIntyre
2016-10-21first cut at a man page for cpumemDavid Gwynne
2016-10-18Don't tell the programmer not to put variable declarations insideTodd C. Miller
blocks. OK guenther@ kettenis@
2016-10-18Use "continue;" instead of a bare ";" in the for() loop exampleTodd C. Miller
with no body.
2016-10-17"send/received" -> "sent/received"Lawrence Teo
ok jmc@
2016-10-10Fix typo "bfp".Alexander Bluhm
OK dlg@
2016-09-27missing colon; from Rob Pierce <rob at 2keys dot ca>Ingo Schwarze
2016-09-24jmc noticed a chunk failed to apply. actually document hashfree.Ted Unangst
from natano via Mathieu -
2016-09-24introduce hashfree() function to free hash tables, with sizes.Ted Unangst
ok guenther
2016-09-22Introduce a new 'softclock' thread that will be used to execute timeoutMartin Pieuchot
callbacks needing a process context. The function timeout_set_proc(9) has to be used instead of timeout_set(9) when a timeout callback needs a process context. Note that if such a timeout is waiting, understand sleeping, for a non negligible amount of time it might delay other timeouts needing a process context. dlg@ agrees with this as a temporary solution. Manpage tweaks from jmc@ ok kettenis@, bluhm@, mikeb@
2016-09-19Remove unused getdev() audio driver functions.Alexandre Ratchov
2016-09-15tweak previous;Jason McIntyre
2016-09-15Document the USB task APIAdam Wolk
OK mpi@ change post OK: - long lines in the source file wrapped - added note about USB_TASK_TYPE_ABORT from mpi@
2016-09-15some pool_setipl mop up; ok dlgJason McIntyre
2016-09-15add RBT_POISON and RBT_CHECK so you can poison the pointers in RBT_ENTRYsDavid Gwynne
this seems like a better way forward than simply removing the poisoning that uvm does.
2016-09-15RBT_NEXT, PREV, LEFT, RIGHT, and PARENT take an element, not a tree.David Gwynne
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
the ioff argument to pool_init() is unused and has been for many years, so this replaces it with an ipl argument. because the ipl will be set on init we no longer need pool_setipl. most of these changes have been done with coccinelle using the spatch below. cocci sucks at formatting code though, so i fixed that by hand. the manpage and subr_pool.c bits i did myself. ok tedu@ jmatthew@ @ipl@ expression pp; expression ipl; expression s, a, o, f, m, p; @@ -pool_init(pp, s, a, o, f, m, p); -pool_setipl(pp, ipl); +pool_init(pp, s, a, ipl, f, m, p);
2016-09-15remove m_copym2 as its use has been replaced by m_dup_pktDavid Gwynne
ok millert@ mpi@ henning@ claudio@ markus@
2016-09-14Remove drain(), query_encoding(), mappage() and get_default_params()Alexandre Ratchov
methods from all audio drivers and from the audio_if structure as they are never called.
2016-09-13avoid extensive mbuf allocation for IPsec by replacing m_inject(4)Markus Friedl
with m_makespace(4) from freebsd; ok mpi@, bluhm@, mikeb@, dlg@
2016-09-13Introduce rwsleep(9), an equivalent to msleep(9) but for code protectedMartin Pieuchot
by a write lock. ok guenther@, vgross@
2016-09-12bpf_tap() is long dead! Long live bpf_mtap() & friends.Kenneth R Westerback
ok natano@ deraadt@
2016-09-05RBT_PREV goes to the element before the current one.David Gwynne
2016-09-05tweak previous;Jason McIntyre
2016-09-05first cut at documenting new red-black tree code.David Gwynne
ok jmc@
2016-09-04Sync struct pkthdr with sys/mbuf.hLawrence Teo
2016-09-04Fix incorrect formatting and add the missing argument name for m_resethdr().Lawrence Teo
ok jmc@
2016-09-02remove one more reference to the recently removed hash(9);Jason McIntyre
2016-09-02forgot to actually remove file, thanks jmcTed Unangst
2016-09-02rm xr to hash.9Ted Unangst
2016-09-02kettenis discovered a man page for a long deleted file. hash.h is gone.Ted Unangst
2016-09-01Remove references to removed ioctls and data structures.Alexandre Ratchov
Suggested by jmc@.
2016-08-31remove trailing Xr to radio devices;Jason McIntyre
2016-08-30Use struct stat for storing attributes in fusebufs, because using structMartin Natano
vattr in userspace is suboptimal as some related helpers are not available, e.g. VATTR_NULL() and IFTOVT(). The conversion is now done in the kernel where it belongs. As a side effect the <sys/vnode.h> include can be removed from libfuse. tweaks and ok guenther
2016-08-24Since the removal of rwhod and friends a couple of years ago, thereRenato Westphal
isn't any file in the base system including <protocols/rwhod.h>. So, stop suggesting the inclusion of this header in this man page. ok tedu@ deraadt@ mpi@
2016-08-16splraise() is an MI API now.David Gwynne
ok deraadt@ jmc@ mpi@
2016-07-27document the so_upcall option to socreatePeter Hessler