Create and send packet from kernel

Jelena Mirkovic (sunshine@CS.UCLA.EDU)
Mon, 23 Dec 2002 18:26:18 -0800 (PST)


I am trying (in vain) to create and send a single TCP packet from kernel,
from scratch (i.e. sk_buff and sock both need to be created and
initialized). I read the source code for various functions in net and
net/ipv4 but I am not sure I am doing all steps and in correct order, as
the kernel keeps crashing. Is there a sample code someone could send me or
a good book on this matter? I am using 2.4.9 version.

If this question is not appropriate for this list, could someone point me
to more suitable list?

Thanks
Jelena

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/