lkml.org 
[lkml]   [1998]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RAW Socket
On Sun, 19 Apr 1998, Philip Blundell wrote:

> >socket(AF_INET, SOCK_PACKET, 0) returns Protocol not supported.
> >socket(AF_INET, AF_PACKET, 0) returns Invalid argument
> >socket(AF_PACKET, SOCK_PACKET, 0) returns Invalid argument
>
> Compile AF_PACKET into your kernel and try again. BTW, you want to use
> SOCK_DGRAM with AF_PACKET.
>

It is.


CONFIG_M586=y
CONFIG_MODULES=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_ELF=y
CONFIG_BLK_DEV_FD=y
CONFIG_PARIDE_PARPORT=y
CONFIG_PACKET=y <====
CONFIG_NETLINK=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y

Also...

socket(AF_PACKET, SOCK_DGRAM, 0) returns Invalid argument.



Cheers,
Dick Johnson
***** FILE SYSTEM MODIFIED *****
Penguin : Linux version 2.1.92 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.

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

\
 
 \ /
  Last update: 2005-03-22 13:42    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site