Em Mon, Jul 07, 2003 at 10:05:30AM +0800, blue escreveu: > 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() ? vi net/core/pktgen.c - Arnaldo - : 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