summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6ctl/ospf6ctl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Handle connected routes as ospfd(8) does.denis2020-04-051-4/+4
| | | | OK remi@
* Allow specifying area by number as well as id. No changes to outputs.remi2019-05-261-2/+2
| | | | | reads OK to kn@ OK denis@
* Add support for rdomains.remi2018-07-121-3/+6
| | | | | small quirk from tb@ ok phessler@
* print metric for Intra-Area-Prefix LSAsremi2018-06-061-4/+5
| | | | ok stsp@ claudio@ jca@
* Disable config reload, ospf6d just exits on reload with simple setups.jca2017-11-051-1/+5
| | | | | And fixing this doesn't appear trivial. Discussed with a bunch at p2k17, ok phessler@ denis@ benno@
* fix the else case (i.e. LSA_IS_SCOPE_AS) where header could remainbenno2017-08-121-1/+4
| | | | | uninitialized. found by clang. ok claudio@
* Import route priority support from ospfd to ospf6d.friehm2017-06-191-2/+4
| | | | | | | Also remove the RTF_UP flag from hdr.rtm_flags in send_rtmsg() since ospfd and bgpd don't set the flag. OK bluhm@ claudio@
* Also print the mtu in detailed interface info.jca2016-12-221-3/+4
| | | | Copied on the diff from Remi Locherer for ospfctl. ok benno@ claudio@
* EAGAIN handling for imsg_read. OK henning@ benno@claudio2015-12-051-2/+2
|
* if_indextoname() was fixed a while back, do not need to pledge "route"deraadt2015-12-031-2/+2
| | | | ok claudio
* pledge("stdio route") needed here, because ipv6benno2015-10-101-1/+4
| | | | ok deraadt@
* As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d.stsp2015-09-271-11/+11
| | | | | And some ifmedia64 fixes. "move forward" deraadt@
* match a few if_media uint64_t conversions; ok miodderaadt2015-09-131-5/+5
|
* handle msgbuf_write() returning EAGAIN, looks right to deraadtsthen2013-11-131-2/+3
|
* Allow use of an alternative control socket, ported from ospfd. ok claudio@sthen2013-03-221-5/+22
|
* order static typesclaudio2011-05-051-2/+2
|
* Print additional new line after 'Number of Links' in show databasebluhm2010-06-121-2/+2
| | | | | router. This separates the router and link blocks like ospfctl. ok claudio@
* Fix AS-ext LSA detailed output. While there rework the way we printclaudio2010-02-251-12/+62
| | | | prefixes a bit. The output is now a bit more compact.
* Unbreak tree. struct lsa_asext changed so we need to adjust the outputclaudio2010-02-231-6/+1
| | | | function. Correct fix will follow but this compiles again.
* Print more addresses with scope.claudio2009-12-231-4/+4
|
* Use log_in6addr_scope() to print the correct nexthop.claudio2009-12-221-3/+4
|
* Implement "log verbose" and "log brief" to enable or disable verbose debugclaudio2009-11-021-2/+13
| | | | logging. henning, sthen, michele like the idea
* Switch the various link state printing codes to use the new if_mediaclaudio2009-09-141-24/+14
| | | | | | independent LINK_STATE_DESCRIPTIONS. Code is now more or less a one to one copy of get_linkstate() in route/route.c. OK henning, michele, sthen, deraadt
* Track renamed struct member (r1.15 of ospf6d/ospf6.h) to fix compilation.claudio2009-07-281-2/+2
| | | | From stsp@
* make ospf6ctl/ospf6d imsg-in-a-lib ready too.eric2009-06-061-28/+21
| | | | | | ospf6ctl is already broken in tree (not connected to build). ok pyr@
* Stop using the att_rtr member of struct lsa_net, we're going to remove it.stsp2009-03-291-5/+8
| | | | | | Calculate offsets with a struct lsa_net_link pointer instead. ok claudio@
* ospf6ctl had lsa_rtr_link fields mixed up.stsp2009-03-291-3/+4
| | | | | | | It printed iface_id as the neighbour's interface ID, but iface_id is in fact the ID of the advertising router's interface being described. ok claudio@
* Add missing free. Found by norby@ in ospfctl, same fix.stsp2009-01-301-1/+2
|
* One more step on the long road of beautifying ospf6ctl output:stsp2009-01-291-20/+10
| | | | | | | | The Link State ID in OSPFv3 is just a unique identifier and has lost its semantic meaning for a most LSA types. Print the correct semantic meaning for those that still have one, and don't print any additional information for those that don't. ok claudio@
* Don't print a header line above every individual Intra-Area-Prefix LSAstsp2009-01-291-1/+4
| | | | in the detailed DB output. Now behaves the same as with other LSA types.
* Fix offset calculation for lsa_prefix structs.stsp2009-01-291-3/+5
| | | | ok claudio@
* Add 'show database intra' command, which displays Intra-Area-Prefix LSAs.stsp2009-01-281-1/+35
| | | | ok claudio@
* Print the right header for Intra-Area-Prefix LSAs when showing the database.stsp2009-01-281-2/+2
|
* I removed prefix from lsa_prefix but this code was still using it. Unbreakclaudio2009-01-011-6/+12
| | | | | | it by copying LSA_PREFIXSIZE(prefixlen) bytes after the lsa_prefix into a struct in6_addr and print that. Found by stsp@ OK stsp@
* Add code to show Link LSA. Make the other detailed views a bit shorter byclaudio2008-12-301-4/+35
| | | | removing an empty newline.
* a few documentation updates for opsf6(8) and ospf6ctl(8): remove ansobrado2008-12-281-2/+2
| | | | | | | existing (but undocumented) flag from the usage of ospf6d; documentation tweaks; while here, synchronize synopsis and usage. ok claudio@
* correct some outputclaudio2008-12-281-3/+3
|
* Correctly display net lsa and the LSA type is now 16bit. This removesclaudio2008-12-281-4/+4
| | | | the duplicate database headers seen all the time.
* Sync up with the last commit. Some flags are now gone.claudio2008-12-281-9/+7
| | | | From Stefan Sperling's diff collection
* struct kif is gone so adapt to the situation. show interface is gone forclaudio2007-12-131-75/+11
| | | | now. OK norby@
* update "show database" output (work in progress) but now link local LSAclaudio2007-11-271-17/+50
| | | | are printed again.
* Fix show database router output.claudio2007-10-161-4/+10
|
* Make ospf6ctl compile again and especially make ospf6ctl show database workclaudio2007-10-161-25/+17
| | | | | | | and so stuff starts to show up in the database: Link ID Adv Router Age Seq# Checksum 0.0.0.1 255.1.1.1 3 0x8000028e 0xc7b3 0.0.0.0 255.1.1.1 3 0x8000027f 0xade8
* Change LSA type to 16 bit and use the new defines recently comitted tonorby2007-10-161-15/+31
| | | | | | ospf6d(8). ok claudio@
* Adapt to the changes in ospf6d. Fix more IPv6 addressing and probably breakclaudio2007-10-161-24/+17
| | | | | | some currently not working commands but show interface and show neighbor should work. OK norby@
* Fix the output from "show neighbor".norby2007-10-161-5/+5
| | | | | | | | | | It is not possible to fit the address of the neighbor(s) in the short list, so we loose it... It is still possible to see the IP address of the neighbor in the output of "show neighbor detail". ok claudio@
* specifying int instead of just unsigned is better stylederaadt2007-10-151-2/+2
|
* please lintderaadt2007-10-141-1/+4
|
* Sanitize the output of "show interface detail".norby2007-10-121-6/+8
|
* Properly format the output of "show interface".norby2007-10-121-7/+5
| | | | | | | | In order to make room for the longer IPv6 addresses in the output, the two collumns nc and ac must go. Neighbor and Adjacent Neighbor Count is still avalable in "show interface detail". ok claudio@