Searched refs:vhid (Results 1 - 4 of 4) sorted by relevance

/freebsd-10-stable/share/examples/hast/
H A Ducarp.sh45 vhid="1"
69 ucarp -i ${ifnet} -s ${srcip} -v ${vhid} -a ${addr} -p ${pass} -u "${upscript}" -d "${downscript}"
/freebsd-10-stable/contrib/netbsd-tests/net/carp/
H A Dt_basic.sh67 vhid 175 advskew $advskew advbase 1 pass s3cret \
/freebsd-10-stable/sys/netinet/
H A Din.c802 int masksupplied, int vhid)
815 if (vhid > 0) {
817 error = (*carp_attach_p)(&ia->ia_ifa, vhid);
869 if (!vhid && (error = in_addprefix(ia, flags)) != 0)
882 if (V_useloopback && !vhid && !(ifp->if_flags & IFF_LOOPBACK)) {
801 in_ifinit(struct ifnet *ifp, struct in_ifaddr *ia, struct sockaddr_in *sin, int masksupplied, int vhid) argument
H A Dip_carp.c158 * host id, or vhid. The softc has a back pointer to the ifnet. All
162 * pointer to the softc of its vhid, ifa->ifa_carp. That could be either
325 uint8_t vhid = sc->sc_vhid & 0xff; local
348 SHA1Update(&sc->sc_sha1, (void *)&vhid, sizeof(vhid));
1551 carp_demote_adj(-V_carp_ifdown_adj, "vhid removed");
1814 carp_attach(struct ifaddr *ifa, int vhid) argument
1838 if (sc->sc_vhid == vhid)
1846 if (ifa->ifa_carp->sc_vhid != vhid)

Completed in 92 milliseconds