Lines Matching defs:carp_softc

96 struct carp_softc {
140 TAILQ_ENTRY(carp_softc) sc_list; /* On the carp_if list. */
141 LIST_ENTRY(carp_softc) sc_next; /* On the global list. */
151 TAILQ_HEAD(, carp_softc) cif_vrs;
285 #define CARP_LOCK_INIT(sc) mtx_init(&(sc)->sc_mtx, "carp_softc", \
339 static struct carp_softc
341 static void carp_destroy(struct carp_softc *);
345 static void carp_set_state(struct carp_softc *, int, const char* reason);
346 static void carp_sc_state(struct carp_softc *);
347 static void carp_setrun(struct carp_softc *, sa_family_t);
349 static void carp_master_down_locked(struct carp_softc *,
351 static void carp_send_ad_locked(struct carp_softc *);
352 static void vrrp_send_ad_locked(struct carp_softc *);
353 static void carp_addroute(struct carp_softc *);
355 static void carp_delroute(struct carp_softc *);
360 static LIST_HEAD(, carp_softc) carp_list;
385 carp_hmac_prepare(struct carp_softc *sc)
460 carp_hmac_generate(struct carp_softc *sc, uint32_t counter[2],
481 carp_hmac_verify(struct carp_softc *sc, uint32_t counter[2],
828 struct carp_softc *sc;
952 struct carp_softc *sc;
1049 carp_tag(struct carp_softc *sc, struct mbuf *m)
1067 carp_prepare_ad(struct mbuf *m, struct carp_softc *sc, struct carp_header *ch)
1087 send_ad_locked(struct carp_softc *sc)
1106 struct carp_softc *sc;
1127 struct carp_softc *sc = v;
1140 carp_send_ad_error(struct carp_softc *sc, int error)
1206 carp_send_ad_locked(struct carp_softc *sc)
1355 vrrp_send_ad_locked(struct carp_softc *sc)
1536 carp_addroute(struct carp_softc *sc)
1567 carp_delroute(struct carp_softc *sc)
1600 struct carp_softc *sc = ifa->ifa_carp;
1612 carp_send_arp(struct carp_softc *sc)
1630 struct carp_softc *sc = ifa->ifa_carp;
1643 carp_send_na(struct carp_softc *sc)
1697 struct carp_softc *sc = ifa->ifa_carp;
1701 sizeof(struct carp_softc *), M_NOWAIT);
1719 struct carp_softc *sc;
1746 struct carp_softc *sc = v;
1763 carp_master_down_locked(struct carp_softc *sc, const char *reason)
1799 carp_setrun(struct carp_softc *sc, sa_family_t af)
2077 static struct carp_softc*
2080 struct carp_softc *sc;
2089 *sc = (struct carp_softc ){
2135 carp_grow_ifas(struct carp_softc *sc)
2149 carp_destroy(struct carp_softc *sc)
2230 carp_carprcp(void *arg, struct carp_softc *sc, int priv)
2259 struct carp_softc *sc = NULL;
2343 bool (*outfn)(void *, struct carp_softc *, int), void *arg)
2346 struct carp_softc *sc;
2454 struct carp_softc *sc;
2531 struct carp_softc *sc = ifa->ifa_carp;
2586 carp_set_state(struct carp_softc *sc, int state, const char *reason)
2610 struct carp_softc *sc;
2622 carp_sc_state(struct carp_softc *sc)
2664 struct carp_softc *sc;
2736 carp_nl_send(void *arg, struct carp_softc *sc, int priv)