b) My second question is -- Is there an example code fragment that
shows how to generate ethernet encapsulated IP messages from
user space (with root privileges) in which various ethernet fields
(dest addr, Type) and IP fields (e.g. TTL) can be controlled by the
user? RAW sockets should be usbale in this fashion but
the man pages don't say much about RAW sockets.
Thanks for your time,
Vipul Gupta
E-mail: vgupta@cs.binghamton.edu
URL -- http://cs.binghamton.edu/~vgupta