Ferner Cilloniz wrote:
Yes I am writing my own loadable kernel module such that I can send a
UDP packet when i tell it to by issuing a homemade system call.
I have been looking at /usr/src/sys/netgraph/ng_sample.c
Am i supposed to implement the functions in that file? I am a little
lost. I only want to send a UDP packet and in that file I see functions
concerning receiving.
Is there any other way?
Thanks Julian and everyone else.
If you won't receive, then just don't implement it :-)
on the other hand if you are really only doing packet level output
then maybe you would look at ng_source.c
which simply acts as a source of packets
you need to give a bit more details to what you want to do..\
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"