History log of /dragonfly/usr.bin/netstat/route.c (Results 1 – 25 of 41)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7485684f 03-Mar-2024 Aaron LI <aly@aaronly.me>

Whitespace cleanups


# ad668869 02-Mar-2024 Aaron LI <aly@aaronly.me>

netstat(1): Increase column width of interface name

Given that the interface can be renamed, the interface name may be
generally longer, so increase the column width of interface name by 2
character

netstat(1): Increase column width of interface name

Given that the interface can be renamed, the interface name may be
generally longer, so increase the column width of interface name by 2
characters (from 6 to 8).

Referred to FreeBSD.

show more ...


# e43c2985 11-Dec-2023 Aaron LI <aly@aaronly.me>

netstat(1): Update route.c to get rid of some file-global variables

No functional changes.


# 04a3b05a 11-Dec-2023 Aaron LI <aly@aaronly.me>

netstat(1): Whitespace cleanups


# 7d605468 10-Nov-2023 Aaron LI <aly@aaronly.me>

netstat(1): Fix build against with <net/radix.h> gaining 'const'


Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3
# 5569e488 12-Nov-2019 zrj <rimvydas.jasinskas@gmail.com>

<sys/kinfo.h>: Fix legacy inclusion issues.

Sadly this header was not being included properly for a long time.
Make it publicly accessible and put a big NOTE how to do it properly for
future code

<sys/kinfo.h>: Fix legacy inclusion issues.

Sadly this header was not being included properly for a long time.
Make it publicly accessible and put a big NOTE how to do it properly for
future codes. This makes the <sys/user.h> the only other header that
defines _KERNEL_STRUCTURES to solve long term inclusion order issues.
Previous variant was hiding implicit dependencies, adjust netstat(1).

Any changes in this header breaks a lot of ports, try not to change any
of the structs. Also make sure KERN_SIGTRAMP has public visibility.

While there remove two defines that were not used since introduced in
5dfd06ac148512faf075c4e399e8485fd955578f

show more ...


Revision tags: v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4
# 6ec8f7f2 08-Aug-2015 Sascha Wildner <saw@online.de>

Remove remaining OSI protocol support.

These were just leftovers.


Revision tags: v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2
# d5c02967 31-Dec-2014 Sepherosa Ziehau <sephe@pi-coral.com>

route: Print protocol-cloned routes if -A is specified

Else the out put of netstat -rnA looks weird if there are protocol-
cloned routes.


Revision tags: v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2
# 4ff4d99f 18-Jul-2014 Nuno Antunes <nuno.antunes@gmail.com>

Use system's RT_ROUNDUP and RT_ADVANCE macros instead of local copies.

Reviewed-by: dillon


Revision tags: v3.8.1
# 2bd72dde 15-Jun-2014 Sascha Wildner <saw@online.de>

netstat(8): Remove upHex(), which is unused since we dropped NS.


Revision tags: v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc
# 6f25d555 20-Apr-2014 Sascha Wildner <saw@online.de>

Remove support for the IPX and NCP protocols, and for NWFS.

This was on the list for a longer time now. FreeBSD removed it
recently, too. Their commit msg has some more info:

"IPX was a network tra

Remove support for the IPX and NCP protocols, and for NWFS.

This was on the list for a longer time now. FreeBSD removed it
recently, too. Their commit msg has some more info:

"IPX was a network transport protocol in Novell's NetWare network
operating system from late 80s and then 90s. The NetWare itself
switched to TCP/IP as default transport in 1998. Later, in this
century the Novell Open Enterprise Server became successor of
Novell NetWare. The last release that claimed to still support
IPX was OES 2 in 2007. Routing equipment vendors (e.g. Cisco)
discontinued support for IPX in 2011."

The commit removes support for NCP (NetWare Core Protocol) and
NWFS (NetWare File System) along with it (both gone from FreeBSD
too since a while).

show more ...


Revision tags: v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0
# 748810cc 05-Sep-2013 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Change time_second to time_uptime for all expiration calculations (2)

* Fix userspace issues calculating rmx_expire for display due to
time_second -> time_uptime change.

The route, arp

kernel - Change time_second to time_uptime for all expiration calculations (2)

* Fix userspace issues calculating rmx_expire for display due to
time_second -> time_uptime change.

The route, arp, ndp, and rarpd utilities are affected by this change.

