dropwatch for network drop monitor

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oliver Hartkopp
Date: Friday, April 17, 2009 - 5:57 am

Hi Neal,

i tried the dropwatch app from your git.

Compiling the source produces:

hartko@vwagwolkf320:~/dropwatch/src$ make
gcc -c -g main.c
gcc -c -g lookup.c
gcc -c -g lookup_bfd.c
gcc -c -g lookup_kas.c
lookup_kas.c: In function ‘lookup_kas_cache’:
lookup_kas.c:56: warning: cast from pointer to integer of different size
lookup_kas.c: In function ‘lookup_kas_proc’:
lookup_kas.c:100: warning: cast from pointer to integer of different size
lookup_kas.c:103: warning: cast from pointer to integer of different size
gcc -g -o dropwatch main.o lookup.o lookup_bfd.o lookup_kas.o -lbfd -lreadline -lnl 

You cast a 'pc' variable to __u64 - is your code depending on 64 bit ??

Starting the stuff brings:

vwagwolkf320:/home/hartko/dropwatch/src# ./dropwatch 
Initalizing kallsyms db
dropwatch> start
Enabling monitoring...
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Waiting for activation ack....
Failed activation request, error: Operation now in progress
Shutting down ...
vwagwolkf320:/home/hartko/dropwatch/src# 

And in my kernel log i get at the same time:
[ 7070.568482] netlink: 60 bytes leftover after parsing attributes.

Any ideas?

Oliver

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
dropwatch for network drop monitor, Oliver Hartkopp, (Fri Apr 17, 5:57 am)
Re: dropwatch for network drop monitor, Neil Horman, (Fri Apr 17, 6:28 am)
Re: dropwatch for network drop monitor, Oliver Hartkopp, (Fri Apr 17, 7:16 am)
Re: dropwatch for network drop monitor, Neil Horman, (Fri Apr 17, 7:30 am)
Re: dropwatch for network drop monitor, Neil Horman, (Fri Apr 17, 10:22 am)
Re: dropwatch for network drop monitor, Oliver Hartkopp, (Fri Apr 17, 11:13 am)