Home
last modified time | relevance | path

Searched refs:sc_peer (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/netinet/
H A Dip_carp.c185 struct in_addr sc_peer; member
644 ismulti != IN_MULTICAST(sc->sc_peer.s_addr)) in carp_proto_input_c()
1145 ip->ip_dst.s_addr = sc->sc_peer.s_addr; in carp_send_ad()
1164 !(!IN_MULTICAST(sc->sc_peer.s_addr) && error == EHOSTDOWN)){ in carp_send_ad()
1842 if (IN_MULTICAST(sc->sc_peer.s_addr)) { in carp_addr_updated()
1843 if (!in_hasmulti(&sc->sc_peer, &sc->sc_if)) { in carp_addr_updated()
1898 if (!IN_MULTICAST(sc->sc_peer.s_addr)) in carp_join_multicast()
1901 addr.s_addr = sc->sc_peer.s_addr; in carp_join_multicast()
2060 sc->sc_peer.s_addr = INADDR_CARP_GROUP; in carp_ioctl()
2062 sc->sc_peer.s_addr = carpr.carpr_peer.s_addr; in carp_ioctl()
[all …]
/openbsd/sys/net/
H A Dif_wg.c262 LIST_HEAD(,wg_peer) *sc_peer;
455 LIST_INSERT_HEAD(&sc->sc_peer[idx], peer, p_pubkey_entry); in wg_peer_create()
475 LIST_FOREACH(peer, &sc->sc_peer[idx], p_pubkey_entry) { in wg_peer_lookup()
2738 if ((sc->sc_peer = hashinit(HASHTABLE_PEER_SIZE, M_DEVBUF, in wg_clone_create()
2788 hashfree(sc->sc_peer, HASHTABLE_PEER_SIZE, M_DEVBUF); in wg_clone_create()
2830 hashfree(sc->sc_peer, HASHTABLE_PEER_SIZE, M_DEVBUF); in wg_clone_destroy()