Re: net programming guide + ether taps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 1) I've been using "Unix Network Programming" by R. Stevens
> (1990). Is there any updated Linux Network Programming? I'd like
> to have an updated ioctl tutorial/handbook.

I find the book quite relevant to get a good n/w pgm-ing background
in Linux. You could also refer to the online docs of the Linux
Documentation Project (LDP).

> 2)I'm working on a network application and need to fill a menu
> with the available network interfaces (up). How can I get this
> info? I think this is quite related to my first question.

`ioctl,' with the request `SIOCGIFCONF.'

> 3) I also need to "capture" full 802.3 encapsulated IP frames
> from my LAN and save them to a file. I' ve read about ether taps
> and packet sockets. What should I use? This is for a group of
> students who want to play a little bit with "frame decoding". I'd
> like to get

You could play around with the `packet capture (pcap)' library.

-Sarada

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux