Lines Matching full:carp
94 static MALLOC_DEFINE(M_CARP, "CARP", "CARP addresses");
99 carp_version_t sc_version; /* carp or VRRPv3 */
182 * Brief design of carp(4).
184 * Any carp-capable ifnet may have a list of carp softcs hanging off
189 * Any interface address that takes part in CARP negotiation has a
195 * involved in CARP, we keep a growable array of ifaddr pointers. This
213 /* Accept incoming CARP packets. */
217 /* Set DSCP in outgoing CARP packets. */
245 SYSCTL_NODE(_net_inet, IPPROTO_CARP, carp, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
246 "CARP");
250 "Accept incoming CARP packets");
254 "DSCP value for carp packets");
258 &VNET_NAME(carp_log), 0, "CARP log level");
281 carpstats, "CARP statistics (struct carpstats, netinet/ip_carp.h)");
305 log(LOG_INFO, "carp: " __VA_ARGS__); \
497 * Note that VRRPv3 checksums are different from CARP checksums. in vrrp_checksum_verify()
498 * Carp just calculates the checksum over the packet. in vrrp_checksum_verify()
594 /* verify the CARP checksum */ in carp_input()
639 /* check if received on a valid carp interface */ in carp6_input()
642 CARP_DEBUG("%s: packet received on non-carp interface: %s\n", in carp6_input()
700 /* verify the CARP checksum */ in carp6_input()
736 * do here is catch any packet that arrives with a carp header
843 /* verify the CARP version. */ in carp_input_c()
966 /* verify the CARP version. */ in vrrp_input_c()
1174 * Pick the best ifaddr on the given ifp for sending CARP
1672 * Returns ifa in case it's a carp address and it is MASTER, or if the address
1673 * matches and is not a carp address. Returns NULL otherwise.
1805 panic("carp: VHID %u@%s: master_down event in %s state\n", in carp_master_down_locked()
1955 /* Join IPv6 CARP multicast group. */ in carp_multicast_setup()
2089 printf("%s: carp is not supported for the %d interface type\n", in carp_output()
2623 devctl_notify("CARP", subsys, carp_states[state], NULL); in carp_set_state()
3047 /* Load allow as tunable so to postpone carp start after module load */ in ipcarp_sysinit()
3048 TUNABLE_INT_FETCH("net.inet.carp.allow", &V_carp_allow); in ipcarp_sysinit()
3073 printf("carp: error %d registering with INET6\n", err); in carp_mod_load()
3082 printf("carp: error %d registering with INET\n", err); in carp_mod_load()
3118 "carp",
3123 DECLARE_MODULE(carp, carp_mod, SI_SUB_PROTO_DOMAIN, SI_ORDER_ANY);