carp_softc
struct carp_softc *sc;
carp_proto_input_c(struct carp_softc *sc, struct mbuf *m,
struct carp_softc *sc = scc->scc_softc;
carp_prepare_ad(struct carp_softc *sc, struct carp_header *ch)
struct carp_softc *sc;
struct carp_softc *sc = xsc;
struct carp_softc *sc = cmsg->nc_softc;
carp_send_ad(struct carp_softc *sc)
carp_send_arp(struct carp_softc *sc)
carp_send_na(struct carp_softc *sc)
carp_find_addr(const struct carp_softc *sc, const struct in_addr *addr)
const struct carp_softc *vh;
const struct carp_softc *sc = ia->ia_ifp->if_softc;
struct carp_softc *vh;
struct carp_softc *sc;
struct carp_softc *sc = scc->scc_softc;
struct carp_softc *sc = xsc;
struct carp_softc *sc = cmsg->nc_softc;
carp_master_down(struct carp_softc *sc)
carp_setrun(struct carp_softc *sc, sa_family_t af)
carp_multicast_cleanup(struct carp_softc *sc)
carp_multicast6_cleanup(struct carp_softc *sc)
struct carp_softc *sc = cmsg->nc_softc;
carp_ioctl_getvhaddr(struct carp_softc *sc, struct ifdrv *ifd)
carp_config_vhaddr(struct carp_softc *sc, struct carp_vhaddr *vha,
carp_add_addr(struct carp_softc *sc, struct ifaddr *carp_ifa)
carp_del_addr(struct carp_softc *sc, struct ifaddr *carp_ifa)
carp_config_addr(struct carp_softc *sc, struct ifaddr *carp_ifa)
carp_set_addr6(struct carp_softc *sc, struct sockaddr_in6 *sin6)
struct carp_softc *vr;
struct carp_softc *vr, *after = NULL;
carp_del_addr6(struct carp_softc *sc, struct sockaddr_in6 *sin6)
struct carp_softc *sc = ifp->if_softc;
struct carp_softc *sc = cmsg->nc_softc;
carp_ioctl_stop(struct carp_softc *sc)
struct carp_softc *sc = cmsg->nc_softc;
struct carp_softc *vr = scc->scc_softc;
carp_ioctl_setvh(struct carp_softc *sc, void *udata, struct ucred *cr)
struct carp_softc *sc = cmsg->nc_softc;
struct carp_softc;
carp_ioctl_ifcap(struct carp_softc *sc, int reqcap)
struct carp_softc *sc = cmsg->nc_softc;
carp_ioctl_getvh(struct carp_softc *sc, void *udata, struct ucred *cr)
struct carp_softc *sc = cmsg->nc_softc;
carp_ioctl_getdevname(struct carp_softc *sc, struct ifdrv *ifd)
struct carp_softc *sc = cmsg->nc_softc;
struct carp_softc *nc_softc;
struct carp_softc *sc = xsc;
struct carp_softc *sc = ifp->if_softc;
carp_set_state(struct carp_softc *sc, int state)
struct carp_softc *sc;
carp_sc_state(struct carp_softc *sc)
carp_stop(struct carp_softc *sc, boolean_t detach)
carp_suspend(struct carp_softc *sc, boolean_t detach)
carp_activate_vhaddr(struct carp_softc *sc, struct carp_vhaddr *vha,
struct carp_softc *vr = scc->scc_softc;
carp_deactivate_vhaddr(struct carp_softc *sc, struct carp_vhaddr *vha,
carp_link_addrs(struct carp_softc *sc, struct ifnet *ifp, struct ifaddr *ifa_if)
carp_unlink_addrs(struct carp_softc *sc, struct ifnet *ifp,
carp_update_addrs(struct carp_softc *sc, struct ifaddr *ifa_del)
struct carp_softc *sc;
LIST_ENTRY(carp_softc) sc_next; /* Interface clue */
struct carp_softc *sc;
carp_addroute_vhaddr(struct carp_softc *sc, struct carp_vhaddr *vha)
struct carp_softc *scc_softc;
carp_delroute_vhaddr(struct carp_softc *sc, struct carp_vhaddr *vha,
static void carp_hmac_prepare(struct carp_softc *);
static void carp_hmac_generate(struct carp_softc *, uint32_t [2],
static int carp_hmac_verify(struct carp_softc *, uint32_t [2],
static void carp_setroute(struct carp_softc *, int);
static void carp_proto_input_c(struct carp_softc *, struct mbuf *,
static void carp_detach(struct carp_softc *, boolean_t, boolean_t);
static void carp_prepare_ad(struct carp_softc *, struct carp_header *);
static void carp_send_ad(struct carp_softc *);
static void carp_send_arp(struct carp_softc *);
static void carp_master_down(struct carp_softc *);
static void carp_setrun(struct carp_softc *, sa_family_t);
static void carp_set_state(struct carp_softc *, int);
static void carp_multicast_cleanup(struct carp_softc *);
static void carp_add_addr(struct carp_softc *, struct ifaddr *);
static void carp_del_addr(struct carp_softc *, struct ifaddr *);
static void carp_config_addr(struct carp_softc *, struct ifaddr *);
static void carp_link_addrs(struct carp_softc *, struct ifnet *,
static void carp_unlink_addrs(struct carp_softc *, struct ifnet *,
static void carp_update_addrs(struct carp_softc *, struct ifaddr *);
static int carp_config_vhaddr(struct carp_softc *, struct carp_vhaddr *,
static int carp_activate_vhaddr(struct carp_softc *, struct carp_vhaddr *,
static void carp_deactivate_vhaddr(struct carp_softc *,
static int carp_addroute_vhaddr(struct carp_softc *, struct carp_vhaddr *);
static void carp_delroute_vhaddr(struct carp_softc *, struct carp_vhaddr *,
static void carp_sc_state(struct carp_softc *);
static void carp_send_na(struct carp_softc *);
static int carp_set_addr6(struct carp_softc *, struct sockaddr_in6 *);
static int carp_del_addr6(struct carp_softc *, struct sockaddr_in6 *);
static void carp_multicast6_cleanup(struct carp_softc *);
static void carp_stop(struct carp_softc *, boolean_t);
static void carp_suspend(struct carp_softc *, boolean_t);
static void carp_ioctl_stop(struct carp_softc *);
static int carp_ioctl_setvh(struct carp_softc *, void *, struct ucred *);
static void carp_ioctl_ifcap(struct carp_softc *, int);
static int carp_ioctl_getvh(struct carp_softc *, void *, struct ucred *);
static int carp_ioctl_getdevname(struct carp_softc *, struct ifdrv *);
static int carp_ioctl_getvhaddr(struct carp_softc *, struct ifdrv *);
static struct carp_if *carp_if_remove(struct carp_if *, struct carp_softc *);
static struct carp_if *carp_if_insert(struct carp_if *, struct carp_softc *);
static LIST_HEAD(, carp_softc) carpif_list;
carp_insert_vhaddr(struct carp_softc *sc, struct carp_vhaddr *vha_new)
carp_remove_vhaddr(struct carp_softc *sc, struct carp_vhaddr *vha)
carp_hmac_prepare(struct carp_softc *sc)
carp_hmac_generate(struct carp_softc *sc, uint32_t counter[2],
carp_hmac_verify(struct carp_softc *sc, uint32_t counter[2],
carp_setroute(struct carp_softc *sc, int cmd)
struct carp_softc *sc;
struct carp_softc *sc = cmsg->nc_softc;
struct carp_softc *sc = ifp->if_softc;
carp_if_remove(struct carp_if *ocif, struct carp_softc *sc)
carp_if_insert(struct carp_if *ocif, struct carp_softc *sc)
carp_detach(struct carp_softc *sc, boolean_t detach, boolean_t del_iaback)
struct carp_softc *sc;