summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtest
Commit message (Collapse)AuthorAgeFilesLines
* mtest: Prevent access to uninitialized value.pfg2016-04-011-1/+1
| | | | | | | | | | | case 'g' makes use of value n, which is initialized for case 'b' and passe through to case 'g'. If case 'g' is called directly value 'n' is not initialized. Avoid the issue by initializing n before entering the switch. CID: 1006375 Reviewed by: bms
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * Merge from headsjg2014-05-081-1/+1
| |\ | |/ |/|
| * Merge headsjg2014-04-281-2/+2
| |\
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| * | Sync with HEAD.obrien2013-02-081-2/+2
| |\ \
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| |_|/ |/| | | | | | | | from the latter.
* | | mtest(8): use correct macro in mdoceadler2013-12-101-2/+2
| |/ |/| | | | | | | | | | | | | | | The An macros is used for authors while the Ar macro is used for arguments. AFAIK mcast-addr and ifname are not authors. PR: docs/184649 Submitted by: cnst++ MFC After: 3 days
* | Fix socket calls on error post-r243965.kevlo2012-12-211-2/+2
|/ | | | Submitted by: Garrett Cooper
* Remove superfluous paragraph macro.joel2012-03-251-1/+0
|
* Don't die if either of INET or INET6 aren't in the running kernel.jhb2011-06-241-5/+25
| | | | | | | | Instead, report "protocol not supported" errors at runtime if a user attempts to use a protocol that the kernel doesn't support. Reviewed by: bz MFC after: 1 week
* mdoc: make pages render with mandocuqs2010-10-211-1/+1
| | | | | | It's a bit more pedantic regarding .Bl list elements. This has an added benefit of unbreaking the ipfw(8) manpage, where groff was silently skipping one list element.
* mdoc: order prologue macros consistently by Dd/Dt/Osuqs2010-04-141-1/+1
| | | | | | | | Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors)
* Merge IPv6-capable mtest(8) from MLDv2 branch.bms2009-04-293-232/+683
|
* Add full SSM stack support to mtest(8) diagnostic tool.bms2009-03-041-115/+87
|
* Update mtest(8) manual page.bms2009-03-041-6/+45
|
* Import rewrite of IPv4 socket multicast layer to support source-specificbms2007-06-121-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and protocol-independent host mode multicast. The code is written to accomodate IPv6, IGMPv3 and MLDv2 with only a little additional work. This change only pertains to FreeBSD's use as a multicast end-station and does not concern multicast routing; for an IGMPv3/MLDv2 router implementation, consider the XORP project. The work is based on Wilbert de Graaf's IGMPv3 code drop for FreeBSD 4.6, which is available at: http://www.kloosterhof.com/wilbert/igmpv3.html Summary * IPv4 multicast socket processing is now moved out of ip_output.c into a new module, in_mcast.c. * The in_mcast.c module implements the IPv4 legacy any-source API in terms of the protocol-independent source-specific API. * Source filters are lazy allocated as the common case does not use them. They are part of per inpcb state and are covered by the inpcb lock. * struct ip_mreqn is now supported to allow applications to specify multicast joins by interface index in the legacy IPv4 any-source API. * In UDP, an incoming multicast datagram only requires that the source port matches the 4-tuple if the socket was already bound by source port. An unbound socket SHOULD be able to receive multicasts sent from an ephemeral source port. * The UDP socket multicast filter mode defaults to exclusive, that is, sources present in the per-socket list will be blocked from delivery. * The RFC 3678 userland functions have been added to libc: setsourcefilter, getsourcefilter, setipv4sourcefilter, getipv4sourcefilter. * Definitions for IGMPv3 are merged but not yet used. * struct sockaddr_storage is now referenced from <netinet/in.h>. It is therefore defined there if not already declared in the same way as for the C99 types. * The RFC 1724 hack (specify 0.0.0.0/8 addresses to IP_MULTICAST_IF which are then interpreted as interface indexes) is now deprecated. * A patch for the Rhyolite.com routed in the FreeBSD base system is available in the -net archives. This only affects individuals running RIPv1 or RIPv2 via point-to-point and/or unnumbered interfaces. * Make IPv6 detach path similar to IPv4's in code flow; functionally same. * Bump __FreeBSD_version to 700048; see UPDATING. This work was financially supported by another FreeBSD committer. Obtained from: p4://bms_netdev Submitted by: Wilbert de Graaf (original work) Reviewed by: rwatson (locking), silence from fenner, net@ (but with encouragement)
* Reduce WARNS count due to alignment warning on ia64.bms2007-03-091-1/+0
|
* Merge a slightly cleaner and SSM capable mtest(8).bms2007-03-083-202/+445
| | | | | Submitted by: Wilbert De Graaf MFC after: 1 month
* Use sizeof() for calculating the buffer size instead of hard-coded values.kevlo2007-03-061-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* add FBSDIDcharnier2003-07-061-4/+2
|
* The .Nm utilitycharnier2002-07-141-0/+2
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+6
| | | | builtints (e.g., exit, strcmp).
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+2
|
* Prepare for mdoc(7)NG.ru2000-12-271-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+3
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Use AF_LINK rather than AF_UNSPEC to set an ethernet multicast address.julian1998-05-281-14/+33
| | | | | | | | This is obviously not a terribly used function as it's apparently been broken forever. It IS possible that this fix is wrong and that the KERNEL is wrong (in which case you should fix if_ethersubr.c) either way it certainly has more hope of working now than before. I'd take it to 2.2 except that obviously no-one cares :-)
* Use err(3). -Wall cleaning.charnier1997-10-012-15/+15
|
* Add the one line description of the man page at the top sompp1996-12-151-2/+3
| | | | that "whatis" will report something more than just "mtest".
* Make mtest build. Write a makefile and a man page.fenner1996-12-153-2/+56
|
* A multicast testing program, allowing you to join and leave bothfenner1996-12-151-0/+206
IP and ethernet multicast groups. Obtained from: Multicast release 3.5
OpenPOWER on IntegriCloud