carp_map_state
return carp_map_state(ifrdat.ifi_link_state);
carp_update_state(carp_map_state(ifm.ifm_data.ifi_link_state));