Re: RAW Socket

Steven N. Hirsch (shirsch@ibm.net)
Sun, 19 Apr 1998 17:59:27 -0400 (EDT)


On Sun, 19 Apr 1998, Shaw Carruthers wrote:

>
> I'm glad that someone else is as confused by all this as me.
>
> The two incantations that worked for me ( patching diald) were:
>
>
> socket(AF_PACKET, SOCK_PACKET, htons(ETH_P_ALL))
>
> and
>
> socket(AF_INET, SOCK_DGRAM, 0)

Is this a hint as to how one might fix the current ypbind util so the
kernel doesn't complain about "..ypbind forgot to set AF_INET in UDP
sendmsg.."? That's been bugging me for a while now.

Steve

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu