[prev in list] [next in list] [prev in thread] [next in thread] 

List:       snort-devel
Subject:    [Snort-devel] Re: [Snort-inline-users] SPARC_TWIDDLE
From:       Nick Rogness <nick () rogness ! net>
Date:       2005-06-13 23:32:31
Message-ID: 20050613164237.X92072 () skywalker ! rogness ! net
[Download RAW message or body]

On Thu, 9 Jun 2005, Adayadil Thomas wrote:

> Greetings.
>
> Can anyone put some light on what SPARC_TWIDDLE means ?

On SPARC systems, this is used to align the header on a 32-bit boundary.
There have been errors related to this in the past, but I think they have 
been fixed since snort-2.0.0+

>
> When creating memory for stream_pkt this is used.
>
>    stream_pkt->pkth = calloc(sizeof(SnortPktHeader)+
>                              ETHERNET_HEADER_LEN +
>                              SPARC_TWIDDLE + IP_MAXPACKET,
>                              sizeof(char));
>


Nick Rogness <nick@rogness.net>
-
   How many people here have telekenetic powers? Raise my hand.
   				-Emo Philips



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Snort-devel mailing list
Snort-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic