Lines Matching refs:carp_softc

95 struct carp_softc {  struct
133 TAILQ_ENTRY(carp_softc) sc_list; /* On the carp_if list. */ argument
134 LIST_ENTRY(carp_softc) sc_next; /* On the global list. */
144 TAILQ_HEAD(, carp_softc) cif_vrs;
328 static struct carp_softc
330 static void carp_destroy(struct carp_softc *);
334 static void carp_set_state(struct carp_softc *, int, const char* reason);
335 static void carp_sc_state(struct carp_softc *);
336 static void carp_setrun(struct carp_softc *, sa_family_t);
338 static void carp_master_down_locked(struct carp_softc *,
341 static void carp_send_ad_locked(struct carp_softc *);
342 static void carp_addroute(struct carp_softc *);
344 static void carp_delroute(struct carp_softc *);
349 static LIST_HEAD(, carp_softc) carp_list;
374 carp_hmac_prepare(struct carp_softc *sc) in carp_hmac_prepare()
448 carp_hmac_generate(struct carp_softc *sc, uint32_t counter[2], in carp_hmac_generate()
469 carp_hmac_verify(struct carp_softc *sc, uint32_t counter[2], in carp_hmac_verify()
667 struct carp_softc *sc; in carp_input_c()
813 carp_prepare_ad(struct mbuf *m, struct carp_softc *sc, struct carp_header *ch) in carp_prepare_ad()
831 if ((mtag = m_tag_get(PACKET_TAG_CARP, sizeof(struct carp_softc *), in carp_prepare_ad()
850 struct carp_softc *sc; in carp_send_ad_all()
871 struct carp_softc *sc = v; in carp_send_ad()
884 carp_send_ad_error(struct carp_softc *sc, int error) in carp_send_ad_error()
950 carp_send_ad_locked(struct carp_softc *sc) in carp_send_ad_locked()
1094 carp_addroute(struct carp_softc *sc) in carp_addroute()
1125 carp_delroute(struct carp_softc *sc) in carp_delroute()
1158 struct carp_softc *sc = ifa->ifa_carp; in carp_master()
1170 carp_send_arp(struct carp_softc *sc) in carp_send_arp()
1188 struct carp_softc *sc = ifa->ifa_carp; in carp_iamatch()
1201 carp_send_na(struct carp_softc *sc) in carp_send_na()
1255 struct carp_softc *sc = ifa->ifa_carp; in carp_macmatch6()
1259 sizeof(struct carp_softc *), M_NOWAIT); in carp_macmatch6()
1277 struct carp_softc *sc; in carp_forus()
1304 struct carp_softc *sc = v; in carp_master_down()
1321 carp_master_down_locked(struct carp_softc *sc, const char *reason) in carp_master_down_locked()
1357 carp_setrun(struct carp_softc *sc, sa_family_t af) in carp_setrun()
1562 struct carp_softc *sc; in carp_output()
1624 static struct carp_softc*
1627 struct carp_softc *sc; in carp_alloc()
1671 carp_grow_ifas(struct carp_softc *sc) in carp_grow_ifas()
1685 carp_destroy(struct carp_softc *sc) in carp_destroy()
1766 carp_carprcp(void *arg, struct carp_softc *sc, int priv) in carp_carprcp()
1788 struct carp_softc *sc = NULL; in carp_ioctl_set()
1866 bool (*outfn)(void *, struct carp_softc *, int), void *arg) in carp_ioctl_get() argument
1869 struct carp_softc *sc; in carp_ioctl_get()
1975 struct carp_softc *sc; in carp_attach()
2051 struct carp_softc *sc = ifa->ifa_carp; in carp_detach()
2105 carp_set_state(struct carp_softc *sc, int state, const char *reason) in carp_set_state()
2129 struct carp_softc *sc; in carp_linkstate()
2141 carp_sc_state(struct carp_softc *sc) in carp_sc_state()
2183 struct carp_softc *sc; in carp_allow_sysctl()
2255 carp_nl_send(void *arg, struct carp_softc *sc, int priv) in carp_nl_send()