On 2016-07-26 at 21:35:18 +0200, Vadim Kochan wrote:
> Add 'dinc()' function in 'field_expr' rules to be used for dynamically
> incrementing of any specified field:
>
> SYNTAX := dinc() | dinc(inc) | dinc(min, max) | dinc(inc, min, max)
This should definitely follow the same
On 2016-07-26 at 21:35:10 +0200, Vadim Kochan wrote:
> Extended 'struct packet_dyn' with proto fields which has
> dynamically changing values at runtime.
>
> Implement incrementing of proto field at runtime with min & max
> parameters, by default if the 'min' parameter is not
Ehh, too fast I need to avoid libnl compilation testing if
CONFIG_LIBNL=0, will resend it, sorry ...
On Wed, Aug 3, 2016 at 11:58 AM, Vadim Kochan wrote:
> Add command line parsing function which allows to compile tools
> (trafgen, netsniff-ng) without libnl-xxx
It might be useful only if to compile trafgen or netsniff-ng in environment
(or manually w/o needs for rfraw) where is no needed libnl (embedded/switch
server),
and it would be good to have ability to disable libnl dependency at all even w/o
such features like rfraw dissect/inject & nlmsg
There is reason to do not install libnl-xxx packages just
for sniffing packets, for example if netsniff-ng will be compiled
on embedded or switch system.
Hide libnl depended code if CONFIG_LIBNL=0.
In case if user will use --rfraw option the panic message will be printed,
in case if netlink
Add command line parsing function which allows to compile tools
(trafgen, netsniff-ng) without libnl-xxx libraries.
Option --disable-libnl sets CONFIG_LIBNL=0 which means compile tools
without libnl dependencies.
Signed-off-by: Vadim Kochan
---
configure | 47
trafgen uses libnl only to inject mac80211 frames but
it might be not needed in some embedded or switch environments,
so lets make possible to disable this feature.
In case if --rfraw option will be used - user will get the panic message.
Signed-off-by: Vadim Kochan
---
On 08/03/2016 09:34 AM, Tobias Klauser wrote:
[...]
Form the point of view of compiling nesniff-ng/trafgen there is no
difference of whether an external library "exists" or was explicitely
disabled by the user. I'd really prefer CONFIG_LIBNL for this and I
don't think more fine-grained control
OK, thank you!
On Wed, Aug 3, 2016 at 10:34 AM, Tobias Klauser wrote:
> On 2016-08-02 at 22:17:41 +0200, Vadim Kochan wrote:
>> On Tue, Aug 2, 2016 at 11:23 AM, Tobias Klauser wrote:
>> > On 2016-07-31 at 23:13:16 +0200, Vadim Kochan
On 2016-08-02 at 22:26:28 +0200, Vadim Kochan wrote:
> Yes, bug_on(x) is good point, so I am expecting you will continue
> review the rest patches ?
Yes
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from
On 2016-08-02 at 22:17:41 +0200, Vadim Kochan wrote:
> On Tue, Aug 2, 2016 at 11:23 AM, Tobias Klauser wrote:
> > On 2016-07-31 at 23:13:16 +0200, Vadim Kochan wrote:
> >> trafgen uses libnl only to inject mac80211 frames but
> >> it
11 matches
Mail list logo