|
|||||||||||
|
libnet_adv_write_link() On OS X
From: John Judd <jdjudd(at)nps.navy.mil>
Date: Tue Apr 08 2003 - 19:18:21 EDT
I am trying to write a wire ready layer 2 frame by passing it to libnet_adv_write_link(). I am passing it in the correct libnet handle and the correct memory location. The size of the frame as caught by pcap in the pcap_pkthdr is 1518 bytes. This makes sense a 1500 byte IP packet in a 18 byte frame. I am basically capturing with pcap and then turning around and sending out the packet using libnet. Libnet_adv_write_link complains that the packet is too long. So long as my length is less than 1500 then it doesn't complain. Any ideas? JD JUDD To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Tue Apr 8 19:19:56 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:23 EDT |
||||||||||
|
|||||||||||