Network driver for logical interface

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

 



Hi All,
I am writing a network driver for logical ethernet interface. I would like to know what are the fields to set in device structure. It should reply to ARP requests.


Currently I am doing the following
   - called ether_setup()
set the fields
   - dev->open
   - dev->stop
   - dev->hard_start_xmit
   - dev->set_mac_address
   - dev->do_ioctl
   - dev->get_stats

   - dev->mtu
   - called skb_queue_head_init()

Please correct me If I am missing any. Also pls refer related modules to look into.

Thanks a  lot
-Ravi





--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux