ip_getoptval
error = ip_getoptval(sopt, &imo->imo_multicast_ttl, MAXTTL);
error = ip_getoptval(sopt, &imo->imo_multicast_loop, 1);