Ethereal-dev: [ethereal-dev] suggestion for useful macros/subroutines

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Nathan Neulinger <nneul@xxxxxxx>
Date: Mon, 06 Dec 1999 18:01:46 -0600
A couple useful access routines that would be helpful:

	pull a CR/NL terminated line from a packet, starting at an offset,
		return the offsets of the string end, cr, nl, and the string (null
terminated)
	pull a null terminated string from the packet...
		...

Both routines should stop at the end of the packet.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216