svn commit: r353480 - in head/sys: net netinet sys
Andrey V. Elsukov
bu7cher at yandex.ru
Tue Oct 15 10:00:32 UTC 2019
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20191015/fa2c0e7c/attachment.sig>
More information about the svn-src-all
mailing list