OpenBSD cvs log

created 2020-01-30T08:39:09Z
begin 2019-11-08T01:20:22Z
end 2019-11-08T07:16:29Z
path src/sys
commits 1

date 2019-11-08T07:16:29Z
author dlg
files src/sys/net/if.c log diff annotate
src/sys/net/if_pppx.c log diff annotate
src/sys/net/if_spppsubr.c log diff annotate
src/sys/net/if_var.h log diff annotate
src/sys/net/if_vxlan.c log diff annotate
src/sys/net/pf_if.c log diff annotate
src/sys/netinet/in.c log diff annotate
src/sys/netinet/ip_carp.c log diff annotate
src/sys/netinet6/in6.c log diff annotate
src/sys/netinet6/in6_ifattach.c log diff annotate
message convert interface address change hooks to tasks and a task_list.

this follows what's been done for detach and link state hooks, and
makes handling of hooks generally more robust.

address hooks are a bit different to detach/link state hooks in
that there's only a few things that register hooks (carp, pf, vxlan),
but a lot of places to run the hooks (lots of ipv4 and ipv6 address
configuration).

an address hook cookie was in struct pfi_kif, which is part of the
pf abi. rather than break pfctl -sI, this maintains the void * used
for the cookie and uses it to store a task, which is then used as
intended with the new api.