Re: [netsniff-ng] trafgen cfg: automatically padding dynamic values to sizes larger than 1 octet

2016-12-21 Thread Vadim Kochan
On Thu, Oct 20, 2016 at 05:58:12AM -0700, Eddy G wrote: > 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 b

Re: [netsniff-ng] trafgen cfg: automatically padding dynamic values to sizes larger than 1 octet

2016-10-24 Thread Vadim Kochan
Hi Eddy, On Thu, Oct 20, 2016 at 3:58 PM, Eddy G wrote: > 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