On 13.10.2019 21:17, Michael Tuexen wrote:
> Author: tuexen
> Date: Sun Oct 13 18:17:08 2019
> New Revision: 353480
> URL: https://svnweb.freebsd.org/changeset/base/353480
> 
> Log:
>   Use an event handler to notify the SCTP about IP address changes
>   instead of calling an SCTP specific function from the IP code.
>   This is a requirement of supporting SCTP as a kernel loadable module.
>   This patch was developed by markj@, I tweaked a bit the SCTP related
>   code.
> Modified: head/sys/sys/eventhandler.h
> ==============================================================================
> --- head/sys/sys/eventhandler.h       Sun Oct 13 18:03:23 2019        
> (r353479)
> +++ head/sys/sys/eventhandler.h       Sun Oct 13 18:17:08 2019        
> (r353480)
> @@ -312,4 +312,9 @@ typedef void (*device_detach_fn)(void *, device_t, enu
>  EVENTHANDLER_DECLARE(device_attach, device_attach_fn);
>  EVENTHANDLER_DECLARE(device_detach, device_detach_fn);
>  
> +/* Interface address addition and removal event */
> +struct ifaddr;
> +typedef void (*rt_addrmsg_fn)(void *, struct ifaddr *, int);
> +EVENTHANDLER_DECLARE(rt_addrmsg, rt_addrmsg_fn);
> +
>  #endif /* _SYS_EVENTHANDLER_H_ */

Hi,

it looks like duplicate functional of ifaddr_event_ext event handler.

-- 
WBR, Andrey V. Elsukov

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to