summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mtest
Commit message (Collapse)AuthorAgeFilesLines
* MFC r259156:eadler2013-12-131-2/+2
| | | | | | | | | mtest(8): use correct macro in mdoc 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
* 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