Date: Tue, 15 Oct 2019 12:59:58 +0300 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Michael Tuexen <tuexen@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r353480 - in head/sys: net netinet sys Message-ID: <846a796c-1119-c401-e05a-b08e2eac6b72@yandex.ru> In-Reply-To: <201910131817.x9DIH9YQ047799@repo.freebsd.org> References: <201910131817.x9DIH9YQ047799@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --w5ggkuqZOLvSAQHLsXU3a3C9xbWh99ZZa Content-Type: multipart/mixed; boundary="aofk1Dx4x0svO139gk0N44aNMzA9Azai8"; protected-headers="v1" From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Michael Tuexen <tuexen@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-ID: <846a796c-1119-c401-e05a-b08e2eac6b72@yandex.ru> Subject: Re: svn commit: r353480 - in head/sys: net netinet sys References: <201910131817.x9DIH9YQ047799@repo.freebsd.org> In-Reply-To: <201910131817.x9DIH9YQ047799@repo.freebsd.org> --aofk1Dx4x0svO139gk0N44aNMzA9Azai8 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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 >=20 > 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 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- 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); > =20 > +/* 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. --=20 WBR, Andrey V. Elsukov --aofk1Dx4x0svO139gk0N44aNMzA9Azai8-- --w5ggkuqZOLvSAQHLsXU3a3C9xbWh99ZZa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQEzBAEBCAAdFiEE5lkeG0HaFRbwybwAAcXqBBDIoXoFAl2lmJ4ACgkQAcXqBBDI oXoqkQf/dpp6pEPWzRZyH1ql+Hm4zhv1DZGrFjO0ZP6DerTVqIi6eQvH07anm5NK 3skhjvqwsX6iG3tiOUVv5jnar6eWv55XUCa1hofyPVbNRPCfMJwqFruqIVtlk7nl p4N6q6208s0Ffxyhkp/Q+8WhxzN9zeleU4cwxZJ7phlju1Z6jm7BVikEfIFakDnZ 8X6F+F+sJ47pyuntmqfTF557I5okquEpweowUA+CLYfzmChN85oBL9ZSpj6QOgN3 XOda+n7504KKL2vTVxZ8yJRW1nhu5471+ZkmEwQCk3X56eRa38icZcqVx2qmX1nF 2Krsfw+nbRlNxGPceCpYKFDKAn66Xw== =RCyl -----END PGP SIGNATURE----- --w5ggkuqZOLvSAQHLsXU3a3C9xbWh99ZZa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?846a796c-1119-c401-e05a-b08e2eac6b72>