History log of /openbsd-current/usr.sbin/dvmrpctl/dvmrpctl.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 20-Jan-2022 naddy

dvmrpctl: fix -Wunused-but-set-variable warning

ok guenther@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.15 05-Dec-2015 claudio

EAGAIN handling for imsg_read. OK henning@ benno@


# 1.14 25-Oct-2015 deraadt

pledge "route" no longer needed for if_indextoname & if_nametoindex


# 1.13 10-Oct-2015 deraadt

pledge "stdio route"; untested. this has the if_nametoindex() problem as
other *ctl programs using their daemon's log.c, and thus requires "route"
for now. we hope to solve that issue soon.


# 1.12 27-Sep-2015 stsp

As done for bgpd recently, rename if_mediatype to if_type in dvrmpd.
Remove unused function get_ifms_type(). No ifmedia in here anymore.
"move forward" deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.11 14-Nov-2013 deraadt

cope with the EAGAIN API change for msgbuf_write()
ok benno


Revision tags: OPENBSD_5_4_BASE
# 1.10 09-Apr-2013 gilles

do not store a time_t or the result of a time_t division in an int

prompted by deraadt@, ok claudio@ chl@ guenther@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.9 02-Nov-2009 claudio

Implement "log verbose" and "log brief" to enable or disable verbose debug
logging. henning, sthen, michele like the idea


# 1.8 14-Sep-2009 claudio

Switch the various link state printing codes to use the new if_media
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


Revision tags: OPENBSD_4_6_BASE
# 1.7 06-Jun-2009 pyr

make dvmrpd imsg-in-a-lib ready as well.
``put it in'' claudio@, ok eric@


Revision tags: OPENBSD_4_5_BASE
# 1.6 24-Jan-2009 michele

Reflect dvmrpd changes, nbr_cnt is no more needed.

ok norby@


# 1.5 31-Dec-2008 sobrado

sync synopsis/usage.


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.4 15-Oct-2007 deraadt

specifying int instead of just unsigned is better style


Revision tags: OPENBSD_4_2_BASE
# 1.3 30-May-2007 henning

yuck, no cookie for me


Revision tags: OPENBSD_4_1_BASE
# 1.2 28-Nov-2006 reyk

add additional link states to report the half duplex / full duplex
state, if known by the driver. this is required to check the full
duplex state without depending on the ifmedia ioctl which can't be
called in the kernel without process context.

ok henning@, brad@


Revision tags: OPENBSD_4_0_BASE
# 1.1 01-Jun-2006 norby

Controller for dvmrpd.

Almost all available information in dvmrpd can be read.
Not connected to builds yet.

ok claudio@


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.15 05-Dec-2015 claudio

EAGAIN handling for imsg_read. OK henning@ benno@


# 1.14 25-Oct-2015 deraadt

pledge "route" no longer needed for if_indextoname & if_nametoindex


# 1.13 10-Oct-2015 deraadt

pledge "stdio route"; untested. this has the if_nametoindex() problem as
other *ctl programs using their daemon's log.c, and thus requires "route"
for now. we hope to solve that issue soon.


# 1.12 27-Sep-2015 stsp

As done for bgpd recently, rename if_mediatype to if_type in dvrmpd.
Remove unused function get_ifms_type(). No ifmedia in here anymore.
"move forward" deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.11 14-Nov-2013 deraadt

cope with the EAGAIN API change for msgbuf_write()
ok benno


Revision tags: OPENBSD_5_4_BASE
# 1.10 09-Apr-2013 gilles

do not store a time_t or the result of a time_t division in an int

prompted by deraadt@, ok claudio@ chl@ guenther@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.9 02-Nov-2009 claudio

Implement "log verbose" and "log brief" to enable or disable verbose debug
logging. henning, sthen, michele like the idea


# 1.8 14-Sep-2009 claudio

Switch the various link state printing codes to use the new if_media
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


Revision tags: OPENBSD_4_6_BASE
# 1.7 06-Jun-2009 pyr

make dvmrpd imsg-in-a-lib ready as well.
``put it in'' claudio@, ok eric@


Revision tags: OPENBSD_4_5_BASE
# 1.6 24-Jan-2009 michele

Reflect dvmrpd changes, nbr_cnt is no more needed.

ok norby@


# 1.5 31-Dec-2008 sobrado

sync synopsis/usage.


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.4 15-Oct-2007 deraadt

specifying int instead of just unsigned is better style


Revision tags: OPENBSD_4_2_BASE
# 1.3 30-May-2007 henning

yuck, no cookie for me


Revision tags: OPENBSD_4_1_BASE
# 1.2 28-Nov-2006 reyk

add additional link states to report the half duplex / full duplex
state, if known by the driver. this is required to check the full
duplex state without depending on the ifmedia ioctl which can't be
called in the kernel without process context.

ok henning@, brad@


Revision tags: OPENBSD_4_0_BASE
# 1.1 01-Jun-2006 norby

Controller for dvmrpd.

Almost all available information in dvmrpd can be read.
Not connected to builds yet.

ok claudio@