Lines Matching refs:carp_softc
96 struct carp_softc { struct
140 TAILQ_ENTRY(carp_softc) sc_list; /* On the carp_if list. */ argument
141 LIST_ENTRY(carp_softc) sc_next; /* On the global list. */
151 TAILQ_HEAD(, carp_softc) cif_vrs;
337 static struct carp_softc
339 static void carp_destroy(struct carp_softc *);
343 static void carp_set_state(struct carp_softc *, int, const char* reason);
344 static void carp_sc_state(struct carp_softc *);
345 static void carp_setrun(struct carp_softc *, sa_family_t);
347 static void carp_master_down_locked(struct carp_softc *,
349 static void carp_send_ad_locked(struct carp_softc *);
350 static void vrrp_send_ad_locked(struct carp_softc *);
351 static void carp_addroute(struct carp_softc *);
353 static void carp_delroute(struct carp_softc *);
358 static LIST_HEAD(, carp_softc) carp_list = LIST_HEAD_INITIALIZER(carp_list);
383 carp_hmac_prepare(struct carp_softc *sc) in carp_hmac_prepare()
458 carp_hmac_generate(struct carp_softc *sc, uint32_t counter[2], in carp_hmac_generate()
479 carp_hmac_verify(struct carp_softc *sc, uint32_t counter[2], in carp_hmac_verify()
826 struct carp_softc *sc; in carp_input_c()
950 struct carp_softc *sc; in vrrp_input_c()
1047 carp_tag(struct carp_softc *sc, struct mbuf *m) in carp_tag()
1065 carp_prepare_ad(struct mbuf *m, struct carp_softc *sc, struct carp_header *ch) in carp_prepare_ad()
1085 send_ad_locked(struct carp_softc *sc) in send_ad_locked()
1104 struct carp_softc *sc; in carp_send_ad_all()
1125 struct carp_softc *sc = v; in carp_callout()
1138 carp_send_ad_error(struct carp_softc *sc, int error) in carp_send_ad_error()
1204 carp_send_ad_locked(struct carp_softc *sc) in carp_send_ad_locked()
1353 vrrp_send_ad_locked(struct carp_softc *sc) in vrrp_send_ad_locked()
1534 carp_addroute(struct carp_softc *sc) in carp_addroute()
1565 carp_delroute(struct carp_softc *sc) in carp_delroute()
1598 struct carp_softc *sc = ifa->ifa_carp; in carp_master()
1610 carp_send_arp(struct carp_softc *sc) in carp_send_arp()
1628 struct carp_softc *sc = ifa->ifa_carp; in carp_iamatch()
1641 carp_send_na(struct carp_softc *sc) in carp_send_na()
1696 struct carp_softc *sc = ifa->ifa_carp; in carp_macmatch6()
1726 struct carp_softc *sc; in carp_forus()
1753 struct carp_softc *sc = v; in carp_master_down()
1770 carp_master_down_locked(struct carp_softc *sc, const char *reason) in carp_master_down_locked()
1806 carp_setrun(struct carp_softc *sc, sa_family_t af) in carp_setrun()
2084 static struct carp_softc*
2087 struct carp_softc *sc; in carp_alloc()
2096 *sc = (struct carp_softc ){ in carp_alloc()
2142 carp_grow_ifas(struct carp_softc *sc) in carp_grow_ifas()
2156 carp_destroy(struct carp_softc *sc) in carp_destroy()
2237 carp_carprcp(void *arg, struct carp_softc *sc, int priv) in carp_carprcp()
2266 struct carp_softc *sc = NULL; in carp_ioctl_set()
2350 bool (*outfn)(void *, struct carp_softc *, int), void *arg) in carp_ioctl_get() argument
2353 struct carp_softc *sc; in carp_ioctl_get()
2461 struct carp_softc *sc; in carp_attach()
2538 struct carp_softc *sc = ifa->ifa_carp; in carp_detach()
2593 carp_set_state(struct carp_softc *sc, int state, const char *reason) in carp_set_state()
2617 struct carp_softc *sc; in carp_linkstate()
2629 carp_sc_state(struct carp_softc *sc) in carp_sc_state()
2671 struct carp_softc *sc; in carp_allow_sysctl()
2743 carp_nl_send(void *arg, struct carp_softc *sc, int priv) in carp_nl_send()