Hi John,

On 05/21/2013 10:41 PM, John Lange wrote:
I've been using the bpfc tool lately, and it's very useful!  I was wondering 
whether the input file format might support constant value definitions that 
could be used elsewhere within the file.  For example, something like:

Thanks for using bpfc! :-)

$VLAN_TAG #8100
…
jeq    $VLAN_TAG, Keep, Drop
…

Currently it is not supported. What we could do here
would be a similar approach as in trafgen if you need
it, where we would pass the source file first to the
C preprocessor doing textual replacements and then to
bpfc. What do you say?

Cheers,

Daniel

--
You received this message because you are subscribed to the Google Groups 
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to