summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-04-10 11:02:12 +0000
committerdlg <dlg@openbsd.org>2015-04-10 11:02:12 +0000
commit578c45efae655e700fb480441ca26c4e0dff525f (patch)
tree64a91f90941436f5562f3133866542fcb6a39da5 /sys/netinet
parentRun detach hook and similar before cleaning up any other resource when (diff)
downloadwireguard-openbsd-578c45efae655e700fb480441ca26c4e0dff525f.tar.xz
wireguard-openbsd-578c45efae655e700fb480441ca26c4e0dff525f.zip
mpi@ introduced a ph_cookie in mbuf packet headers that can be used
by a subsystem to stash some state while the mbuf gets queued. eg, net80211 uses it to keep track of the wireless node associated with a packet before submitting it to a drivers snd queue for transmission. this makes pipex use ph_cookie to keep track of the pipex session associated with a packet before submitting it to the softint queues. this lets us get rid of an mbuf tag type, and avoids the cost of tag allocation. ok yasuoka@
Diffstat (limited to 'sys/netinet')
0 files changed, 0 insertions, 0 deletions