> +static struct socket_type socket_types[] = { > + { "ip", SOCK_DGRAM, IPPROTO_IP }, > + { "udp", SOCK_DGRAM, IPPROTO_UDP },
I think the intent is to have a SOCK_RAW case.
> +static struct socket_type socket_types[] = { > + { "ip", SOCK_DGRAM, IPPROTO_IP }, > + { "udp", SOCK_DGRAM, IPPROTO_UDP },
I think the intent is to have a SOCK_RAW case.