SOCK_PACKET

SOCK_PACKET

Post by Rick Ha » Tue, 13 Oct 1998 04:00:00



Hi, Can anyone give me some help about SOCK_PACKET type in linux? What is
the difference between SOCK_PACKET and  SOCK_RAW?
Thanks

--
Rick Han
Iron Bridge Networks, Inc.

(781)402-8080

 
 
 

1. SOCK_PACKET and datalink layer access from user space program

Hi,

I'm trying to write a user space program to send datalink layer packets. I
got the example from Richard Stevens web site. The code opens a SOCK_PACKET
type socket. The socket opens ok. But I kept getting the error message when
running the program:
    [root write-datalink]# ./writepcap -l 171.68.134.88.30000
device = eth0
write error to pcap device, fd=3; status=-1: Transport endpoint is not
connected

Does anyone know where the problem may be? Any pointers?

Thanks,
Eric.

2. How to find a users $HOME?

3. libpcap - writing using Linux SOCK_PACKET

4. Need help with INN/dbx

5. SOCK_PACKET corruption problems in 2.0.5

6. Need script or command

7. What replaced socket(AF_INET,SOCK_PACKET....

8. What version of libc do I need?

9. SOCK_PACKET & LINUX

10. question about SOCK_PACKET

11. SOCK_PACKET ???

12. How to compile kernel with SOCK_PACKET support?

13. Buffering in SOCK_PACKET sockets