Snort mailing list archives
Snort defining WORDS_BIGENDIAN
From: Ashley Thomas <athomas () unity ncsu edu>
Date: Wed, 17 Apr 2002 19:53:36 -0400 (EDT)
hi, When will variable (WORDS_BIGENDIAN) be defined ? I guess it is done during the ./configure If i need to define it later, i mean, by editting the Makefile, how would i go about it ? This is because i am compiling snort for a BIG endian m/c on a Little endian m/c using a cross compiler. The cross compiler does take an option (which says it is cross compiling for a big endian) but still, in DecodeIP it sees the words as reversed which causes the IP version to be 5 (which is infact the header length) and leads to a [!] WARNING: Not IPv4 datagram! ([ver: 0x5][len: 0x54]) any pointers is welcome... thanks ashley _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Snort defining WORDS_BIGENDIAN Ashley Thomas (Apr 17)