CVSROOT:        /cvs
Module name:    src
Changes by:     d...@cvs.openbsd.org    2018/01/10 16:50:39

Modified files:
        sys/net        : if.c if_bridge.c if_var.h 
        sys/netinet    : ip_carp.c ip_carp.h 

Log message:
get rid of struct carp_if by moving the srpl into struct ifnet if_carp.

currently carp uses a struct carp_if to hold an srp list head, which
is accessed by both if_carp in struct ifnet, and via the if input
handlers list.

this gets rid of some indirection by making if_carp itself the list
head, rather than a pointer to the list head via a struct carp_if.
it also makes accessing the list consistent by only using if_carp
to get to it.

ok mpi@

Reply via email to