config_getmode
int config_getmode(struct iked *, unsigned int);
if (config_getmode(env, imsg->hdr.type) == -1)