RE: need help with UDP

"Timothy Legge" <[email protected]> Mon, 28 Nov 2005 09:43:14 -0400
Newsgroups gmane.network.etherboot.devel
Message-ID <[email protected]>
Hi
 
If you want to print out the packets you receive do the following:
 
1) Edit src/core/misc.c
    Add  #define DEBUG_UTILS    1
2) Edit the driver for the nic you are using 
    Add hex_dump(buffer, size) where buffer is the packet sent/received
by the NIC and size is the size of the buffer.
 
You can dump the buffer in the transmit or poll depending on whether you
want to see what is sent or received.   Do a grep of the code for
hex_dump you will probably find some commented out code as examples.
 
Tim
 
 
 


________________________________

	From: [email protected]
[mailto:[email protected]] On Behalf Of
Coach Basti
	Sent: Saturday, November 26, 2005 4:18 AM
	To: Etherboot-Developers (E-mail)
	Subject: [Etherboot-developers] need help with UDP
	
	
	Good day,  I consider myself a noob and I really need help...
seriously.
	I want to receive messages with etherboot. I edited a few lines
in nic.c for this purpose. but when i try to print out the packets i
receive, i keep printing out trash. 
	how do i allow etherboot to properly receive UDP messages?
	


**********************************************************************
This E-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary, confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and erase this E-mail message immediately. 

Le present message electronique (y compris les pieces qui y sont annexees, le cas echeant) s'addresse au destinataire indique et peut contenir des renseignements de caractere prive ou confidentiel. Si vous n'etes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. Si ce message vous a ete transmis par erreur, veuillez en informer l'expediteur et le  supprimer immediatement.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click