Lines Matching defs:carp_softc

111 	struct carp_softc *parent_sc;
136 struct carp_softc {
149 SRPL_ENTRY(carp_softc) sc_list;
224 void carp_hmac_prepare(struct carp_softc *);
241 void carp_vhe_send_ad_all(struct carp_softc *);
244 void carp_send_arp(struct carp_softc *);
248 int carp_vhids_ioctl(struct carp_softc *, struct carpreq *);
249 int carp_check_dup_vhids(struct carp_softc *, struct srpl *,
255 void carp_transmit(struct carp_softc *, struct ifnet *, struct mbuf *);
256 void carp_setrun_all(struct carp_softc *, sa_family_t);
258 void carp_set_state_all(struct carp_softc *, int);
260 void carp_multicast_cleanup(struct carp_softc *);
261 int carp_set_ifp(struct carp_softc *, struct ifnet *);
262 void carp_set_enaddr(struct carp_softc *);
265 int carp_set_addr(struct carp_softc *, struct sockaddr_in *);
266 int carp_join_multicast(struct carp_softc *);
268 void carp_send_na(struct carp_softc *);
269 int carp_set_addr6(struct carp_softc *, struct sockaddr_in6 *);
270 int carp_join_multicast6(struct carp_softc *);
275 int carp_ether_addmulti(struct carp_softc *, struct ifreq *);
276 int carp_ether_delmulti(struct carp_softc *, struct ifreq *);
277 void carp_ether_purgemulti(struct carp_softc *);
278 int carp_group_demote_count(struct carp_softc *);
279 void carp_update_lsmask(struct carp_softc *);
280 int carp_new_vhost(struct carp_softc *, int, int);
281 void carp_destroy_vhosts(struct carp_softc *);
282 void carp_del_all_timeouts(struct carp_softc *);
283 int carp_vhe_match(struct carp_softc *, uint64_t);
292 carp_hmac_prepare(struct carp_softc *sc)
309 struct carp_softc *sc = vhe->parent_sc;
462 struct carp_softc *sc = NULL;
560 struct carp_softc *sc = NULL;
621 struct carp_softc *sc;
810 struct carp_softc *sc;
869 carp_new_vhost(struct carp_softc *sc, int vhid, int advskew)
912 struct carp_softc *sc = ifp->if_softc;
934 carp_del_all_timeouts(struct carp_softc *sc)
949 struct carp_softc *sc = arg;
973 SRPL_REMOVE_LOCKED(&carp_sc_rc, cif, sc, carp_softc, sc_list);
983 carp_destroy_vhosts(struct carp_softc *sc)
1022 struct carp_softc *vh;
1045 carp_vhe_send_ad_all(struct carp_softc *sc)
1070 struct carp_softc *sc = vhe->parent_sc;
1289 carp_send_arp(struct carp_softc *sc)
1306 carp_send_na(struct carp_softc *sc)
1329 carp_update_lsmask(struct carp_softc *sc)
1353 struct carp_softc *sc = ifp->if_softc;
1370 struct carp_softc *sc;
1392 carp_vhe_match(struct carp_softc *sc, uint64_t dst)
1410 struct carp_softc *sc;
1479 struct carp_softc *sc;
1539 struct carp_softc *sc = vhe->parent_sc;
1569 carp_setrun_all(struct carp_softc *sc, sa_family_t af)
1588 struct carp_softc *sc = vhe->parent_sc;
1657 carp_multicast_cleanup(struct carp_softc *sc)
1691 carp_set_ifp(struct carp_softc *sc, struct ifnet *ifp0)
1694 struct carp_softc *vr, *last = NULL, *after = NULL;
1763 struct carp_softc *sc = vhe->parent_sc;
1780 carp_set_enaddr(struct carp_softc *sc)
1822 struct carp_softc *sc = (struct carp_softc *) v;
1870 carp_set_addr(struct carp_softc *sc, struct sockaddr_in *sin)
1892 carp_join_multicast(struct carp_softc *sc)
1916 carp_set_addr6(struct carp_softc *sc, struct sockaddr_in6 *sin6)
1936 carp_join_multicast6(struct carp_softc *sc)
1983 struct carp_softc *sc = v;
1997 struct carp_softc *sc = ifp->if_softc;
2174 carp_check_dup_vhids(struct carp_softc *sc, struct srpl *cif,
2177 struct carp_softc *vr;
2204 carp_vhids_ioctl(struct carp_softc *sc, struct carpreq *carpr)
2271 adj = ((struct carp_softc *)ifp->if_softc)->sc_demote_cnt;
2289 struct carp_softc *sc = ifp->if_softc;
2299 struct carp_softc *sc = ifp->if_softc;
2314 carp_transmit(struct carp_softc *sc, struct ifnet *ifp0, struct mbuf *m)
2351 struct carp_softc *sc = ifp->if_softc;
2377 struct carp_softc *sc = ((struct carp_softc *)ifp->if_softc);
2399 carp_set_state_all(struct carp_softc *sc, int state)
2416 struct carp_softc *sc = vhe->parent_sc;
2463 struct carp_softc *nil = NULL;
2466 dm = &((struct carp_softc *)ifp->if_softc)->sc_demote_cnt;
2496 carp_group_demote_count(struct carp_softc *sc)
2513 struct carp_softc *sc = v;
2540 carp_ether_addmulti(struct carp_softc *sc, struct ifreq *ifr)
2596 carp_ether_delmulti(struct carp_softc *sc, struct ifreq *ifr)
2652 carp_ether_purgemulti(struct carp_softc *sc)
2701 struct carp_softc *sc = s;
2709 struct carp_softc *sc = s;