Home | History | Annotate | Download | only in libshmif
History log of /src/sys/rump/net/lib/libshmif/shmifvar.h
RevisionDateAuthorComments
 1.12  02-Sep-2024  ozaki-r shmif: export LOCK_* definitions

They will be used by upcoming shmif_pcapin.
 1.11  03-Apr-2020  christos branches: 1.11.22;
make constant unsigned
 1.10  17-Sep-2014  ozaki-r branches: 1.10.20;
Make shmif buildable when DRPINTF enabled
 1.9  16-Aug-2014  ozaki-r Bump SHMIF_VERSION
 1.8  15-Aug-2014  ozaki-r Make shmif SIMPLEX

Add a sender field to a packet header on a shmif bus to identify
and ignore packets sent by itself.

This makes shmif work with bridges.

ok pooka@
 1.7  20-Dec-2013  pooka branches: 1.7.4;
header massage, mostly improves portability
 1.6  21-Mar-2011  pooka branches: 1.6.4; 1.6.14; 1.6.18;
Update copyright statements.

no functional change.
 1.5  15-Aug-2010  pooka branches: 1.5.2; 1.5.4; 1.5.6; 1.5.10;
Move the lockops together with the interface -- they are needed
only at runtime.
 1.4  13-Aug-2010  pooka Include a timestamp in the frame header. When converting to pcap,
it can give some idea of when packets were sent.

nb. it's the sending host's timestamp, not an observer timestamp
like in the typical pcap case.
 1.3  12-Aug-2010  pooka Include a pointer to the beginning of the buffer and add support
to the packet dumper. This helps in situations where the juicy
details are in a bus multiple generations old.
 1.2  12-Aug-2010  pooka * include a magic number in the bus format
* simplify offset calculations by making them start from beginning of data
 1.1  12-Aug-2010  pooka Make shmif memory access slightly more sane. Create a header which
is shared by the interface and the bus analyzer.
 1.5.10.3  21-Apr-2011  rmind sync with head
 1.5.10.2  05-Mar-2011  rmind sync with head
 1.5.10.1  15-Aug-2010  rmind file shmifvar.h was added on branch rmind-uvmplock on 2011-03-05 20:56:21 +0000
 1.5.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.5.4.2  09-Oct-2010  yamt sync with head
 1.5.4.1  15-Aug-2010  yamt file shmifvar.h was added on branch yamt-nfs-mp on 2010-10-09 03:32:45 +0000
 1.5.2.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.5.2.1  15-Aug-2010  uebayasi file shmifvar.h was added on branch uebayasi-xip on 2010-08-17 06:48:05 +0000
 1.6.18.1  18-May-2014  rmind sync with head
 1.6.14.2  03-Dec-2017  jdolecek update from HEAD
 1.6.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.4.1  17-Aug-2014  riz Pull up following revision(s) (requested by ozaki-r in ticket #28):
sys/rump/net/lib/libshmif/shmifvar.h: revision 1.8
sys/rump/net/lib/libshmif/if_shmem.c: revision 1.63
sys/rump/net/lib/libshmif/shmifvar.h: revision 1.9
Make shmif SIMPLEX
Add a sender field to a packet header on a shmif bus to identify
and ignore packets sent by itself.
This makes shmif work with bridges.
ok pooka@
Bump SHMIF_VERSION
 1.10.20.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.11.22.1  05-Sep-2024  martin Pull up following revision(s) (requested by ozaki-r in ticket #817):

tests/usr.bin/Makefile: revision 1.41 (patch)
distrib/sets/lists/base/mi: revision 1.1350 (patch)
usr.bin/shmif_pcapin/shmif_pcapin.1: revision 1.1
distrib/sets/lists/man/mi: revision 1.1787 (patch)
distrib/sets/lists/debug/mi: revision 1.447 (patch)
tests/usr.bin/shmif_pcapin/d_pcap.out.bz2.uue: revision 1.1
sys/rump/net/lib/libshmif/if_shmem.c: revision 1.88
etc/mtree/NetBSD.dist.tests: revision 1.207
sys/rump/net/lib/libshmif/shmifvar.h: revision 1.12
usr.bin/shmif_pcapin/shmif_pcapin.c: revision 1.1
usr.bin/shmif_pcapin/Makefile: revision 1.1
tests/usr.bin/shmif_pcapin/t_basic.sh: revision 1.1
usr.bin/Makefile: revision 1.240
distrib/sets/lists/tests/mi: revision 1.1335 (patch)
tests/usr.bin/shmif_pcapin/Makefile: revision 1.1
tests/usr.bin/shmif_pcapin/d_pcap.in.bz2.uue: revision 1.1

shmif: export LOCK_* definitions
They will be used by upcoming shmif_pcapin.

Add shmif_pcapin(1) utility program

It can send any frames that are stored in a pcap(3) file format to
shmif(4) Ethernet interface via the bus of it. If you want to write
some tests for networking with rump kernels and the tests need to send
frames that are difficult to generate by stock programs, shmif_pcapin
can be helpful.

The author of shmif_pcapin is k-goda@IIJ and the man page is written
by ozaki-r.

tests: add a basic test for shmif_pcapin

The original author of the test is k-goda@IIJ. ozaki-r tweaked
the test to improve stability and added comments.
distrib, etc: install shmif_pcapin and its tests

RSS XML Feed