The NetBSD Project

CVS log for src/sys/rump/net/lib/libshmif/shmifvar.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / rump / net / lib / libshmif

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.11.22.1: download - view: text, markup, annotated - select for diffs
Thu Sep 5 09:22:44 2024 UTC (4 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +5 -1 lines
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

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Sep 2 05:12:53 2024 UTC (4 months, 2 weeks ago) by ozaki-r
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -1 lines
shmif: export LOCK_* definitions

They will be used by upcoming shmif_pcapin.

Revision 1.10.20.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:01 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +2 -2 lines
Merge changes from current as of 20200406

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Apr 3 13:57:48 2020 UTC (4 years, 9 months ago) by christos
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
make constant unsigned

Revision 1.6.14.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:19 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.6.14.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.14.1: +4 -1 lines
update from HEAD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Sep 17 04:20:58 2014 UTC (10 years, 4 months ago) by ozaki-r
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: phil-wifi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
Make shmif buildable when DRPINTF enabled

Revision 1.6.14.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:43 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
Rebase to HEAD as of a few days ago.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Sun Aug 17 03:26:51 2014 UTC (10 years, 5 months ago) by riz
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +4 -2 lines
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

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 16 06:18:01 2014 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Bump SHMIF_VERSION

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Aug 15 15:03:03 2014 UTC (10 years, 5 months ago) by ozaki-r
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
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@

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:17 2014 UTC (10 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -1 lines
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")

Revision 1.6.18.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:46:20 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -1 lines
sync with head

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Dec 20 09:06:35 2013 UTC (11 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
header massage, mostly improves portability

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:09 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +2 -2 lines
Sync with HEAD.

Revision 1.5.10.3: download - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:18 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.5.10.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.10.2: +1 -1 lines
sync with head

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Mar 21 16:41:09 2011 UTC (13 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -2 lines
Update copyright statements.

no functional change.

Revision 1.5.10.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:21 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.5.10.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.10.1: +82 -0 lines
sync with head

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:45 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.1: +82 -0 lines
sync with head

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:48:05 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +82 -0 lines
Sync with HEAD.

Revision 1.5.10.1
Sun Aug 15 18:55:03 2010 UTC (14 years, 5 months ago) by rmind
Branches: rmind-uvmplock
FILE REMOVED
Changes since revision 1.5: +0 -82 lines
file shmifvar.h was added on branch rmind-uvmplock on 2011-03-05 20:56:21 +0000

Revision 1.5.4.1
Sun Aug 15 18:55:03 2010 UTC (14 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
FILE REMOVED
Changes since revision 1.5: +0 -82 lines
file shmifvar.h was added on branch yamt-nfs-mp on 2010-10-09 03:32:45 +0000

Revision 1.5.2.1
Sun Aug 15 18:55:03 2010 UTC (14 years, 5 months ago) by uebayasi
Branches: uebayasi-xip
FILE REMOVED
Changes since revision 1.5: +0 -82 lines
file shmifvar.h was added on branch uebayasi-xip on 2010-08-17 06:48:05 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Aug 15 18:55:03 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-nfs-mp, uebayasi-xip, rmind-uvmplock, jruoho-x86intr
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -3 lines
Move the lockops together with the interface -- they are needed
only at runtime.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 13 10:13:44 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +9 -3 lines
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.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Aug 12 21:41:47 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +27 -3 lines
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.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 12 18:17:23 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +12 -3 lines
* include a magic number in the bus format
* simplify offset calculations by making them start from beginning of data

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Aug 12 17:33:55 2010 UTC (14 years, 5 months ago) by pooka
Branches: MAIN
Make shmif memory access slightly more sane.  Create a header which
is shared by the interface and the bus analyzer.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>