About sk_buff

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

 



Hi, all
  I am a beginner to Linux networking module programming, and I need to 
write a module which does itself routing algorithm. Is there any method to 
transmit packet from IP layer; in other words, the packet is built in layer 
3 and then sent out, and there's no upper layer involved.
  If the method is to build my own sk_buff, then how should I fill in other 
fields in sk_buff besides layer 3 (ex. sk filed...th union..) .
  Besides, could anyone tell me what the purpose of struct *net_device -> 
hard_header() ?

  Thanks your help!
  Best regard

  Yi-Wen 
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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