show more ...


Revision tags: v3.4.3
# dc71b7ab 31-May-2013 Justin C. Sherrill <justin@shiningsilence.com>

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadl

Correct BSD License clause numbering from 1-2-4 to 1-2-3.

Apparently everyone's doing it:
http://svnweb.freebsd.org/base?view=revision&revision=251069

Submitted-by: "Eitan Adler" <lists at eitanadler.com>

show more ...


Revision tags: v3.4.2
# 25a2db75 06-May-2013 Justin C. Sherrill <justin@shiningsilence.com>

Remove advertising header from all userland binaries.

From: Eitan Adler <lists@eitanadler.com>


Revision tags: v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2
# 0e23ab10 19-Nov-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

netstat: Make netstat -rn more resilient to having the routing table changing

Obtained-from: FreeBSD 176289 by jhb
"Make netstat -rn more resilient to having the routing table change out from
u

netstat: Make netstat -rn more resilient to having the routing table changing

Obtained-from: FreeBSD 176289 by jhb
"Make netstat -rn more resilient to having the routing table change out from
under it while running. Note that this is still not perfect:
- Try to do something intelligent if kvm_read() fails to read a routing
table structure such as an rtentry, radix_node, or ifnet.
- Don't follow left and right node pointers in radix_nodes unless
RNF_ACTIVE is set in rn_flags. This avoids walking through freed
radix_nodes."

show more ...


Revision tags: v3.2.1, v3.2.0, v3.3.0
# eed9e955 01-Oct-2012 John Marino <draco@marino.st>

gcc47 warnings: A few more fixes

usr.bin/make pass -fno-address, NO_WERROR=true
usr.bin/monitor modified source file
usr.bin/netstat modified source file (2)
usr.bin/sdpquery WARNS=2, pass -fno-u

gcc47 warnings: A few more fixes

usr.bin/make pass -fno-address, NO_WERROR=true
usr.bin/monitor modified source file
usr.bin/netstat modified source file (2)
usr.bin/sdpquery WARNS=2, pass -fno-unused-but-set-variable

Make has several evaluations that gcc47 believes will always
(without exception) evaluate to true or false. Likely gcc47 is not
detecting some cases correctly, so -Wno-address was passed to it.
However, -Werror overrides it, so NO_WERROR had to be set on this
Makefile.

The remaining GCC warnings will be left for swildner to handle.
The -Werror flag will be suppress for GCC47 until further notice.

show more ...


Revision tags: v3.0.3
# bf522a91 12-Apr-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

rt_metrics: Add rmx_iw* to record user-set IW parameters


Revision tags: v3.0.2
# 678e8cc6 05-Mar-2012 Sascha Wildner <saw@online.de>

Sweep-fix comparing pointers with 0 (and assigning 0 to pointers).

For better readability, don't compare pointers with 0 or assign 0
to them. Use NULL instead.

The change was done with coccinelle.


Revision tags: v3.0.1
# dc655811 23-Jan-2012 Sepherosa Ziehau <sephe@dragonflybsd.org>

route utils: Recognize IFT_CARP link layer address


Revision tags: v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


# 8ec89e60 14-Nov-2011 Sepherosa Ziehau <sephe@dragonflybsd.org>

rt_metrics: Add rmx_msl to record user-set MSL


# d22a69a4 11-Nov-2011 Sascha Wildner <saw@online.de>

Nuke AppleTalk support.

It has been broken for a while, too.

Various bits and pieces still remain, mainly in documentation, which
I'll mop up on the weekend.

I hope I haven't cut too deep but I do

Nuke AppleTalk support.

It has been broken for a while, too.

Various bits and pieces still remain, mainly in documentation, which
I'll mop up on the weekend.

I hope I haven't cut too deep but I don't think so.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2169>

show more ...


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0, v2.3.2
# b82e1528 16-May-2009 Sascha Wildner <saw@online.de>

netstat(1): Raise WARNS to 6 and fix warnings.


Revision tags: v2.3.1, v2.2.1
# 60233e58 05-Apr-2009 Sascha Wildner <saw@online.de>

Generally use NULL instead of explicitly casting 0 to some pointer type.


Revision tags: v2.2.0, v2.3.0
# 15b85273 14-Dec-2008 Sascha Wildner <saw@online.de>

Remove some unnecessary casts.


12