It does not seem like it is possible to do something like:

    const16(dinc(1,1023))

because 1) dinc() and ddec() are limited to single octets, and 2) you can't 
nest dinc() or ddec() inside the c* helpers.

The above would be useful to allow a dynamic trafgen cfg that iterates 
through a range of source/destination ports (for example).

Is expanding dinc()/ddec() to allow values larger than an octet and 
"nesting" of other helper functions inside the c*() helpers something that 
has been discussed?

Or perhaps a plan to add dinc16() / ddec16(), dinc32()/ddec32(), etc.?


Also, the new protocol header functions are terrific, but are limited by 
their inability to prevent more complex / partial dynamic configuration 
parameters as values. For example:

    eth(da=00:53:00:dinc(0,1):drnd(2))
    ipv4(da=1.2.drnd(2))

Any possibility this is something that has been discussed? Such partial 
constructs would be *very* useful in generating randomized traffic for 
testing purposes.


Thanks,
Eddy

-- 
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 netsniff-ng+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to