Re: FreeBSD9 ifnet + Member Function void (*if_watchdog)(struct ifnet *ifp)

From: Sergey Kandaurov <pluknet_at_gmail.com>
Date: Mon, 1 Aug 2011 10:33:20 +0400
On 1 August 2011 03:09, Olli Hauer <ohauer_at_freebsd.org> wrote:
> Hi,
>
> I just tried to build VMware modules for FreeBSD9-BETA1 and noticed
> the ifnet Member Function
>
>  void (*if_watchdog)(struct ifnet *ifp)
>
> was removed from net/if_var.h.
>
> Is there a suggested replacement?

Per-ifnet watchdogs were transformed to private per-softc callout timer
in earlier 9.x. See this thread for details:
http://lists.freebsd.org/pipermail/freebsd-net/2009-November/023677.html

>
> PS:
> The man page for ifnet(9) does not reflect the remove of this
> (now missing) Member Function.

It is massively outdated. I plan to update it some day when I get
some more spare time/review.

-- 
wbr,
pluknet
Received on Mon Aug 01 2011 - 04:33:21 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC