From jsyr at inf.uth.gr Mon Apr 1 04:51:27 2013 From: jsyr at inf.uth.gr (Dimitris Syrivelis) Date: Mon, 01 Apr 2013 11:51:27 +0300 Subject: [Click] Question about developing an element of new network layer headers to replace IP headers In-Reply-To: References: Message-ID: <20130401115127.mryzvjv92eiskg8s@webmail.uth.gr> Hi Lawrence, If i understand your problem correctly, your issue is on the application communication side. You can always create an ethernet packet of your choice within click and send it out from a designated ethernet interface. Probably you have the problem of delivering the packet to click from an application, click does your new network layer tasks and sends the packet out and vice versa. The easy way of doing it bring up a virtual ethernet interface, assign an IP to it and use standard socket API (probably in raw mode) to deliver packets to click. Maybe you can use libpcap instead to inject frames directly. In the blackadder project where we had the same problem we used netlink sockets instead. You can find the netlink socket click elements here: https://github.com/fp7-pursuit/blackadder, under the /src directory. You will also need the user library, to see how you can drive these elements from the application layer. We have done several experiments with this code and it seems stable and, at some point soon, we plan to contribute a vanilla version of fromnetlink and tonetlink to mainline click. In any case you will need to invest some effort to associate running applications with your packet streams (you get this for free using TCP and UDP ports). You have to write your own code either in click or the user space library so your system knows where to deliver each packet (probably this is what you want in a clean-slate approach anyway). The blackadder codebase deals with all these issues (as well as synchronization issues) so it is a good start. Hope this helps, Dimitris > Hi all, > > Our group developed a new network layer protocol in which new network layer > headers replace IP headers in packets. May I know if we can implement the > protocol in Click. I took a look at the source code of Click, e.g., the > todevice and fromdevice modules. It seems that we cannot simply develop an > element to replace IP headers in Click because IP headers are a must. I am > not sure if my understanding is correct. > > Your comments and suggestions will be greatly appreciated. > > Best Regards, > Lawrence > _______________________________________________ > click mailing list > click at amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > From ekohler at gmail.com Mon Apr 1 10:28:11 2013 From: ekohler at gmail.com (Eddie Kohler) Date: Mon, 1 Apr 2013 10:28:11 -0400 Subject: [Click] Funny error compiling Click 2.0.1 with kernel module on 3.5.0-22-generic In-Reply-To: References: Message-ID: Anyway, that's good to hear, thanks! E On Fri, Mar 29, 2013 at 12:50 PM, David M Iserovich wrote: > Okay, so I pulled the latest code from git rather than using the Click 2.0.1 > release downloaded from the site, and the error seems to have been resolved > in this later release. Sorry for the confusion, I was under the impression > that the git version was unstable due to careless skimming :) > > > On Wed, Mar 20, 2013 at 1:47 PM, David M Iserovich wrote: >> >> Oh, actually, I've managed to reproduce the problem on my local machine. >> >> Here is exactly what I did, on debian sid this time, with >> >> Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.39-2 x86_64 GNU/Linux >> >> I symlinked /lib/modules/`uname -r`/.config to /boot/config-`uname -r`, >> because ./configure complained that there was no .config in the folder >> >> I then ran >> >> ./configure --prefix=$HOME --enable-analysis --enable-test >> --enable-linuxmodule -with-linux=/lib/modules/3.2.0-4-amd64/source >> --with-linux-map=/boot/System.map-`uname -r` >> >> configuration ended with the same error >> >> configure: making C++-safe versions of Linux kernel headers (may take a >> while) >> Usage: fixincludes.pl -o OUTPUTDIR CFLAGS >> configure: error: >> ============================================== >> >> fixincludes.pl execution failed. >> >> ============================================== >> >> The full config.log is attached >> >> >> >> >> >> >> >> >> On Wed, Mar 20, 2013 at 1:20 PM, David M Iserovich wrote: >>> >>> Could you specify those tweaks? >>> Thanks for the pointer to the /lib/modules directory. >>> >>> Unfortunately my config.log is on another machine that I'm away from this >>> week. I'll attach it when I can. >>> >>> Thank you for your help! >>> >>> >>> On Fri, Mar 15, 2013 at 8:24 PM, Eddie Kohler wrote: >>>> >>>> For what it's worth, the current Click head compiles and installs >>>> cleanly on Ubuntu 12.10 x86-64. (3.5.) I had to tweak a couple things >>>> to get this. >>>> >>>> I don't recommend using --with-linux=/usr/src/.... Click will default >>>> to getting the sources from /lib/modules, which are more complete than >>>> the --with-linux line. >>>> >>>> Eddie >>>> >>>> >>>> On Fri, Mar 15, 2013 at 6:16 PM, Eddie Kohler wrote: >>>> > Hi David, >>>> > >>>> > We might be able to help. Please attach your config.log. >>>> > >>>> > Eddie >>>> > >>>> > >>>> > On Thu, Mar 14, 2013 at 6:37 PM, David M Iserovich >>>> > wrote: >>>> >> Hi, I'm new to Click and I'm having a lot of fun with it in >>>> >> user-land, but >>>> >> I get a funny error compiling with the linux module on >>>> >> >>>> >> Linux 3.5.0-22-generic #34-Ubuntu SMP Tue Jan 8 21:47:00 UTC 2013 >>>> >> x86_64 >>>> >> x86_64 x86_64 GNU/Linux >>>> >> >>>> >> Which is Ubuntu 12.10. My compilation command, after copying out the >>>> >> System.map file to the current directory, and putting the current >>>> >> Debian >>>> >> config from /boot/config-`uname -r`. My exact compilation command is >>>> >> >>>> >> ./configure --with-linux=/usr/src/linux-headers-`uname -r` >>>> >> --with-linux-map=./System.map-`uname -r` --enable-linuxmodule >>>> >> >>>> >> The error is, from the configure output >>>> >> >>>> >> configure: making C++-safe versions of Linux kernel headers (may take >>>> >> a >>>> >> while) >>>> >> Usage: fixincludes.pl -o OUTPUTDIR CFLAGS >>>> >> configure: error: >>>> >> ============================================== >>>> >> >>>> >> fixincludes.pl execution failed. >>>> >> >>>> >> ============================================== >>>> >> >>>> >> >>>> >> which seems like fixinclude.pl is getting badly formatted args for >>>> >> some >>>> >> reason, since it outputs that "Usage:" message. >>>> >> >>>> >> Can anyone help? >>>> >> _______________________________________________ >>>> >> click mailing list >>>> >> click at amsterdam.lcs.mit.edu >>>> >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >>> >>> >> > From mail at richard-neumann.de Mon Apr 15 08:33:39 2013 From: mail at richard-neumann.de (Richard Neumann) Date: Mon, 15 Apr 2013 14:33:39 +0200 Subject: [Click] ixgbe with VMDq Message-ID: <1366029219.7516.6.camel@localhost.localdomain> Hello everybody, we set up a RouteBricks environment using Intel 82598EB 10-Gigabit cards with the ixgbe-1.3.56.5 driver patched for multi-queuing from click. We now want to classify packets by their respective destination MAC-addresses into different queues using the VMDq technology. Unfortunately loading the ixgbe driver using the parameters InterruptType=2,2,2,2 VMDQ=2,2,2,2 does not do the work. All received packets on the respective interface will go into the same queue, no matter what destination MAC-address they carry. Does anyone of you have experience using VMDq with the mentioned driver and networking cards and how to configure them properly? Thank you and best regards Richard From mail at richard-neumann.de Tue Apr 16 08:13:25 2013 From: mail at richard-neumann.de (Richard Neumann) Date: Tue, 16 Apr 2013 14:13:25 +0200 Subject: [Click] Update: ixgbe with VMDq In-Reply-To: <1366029219.7516.6.camel@localhost.localdomain> References: <1366029219.7516.6.camel@localhost.localdomain> Message-ID: <1366114405.8979.1.camel@localhost.localdomain> Hello everybody, to be more specific: Our problem is how to assign the different MAC-Aderesses to the VMD-queues. Best regards, Richard Am Montag, den 15.04.2013, 14:33 +0200 schrieb Richard Neumann: > Hello everybody, > > we set up a RouteBricks environment using Intel 82598EB 10-Gigabit cards > with the ixgbe-1.3.56.5 driver patched for multi-queuing from click. > We now want to classify packets by their respective destination > MAC-addresses into different queues using the VMDq technology. > Unfortunately loading the ixgbe driver using the parameters > InterruptType=2,2,2,2 VMDQ=2,2,2,2 > does not do the work. All received packets on the respective interface > will go into the same queue, no matter what destination MAC-address they > carry. > > Does anyone of you have experience using VMDq with the mentioned driver > and networking cards and how to configure them properly? > > Thank you and best regards > > Richard > > _______________________________________________ > click mailing list > click at amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click From dmi216 at nyu.edu Tue Apr 16 12:37:58 2013 From: dmi216 at nyu.edu (David M Iserovich) Date: Tue, 16 Apr 2013 12:37:58 -0400 Subject: [Click] Question about ToDevice() in user mode Message-ID: I don't quite understand the differences between the user-level and kernel-level ToDevice() elements. For example, will the kernel TCP stack interfere in TCP flows, or is there just a performance hit due to usermode? From mail at richard-neumann.de Fri Apr 19 08:16:28 2013 From: mail at richard-neumann.de (Richard Neumann) Date: Fri, 19 Apr 2013 14:16:28 +0200 Subject: [Click] ipsec in click-1.7.0 Message-ID: <1366373788.1684.9.camel@localhost.localdomain> Hi everybody, we are trying to compile IPsec on RouteBricks system which uses click-1.7.0 with mqpolldevice element. However, the compilation fails. By going through a previous thread, we found out that IPsec does not compile on 64-bit system. Our experience showed that it compiles with click-1.8.0, but there the mqpolldevice does not compile. Does anyone has an IPsec which compiles on Click-1.7.0 on 64-bit system ? Or an mqpolldevice which can compile on Click-1.8.0 ? We would appreciate any hints or help. Regards, Richard From hitcia at gmail.com Fri Apr 19 10:54:30 2013 From: hitcia at gmail.com (peng li) Date: Fri, 19 Apr 2013 22:54:30 +0800 Subject: [Click] how to install click linux module In-Reply-To: References: Message-ID: hi, when i install click, there is some err. my system is rhel5.5, and upgrade the kerenl to 2.6.19. i patched the src of the kernel, and compile the kernel again. after reboot, install click, report err: Your Linux kernel header files cause errors when included by a C++ program, what is the reason? regards hci [root at localhost click-2.0.1]# uname -a Linux localhost.localdomain 2.6.19 #1 SMP Thu Apr 18 06:23:02 PDT 2013 x86_64 x86_64 x86_64 GNU/Linux [root at localhost linux-2.6.19]# patch -p0 -b < /root/Desktop/click-2.0.1/etc/linux-2.6.19.2-patch patching file ./drivers/input/serio/i8042-ppcio.h patching file ./drivers/media/dvb/bt8xx/bt878.h patching file ./drivers/net/ibmveth.c patching file ./drivers/net/wireless/rayctl.h patching file ./drivers/video/i810/i810_main.h patching file ./fs/file_table.c patching file ./fs/super.c patching file ./include/asm-alpha/core_tsunami.h patching file ./include/asm-alpha/processor.h patching file ./include/asm-alpha/system.h patching file ./include/asm-arm/arch-omap/mtd-xip.h patching file ./include/asm-arm/arch-pxa/mtd-xip.h patching file ./include/asm-arm/system.h patching file ./include/asm-arm26/hardirq.h patching file ./include/asm-arm26/mmu.h patching file ./include/asm-arm26/system.h patching file ./include/asm-avr32/user.h patching file ./include/asm-cris/arch-v10/io.h patching file ./include/asm-cris/module.h patching file ./include/asm-frv/bug.h patching file ./include/asm-frv/fpu.h patching file ./include/asm-frv/gdb-stub.h patching file ./include/asm-frv/highmem.h patching file ./include/asm-frv/module.h patching file ./include/asm-frv/pgtable.h patching file ./include/asm-frv/processor.h patching file ./include/asm-frv/spr-regs.h patching file ./include/asm-frv/system.h patching file ./include/asm-frv/tlbflush.h patching file ./include/asm-h8300/bitops.h patching file ./include/asm-h8300/module.h patching file ./include/asm-h8300/system.h patching file ./include/asm-i386/alternative.h patching file ./include/asm-i386/desc.h patching file ./include/asm-i386/edac.h patching file ./include/asm-i386/elf.h patching file ./include/asm-i386/mach-voyager/irq_vectors.h patching file ./include/asm-i386/module.h patching file ./include/asm-i386/processor.h patching file ./include/asm-i386/spinlock.h patching file ./include/asm-i386/system.h patching file ./include/asm-i386/tlbflush.h patching file ./include/asm-i386/unwind.h patching file ./include/asm-ia64/gcc_intrin.h patching file ./include/asm-ia64/spinlock.h patching file ./include/asm-m32r/module.h patching file ./include/asm-m68k/module.h patching file ./include/asm-m68k/system.h patching file ./include/asm-m68knommu/mcfwdebug.h patching file ./include/asm-m68knommu/system.h patching file ./include/asm-mips/fpu.h patching file ./include/asm-mips/io.h patching file ./include/asm-mips/ip32/mace.h patching file ./include/asm-mips/irq.h patching file ./include/asm-mips/mips-boards/sim.h patching file ./include/asm-mips/mipsregs.h patching file ./include/asm-mips/paccess.h patching file ./include/asm-mips/processor.h patching file ./include/asm-mips/ptrace.h patching file ./include/asm-mips/smp.h patching file ./include/asm-mips/system.h patching file ./include/asm-mips/time.h patching file ./include/asm-mips/watch.h patching file ./include/asm-parisc/system.h patching file ./include/asm-powerpc/reg.h patching file ./include/asm-ppc/system.h patching file ./include/asm-s390/system.h patching file ./include/asm-sh/module.h patching file ./include/asm-sh64/module.h patching file ./include/asm-sparc/module.h patching file ./include/asm-sparc/system.h patching file ./include/asm-sparc64/module.h patching file ./include/asm-sparc64/system.h patching file ./include/asm-um/elf-x86_64.h patching file ./include/asm-um/module-i386.h patching file ./include/asm-um/module-x86_64.h patching file ./include/asm-v850/bitops.h patching file ./include/asm-v850/system.h patching file ./include/asm-v850/v850e_intc.h patching file ./include/asm-x86_64/agp.h patching file ./include/asm-x86_64/alternative.h patching file ./include/asm-x86_64/bug.h patching file ./include/asm-x86_64/desc.h patching file ./include/asm-x86_64/edac.h patching file ./include/asm-x86_64/i387.h patching file ./include/asm-x86_64/mmu_context.h patching file ./include/asm-x86_64/module.h patching file ./include/asm-x86_64/processor.h patching file ./include/asm-x86_64/spinlock.h patching file ./include/asm-x86_64/system.h patching file ./include/asm-x86_64/thread_info.h patching file ./include/asm-x86_64/tlbflush.h patching file ./include/asm-x86_64/uaccess.h patching file ./include/asm-xtensa/module.h patching file ./include/asm-xtensa/pgalloc.h patching file ./include/asm-xtensa/pgtable.h patching file ./include/asm-xtensa/processor.h patching file ./include/asm-xtensa/system.h patching file ./include/asm-xtensa/timex.h patching file ./include/linux/backing-dev.h patching file ./include/linux/compat.h patching file ./include/linux/dqblk_v1.h patching file ./include/linux/fs.h patching file ./include/linux/highmem.h patching file ./include/linux/inetdevice.h patching file ./include/linux/kexec.h patching file ./include/linux/ktime.h patching file ./include/linux/linkage.h patching file ./include/linux/list.h patching file ./include/linux/lockdep.h patching file ./include/linux/mempolicy.h patching file ./include/linux/mm.h patching file ./include/linux/netdevice.h patching file ./include/linux/netfilter_ipv4/ip_conntrack_irc.h patching file ./include/linux/netlink.h patching file ./include/linux/prefetch.h patching file ./include/linux/reiserfs_fs_sb.h patching file ./include/linux/rtnetlink.h Hunk #1 succeeded at 683 (offset -2 lines). patching file ./include/linux/seccomp.h patching file ./include/linux/security.h patching file ./include/linux/skbuff.h patching file ./include/linux/spinlock.h Hunk #1 FAILED at 53. 1 out of 1 hunk FAILED -- saving rejects to file ./include/linux/spinlock.h.rej patching file ./include/linux/spinlock_types.h patching file ./include/linux/spinlock_types_up.h patching file ./include/linux/stddef.h patching file ./include/linux/sysctl.h patching file ./include/linux/textsearch.h patching file ./include/linux/types.h patching file ./include/linux/unwind.h patching file ./include/linux/wait.h patching file ./include/net/compat.h patching file ./include/net/neighbour.h patching file ./include/net/pkt_cls.h patching file ./include/net/route.h patching file ./include/net/sock.h patching file ./include/rdma/ib_user_verbs.h patching file ./net/core/dev.c patching file ./net/core/neighbour.c patching file ./net/core/skbuff.c patching file ./net/ipv4/arp.c patching file ./net/ipv4/devinet.c Hunk #1 succeeded at 1638 (offset -1 lines). [root at localhost linux-2.6.19]# [root at localhost click-2.0.1]# ./configure --with-linux=/usr/src/linux-2.6.19 --with-linux-map=/boot/System.map-2.6.19 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for gcc... gcc checking for g++... g++ checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking how to run the C preprocessor... gcc -E checking for inline... inline checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether works... yes checking whether the C++ compiler understands constexpr... no checking whether the C++ compiler understands static_assert... no checking whether the C++ compiler understands #pragma interface... yes checking how to run the C++ preprocessor... g++ -E checking for ar... ar checking for ld... ld checking for nm... nm checking for objcopy... objcopy checking for ranlib... ranlib checking for strip... strip checking whether we are compiling for Linux... yes checking for strerror... yes checking for random... yes checking for snprintf... yes checking for strnlen... yes checking for strtof... yes checking for strtold... yes checking for strtoul... yes checking for tcgetpgrp... yes checking for vsnprintf... yes checking size of int... 4 checking size of long... 8 checking size of size_t... 8 checking size of void *... 8 checking whether char is unsigned... no checking for inttypes.h... (cached) yes checking whether machine is indifferent to alignment... yes checking size of long long... 8 checking for long long... yes checking for int64_t... yes checking for uint64_t... yes checking whether long and int64_t are the same type... yes checking whether long long and int64_t are the same type... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking endianness... 1234 checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking whether signed right shift is arithmetic... yes checking for addressable va_list type... no checking for __builtin_clz... yes checking for __builtin_clzl... yes checking for __builtin_clzll... yes checking for __builtin_ffs... yes checking for __builtin_ffsl... yes checking for __builtin_ffsll... yes checking for __sync_synchronize... yes checking whether __sync_synchronize supports arguments... no checking for __has_trivial_copy... no checking for __thread storage class support... yes checking for strings.h... (cached) yes checking for ffs... yes checking for ffsl... yes checking for ffsll... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking size of struct timeval... 16 checking for struct timespec... yes checking size of struct timespec... 16 checking whether clock_gettime is declared... yes checking for library containing clock_gettime... -lrt checking for clock_gettime... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking whether is emulated... no checking for pselect... yes checking for sigaction... yes checking for kqueue... no checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for dlopen... no checking for dlopen in -ldl... yes checking compiler flags for building loadable modules... -shared checking for library containing gethostbyname... none required checking for library containing connect... none required checking whether accept() uses socklen_t... yes checking for large file support in C library... yes checking size of off_t... 8 checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for madvise... yes checking whether madvise is declared... yes checking for Linux System.map... /boot/System.map-2.6.19 checking Linux version... 2.6.19 checking for Click Linux kernel extensions... yes checking for Click Linux kernel extensions for transmit notification... no checking for read_net_skbcount kernel extension... no checking for strlen kernel symbol... yes checking for tulip_interrupt_hook kernel symbol... no checking for files_lock kernel symbol... yes checking for files_lglock kernel symbol... no checking for sb_lock kernel symbol... yes checking for dev_ioctl kernel symbol... yes checking for devinet_ioctl kernel symbol... yes checking for inet_ioctl kernel symbol... yes checking for inet_ctl_sock_create kernel symbol... no checking for ... yes checking for atomic_set_mask... yes checking for atomic_add_return... yes checking for ... yes checking for ... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking linux/if_tun.h usability... yes checking linux/if_tun.h presence... yes checking for linux/if_tun.h... yes checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.h... no checking net/if_tap.h usability... no checking net/if_tap.h presence... no checking for net/if_tap.h... no checking net/if_tun.h usability... no checking net/if_tun.h presence... no checking for net/if_tun.h... no checking net/if_types.h usability... no checking net/if_types.h presence... no checking for net/if_types.h... no checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking for pcap.h... not found checking whether struct if_data has ifi_datalen... no checking whether struct sockaddr_in has sin_len... no checking expat.h usability... no checking expat.h presence... no checking for expat.h... no checking for XML_ParserCreateNS in -lexpat... no checking for Linux 2.6 compilation flags... -D__KERNEL__ -I/usr/src/linux-2.6.19/include -include /usr/src/linux-2.6.19/include/linux/autoconf.h -Wall -Wundef -Wno-trigraphs -fno-strict-aliasing -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fomit-frame-pointer -fasynchronous-unwind-tables -fno-stack-protector -I/usr/src/linux-2.6.19/include -include /usr/src/linux-2.6.19/include/linux/autoconf.h configure: making C++-safe versions of Linux kernel headers (may take a while) checking for C++-includable kernel header files... no checking whether long and int64_t are the same type in the Linux kernel... no checking whether long long and int64_t are the same type in the Linux kernel... yes checking whether uintptr_t is defined in the Linux kernel... no checking whether struct sk_buff has a security member... no checking whether struct sk_buff has an fclone member... no checking whether skb_shinfo has a tso_size member... no checking whether skb_shinfo has a gso_size member... no checking whether skb_shinfo has a ufo_size member... no checking whether skb_shinfo has an ip6_frag_id member... no checking for device polling kernel extension... no checking whether skb_dst_drop is declared... no checking whether skb_recycle is declared... no checking whether skb_linearize is declared... no checking whether netif_receive_skb has been extended... no checking whether net_enable_timestamp is declared... no checking whether netif_tx_lock is declared... no checking whether netdev_get_tx_queue is declared... no checking whether netif_tx_queue_frozen is declared... no checking whether netdev_uses_dsa_tags is declared... no checking whether netdev_uses_trailer_tags is declared... no checking for netdev_rx_handler_register kernel symbol... no checking for get_monotonic_coarse kernel symbol... no checking for getboottime kernel symbol... no configure: WARNING: ========================================= Your Linux kernel header files cause errors when included by a C++ program, so I won't try to compile the linuxmodule driver. There are two common reasons for this error: 1. You have not applied the Linux kernel patch that comes with this distribution. Apply the right patch and try again. See the INSTALL file for more information. 2. Your Linux configuration enables some functionality that is not yet covered by our patches. Turn off this functionality and try again, or fix the error and tell us how you did it. See the config.log file for more detailed information on the error. ========================================= checking for a BSD-compatible install... /usr/bin/install -c checking whether install accepts -C... yes checking for GNU make... make checking for working autoconf... missing checking for perl5... no checking for perl... perl checking for gawk... gawk checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for md5sum... md5sum checking for working makeinfo... missing checking for working texi2dvi... missing checking for install-info... /sbin/install-info checking for working install-info... found checking for working pod2man... found configure: creating ./config.status config.status: creating Makefile config.status: creating click-buildtool config.status: creating click-compile config.status: creating config.mk config.status: creating installch config.status: creating tools/Makefile config.status: creating tools/lib/Makefile config.status: creating doc/Makefile config.status: creating etc/libclick/Makefile config.status: creating etc/pkg-config.mk config.status: creating bsdmodule/Makefile config.status: creating linuxmodule/Makefile config.status: creating ns/Makefile config.status: creating userlevel/Makefile config.status: creating tools/click-align/Makefile config.status: creating tools/click-check/Makefile config.status: creating tools/click-combine/Makefile config.status: creating tools/click-devirtualize/Makefile config.status: creating tools/click-fastclassifier/Makefile config.status: creating tools/click-flatten/Makefile config.status: creating tools/click-mkmindriver/Makefile config.status: creating tools/click-pretty/Makefile config.status: creating tools/click-undead/Makefile config.status: creating tools/click-xform/Makefile config.status: creating tools/click2xml/Makefile config.status: creating tools/click-install/Makefile config.status: creating include/click/config.h config.status: include/click/config.h is unchanged config.status: creating include/click/pathvars.h config.status: creating include/click/config-bsdmodule.h config.status: include/click/config-bsdmodule.h is unchanged config.status: creating include/click/config-linuxmodule.h config.status: include/click/config-linuxmodule.h is unchanged config.status: creating include/click/config-ns.h config.status: include/click/config-ns.h is unchanged config.status: creating include/click/config-userlevel.h config.status: include/click/config-userlevel.h is unchanged config.status: executing default-1 commands [root at localhost linuxmodule]# [root at localhost linuxmodule]# make make -C /usr/src/kernels/linux-2.6.19 M=/root/Desktop/click-2.0.1/linuxmodule modules make[1]: Entering directory `/usr/src/kernels/linux-2.6.19' CC [M] in_cksum.o In file included from /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/linux/sched.h:64, from /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/asm/uaccess.h:14, from /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/net/checksum.h:30, from /root/Desktop/click-2.0.1/linuxmodule/../include/clicknet/ip.h:8, from /root/Desktop/click-2.0.1/linuxmodule/../lib/in_cksum.c:8: /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/asm/semaphore.h:3:1: error: unterminated #ifndef In file included from /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/asm/mmu.h:10, from /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/linux/sched.h:67, from /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/asm/uaccess.h:14, from /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/net/checksum.h:30, from /root/Desktop/click-2.0.1/linuxmodule/../include/clicknet/ip.h:8, from /root/Desktop/click-2.0.1/linuxmodule/../lib/in_cksum.c:8: /root/Desktop/click-2.0.1/include/click-linuxmodule/include0/asm/semaphore.h:3:1: error: unterminated #ifndef make[2]: *** [/root/Desktop/click-2.0.1/linuxmodule/in_cksum.o] Error 1 make[1]: *** [_module_/root/Desktop/click-2.0.1/linuxmodule] Error 2 make[1]: Leaving directory `/usr/src/kernels/linux-2.6.19' make: *** [all] Error 2 [root at localhost linuxmodule]# [root at localhost click-2.0.1]# g++ -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) [root at localhost click-2.0.1]# gcc -v Using built-in specs. Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-48) [root at localhost click-2.0.1]# make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-redhat-linux-gnu [root at localhost click-2.0.1]# ./configure --with-linux=/lib/module/src/2.6.9/include also reports err. From ekohler at gmail.com Thu Apr 25 09:38:26 2013 From: ekohler at gmail.com (Eddie Kohler) Date: Thu, 25 Apr 2013 09:38:26 -0400 Subject: [Click] patch error In-Reply-To: <51432532.10500@gmail.com> References: <5143193C.4080606@gmail.com> <51432532.10500@gmail.com> Message-ID: Mr. Ndritsos, You shouldn't need to patch the kernel any more to run Click. Please follow the installation instructions in INSTALL. Eddie On Fri, Mar 15, 2013 at 9:42 AM, ndritsos wrote: > hello all , > > Iam new to Click , and i try to run click on the kernel mode > my kernel version is 2.6.24.19-generic > > iam following these steps : > 1) cd ~ > 2) sudo bash > 3) git clone git://github.com/kohler/click.git > 4) git clone git://github.com/kohler/click-packages.git > 5) cd /usr/src/linux-headers-2.6.24.7-generic > 6) patch -p0 -b < /home/niko/click/etc/linux-2.6.24.7-patch > > At this step i have the error that is below : > > can't find file to patch at input line 5 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------------------------- > |diff --git a/arch/arm/mach-iop13xx/irq.c b/arch/arm/mach-iop13xx/irq.c > |index 69f07b2..e217167 100644 > |--- a/arch/arm/mach-iop13xx/irq.c > |+++ b/arch/arm/mach-iop13xx/irq.c > ------------------------------------------- > File to patch: > > > My kernel version is 2.6.24.19-generic and i use linux-2.6.24.7-patch > Any idea someone why i have this error ? > may the problem be the kernel version ? > > thank you in advance > > > > > > From ekohler at gmail.com Thu Apr 25 09:49:34 2013 From: ekohler at gmail.com (Eddie Kohler) Date: Thu, 25 Apr 2013 09:49:34 -0400 Subject: [Click] When does hotconfig apply In-Reply-To: References: Message-ID: Hey Lars, (1) The right option is --hotswap, not --hotconfig. --hotconfig should cause an error. (2) When I run this with --hotswap, the queue doesn't empty. Are you sure this is a problem? Eddie On Sun, Mar 10, 2013 at 6:39 PM, Lars Bro wrote: > Hi, > > I tried hotconfig like below: > > # click-install << ! > RatedSource(RATE 110) -> lars::Queue() -> Shaper(100) -> Discard(); > ! > > Let it run for a while, use Clicky to see that the queue fills up. > > # click-install --hotconfig << ! > RatedSource(RATE 110) -> lars::Queue() -> Shaper(100) -> Discard(); > RatedSource() -> Discard(); > ! > > use Clicky to look at the Queue. Now it is empty, and I would have expected > it to > still contain the piled up packets. > > The documentation says that Queue should support hotswap, so I guess I am > missing something > > yours > Lars Bro > _______________________________________________ > click mailing list > click at amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click From ekohler at gmail.com Thu Apr 25 09:54:56 2013 From: ekohler at gmail.com (Eddie Kohler) Date: Thu, 25 Apr 2013 09:54:56 -0400 Subject: [Click] Release 2.1 In-Reply-To: <50F9133F.7080206@informatik.uni-bonn.de> References: <50F9133F.7080206@informatik.uni-bonn.de> Message-ID: Hey Sascha, I was waiting for your response about the random number support patch but didn't hear from you. Do you have outstanding patches to Click that you would like to get integrated? Eddie On Fri, Jan 18, 2013 at 4:17 AM, Sascha Alexander Jopen wrote: > Hi Eddie, > > i still have outstanding patches to click. At least the random number > support with ns3 patch, see > http://www.mail-archive.com/click at amsterdam.lcs.mit.edu/msg05860.html. > > However, i would like to review this patch, because ns3 random number > handling has slightly changed meanwhile. This should only affect the ns3 > part of the patch. This should be ready by monday. > > Sascha > > On 17.01.2013 21:00, Eddie Kohler wrote: >> Hi all, >> >> I plan to release Click 2.1 shortly. Let me know if there's something >> outstanding from the mailing list that I should be sure to consider >> first. >> >> Eddie >> _______________________________________________ >> click mailing list >> click at amsterdam.lcs.mit.edu >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >> > > > -- > Dipl.-Inform. Sascha Jopen > > University of Bonn Tel.: +49-228-73-54219 > Institute of Computer Science 4 Fax: +49-228-73-4571 > Friedrich-Ebert-Allee 144 E-mail: jopen at cs.uni-bonn.de > D-53113 Bonn, Germany > _______________________________________________ > click mailing list > click at amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click From jopen at informatik.uni-bonn.de Thu Apr 25 11:29:43 2013 From: jopen at informatik.uni-bonn.de (Sascha Alexander Jopen) Date: Thu, 25 Apr 2013 17:29:43 +0200 Subject: [Click] Release 2.1 In-Reply-To: References: <50F9133F.7080206@informatik.uni-bonn.de> Message-ID: <51794BE7.6050501@informatik.uni-bonn.de> Hey Eddie, ohoh, i'm really sorry. Obviously i missed to send a notification to you after committing the random number patch to ns-3-dev. It was added in changeset 9230 revision 01be79275088 to the ns-3-dev repository in February. Drawing random numbers is now done from independed random number streams for each node in the simulation, as opposed to a drawing from a single stream for all nodes as implemented by the previous patch. However, i found another bug on the click side for the click defines patch for ns3. I still have no github fork of the click repository, so please use the attached patch with the fix. >From my side there is no objection to releasing 2.1. Regards, Sascha On 25.04.2013 15:54, Eddie Kohler wrote: > Hey Sascha, > > I was waiting for your response about the random number support patch > but didn't hear from you. Do you have outstanding patches to Click > that you would like to get integrated? > > Eddie > > > On Fri, Jan 18, 2013 at 4:17 AM, Sascha Alexander Jopen > wrote: >> Hi Eddie, >> >> i still have outstanding patches to click. At least the random number >> support with ns3 patch, see >> http://www.mail-archive.com/click at amsterdam.lcs.mit.edu/msg05860.html. >> >> However, i would like to review this patch, because ns3 random number >> handling has slightly changed meanwhile. This should only affect the ns3 >> part of the patch. This should be ready by monday. >> >> Sascha >> >> On 17.01.2013 21:00, Eddie Kohler wrote: >>> Hi all, >>> >>> I plan to release Click 2.1 shortly. Let me know if there's something >>> outstanding from the mailing list that I should be sure to consider >>> first. >>> >>> Eddie >>> _______________________________________________ >>> click mailing list >>> click at amsterdam.lcs.mit.edu >>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click >>> >> >> >> -- >> Dipl.-Inform. Sascha Jopen >> >> University of Bonn Tel.: +49-228-73-54219 >> Institute of Computer Science 4 Fax: +49-228-73-4571 >> Friedrich-Ebert-Allee 144 E-mail: jopen at cs.uni-bonn.de >> D-53113 Bonn, Germany >> _______________________________________________ >> click mailing list >> click at amsterdam.lcs.mit.edu >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click -- Dipl.-Inform. Sascha Jopen University of Bonn Tel.: +49-228-73-54219 Institute of Computer Science 4 Fax: +49-228-73-4571 Friedrich-Ebert-Allee 144 E-mail: jopen at cs.uni-bonn.de D-53113 Bonn, Germany -------------- next part -------------- diff --git a/ns/nsclick.cc b/ns/nsclick.cc index 4cfd0ae..34461ac 100644 --- a/ns/nsclick.cc +++ b/ns/nsclick.cc @@ -135,7 +135,7 @@ int simclick_click_create(simclick_node_t *simnode, const char* router_file) { while (defines_offset < defines_size) { char *key = defines + defines_offset; char *value = key + strlen(key) + 1; - defines_offset += (size_t) (value + strlen(value) + 1 - defines); + defines_offset = (size_t) (value + strlen(value) + 1 - defines); if (!click_lexer()->global_scope().define(key, value, false)) { errh->error("parameter %s multiply defined", key); } From momina.azam at gmail.com Sat Apr 27 14:56:38 2013 From: momina.azam at gmail.com (Momina Khan) Date: Sat, 27 Apr 2013 23:56:38 +0500 Subject: [Click] Timer callback function does not fire Message-ID: Dear All, hope someone can help me with this ... i have simple enough code moslty taken from TestTimer class. I just want to create a timer that fires a callback function. I have tried initializing the Timer with a (Callback function f, user_data) in which case f should be called when timer.schedule_now() is called in initalize(). i have put click_chatter in the initialize() function and the callback but only the chatter from initialize comes up in dmesg. If I try to initialize the timer with Timer(Element *) on a call to timer.schedule_now() the element class's run_timer() should be called but no chatter shows up in dmesg. plz help i have spent some days on this problem and seemed to have gone through most code files for the timer class and TimerTest but to no avail! thank u in advance momina From bcronje at gmail.com Sun Apr 28 03:28:13 2013 From: bcronje at gmail.com (Beyers Cronje) Date: Sun, 28 Apr 2013 09:28:13 +0200 Subject: [Click] Timer callback function does not fire In-Reply-To: References: Message-ID: You have to initialize the Timer object itself as well, see http://read.cs.ucla.edu/click/doxygen/class_timer.html#_details Also grep the elements directory from Timer and you'll find many examples of elements using Timer. Beyers On Sat, Apr 27, 2013 at 8:56 PM, Momina Khan wrote: > Dear All, > hope someone can help me with this ... i have simple enough code moslty > taken from TestTimer class. I just want to create a timer that fires a > callback function. I have tried initializing the Timer with a (Callback > function f, user_data) in which case f should be called when > timer.schedule_now() is called in initalize(). > i have put click_chatter in the initialize() function and the callback but > only the chatter from initialize comes up in dmesg. > > If I try to initialize the timer with Timer(Element *) on a call to > timer.schedule_now() the element class's run_timer() should be called but > no chatter shows up in dmesg. > > plz help i have spent some days on this problem and seemed to have gone > through most code files for the timer class and TimerTest but to no avail! > > thank u in advance > momina > _______________________________________________ > click mailing list > click at amsterdam.lcs.mit.edu > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > From nabilla_siti at hotmail.com Mon Apr 29 21:45:26 2013 From: nabilla_siti at hotmail.com (Siti Nabilla) Date: Tue, 30 Apr 2013 09:45:26 +0800 Subject: [Click] FW: Urgent: Click DSR Router cannot be started In-Reply-To: References: , , , Message-ID: Hi guys, From nabilla_siti at hotmail.com Mon Apr 29 23:29:35 2013 From: nabilla_siti at hotmail.com (Siti Nabilla) Date: Tue, 30 Apr 2013 11:29:35 +0800 Subject: [Click] Urgent: Dsr router unable to work Message-ID: Hi guys, Sorry for the previous message. I'm doing a click dsr project, but currently my dsr-router.click couldn't be execute. > > > > It shows this; > > > > student at ubuntu:~/Desktop/click-2.0.1/userlevel$ ./click ../conf/dsr-router.click > > ../conf/dsr-router.click:25: unknown element class ?RouteTable? > > ../conf/dsr-router.click:26: unknown element class ?RequestTable? > > ../conf/dsr-router.click:27: unknown element class ?ACKTable? > > ../conf/dsr-router.click:28: unknown element class ?ArpTable? > > ../conf/dsr-router.click:33: undeclared element ?GetEtherAddress? > > ../conf/dsr-router.click:45: undeclared element ?MarkAdhocHeader? > > > > I am really looking forward for your reply. > > Also, here is my configuration file. > > > > student at ubuntu:~/Desktop/click-2.0.1$ sudo ./configure > > [sudo] password for student: > > checking build system type... x86_64-unknown-linux-gnu > > checking host system type... x86_64-unknown-linux-gnu > > checking target system type... x86_64-unknown-linux-gnu > > checking for gcc... gcc > > checking for g++... g++ > > checking for gcc... (cached) gcc > > checking whether the C compiler works... yes > > checking for C compiler default output file name... a.out > > checking for suffix of executables... > > checking whether we are cross compiling... no > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ISO C89... none needed > > checking how to run the C preprocessor... gcc -E > > checking for grep that handles long lines and -e... /bin/grep > > checking for egrep... /bin/grep -E > > checking for ANSI C header files... yes > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking for sys/types.h... (cached) yes > > checking for unistd.h... (cached) yes > > checking how to run the C preprocessor... gcc -E > > checking for inline... inline > > checking whether we are using the GNU C++ compiler... yes > > checking whether g++ accepts -g... yes > > checking whether works... yes > > checking whether the C++ compiler understands constexpr... no > > checking whether the C++ compiler understands static_assert... no > > checking whether the C++ compiler understands #pragma interface... yes > > checking how to run the C++ preprocessor... g++ -E > > checking for ar... ar > > checking for ld... ld > > checking for nm... nm > > checking for objcopy... objcopy > > checking for ranlib... ranlib > > checking for strip... strip > > checking whether we are compiling for Linux... yes > > checking for strerror... yes > > checking for random... yes > > checking for snprintf... yes > > checking for strnlen... yes > > checking for strtof... yes > > checking for strtold... yes > > checking for strtoul... yes > > checking for tcgetpgrp... yes > > checking for vsnprintf... yes > > checking size of int... 4 > > checking size of long... 8 > > checking size of size_t... 8 > > checking size of void *... 8 > > checking whether char is unsigned... no > > checking for inttypes.h... (cached) yes > > checking whether machine is indifferent to alignment... yes > > checking size of long long... 8 > > checking for long long... yes > > checking for int64_t... yes > > checking for uint64_t... yes > > checking whether long and int64_t are the same type... yes > > checking whether long long and int64_t are the same type... no > > checking endian.h usability... yes > > checking endian.h presence... yes > > checking for endian.h... yes > > checking endianness... 1234 > > checking byteswap.h usability... yes > > checking byteswap.h presence... yes > > checking for byteswap.h... yes > > checking whether signed right shift is arithmetic... yes > > checking for addressable va_list type... no > > checking for __builtin_clz... yes > > checking for __builtin_clzl... yes > > checking for __builtin_clzll... yes > > checking for __builtin_ffs... yes > > checking for __builtin_ffsl... yes > > checking for __builtin_ffsll... yes > > checking for __sync_synchronize... yes > > checking whether __sync_synchronize supports arguments... no > > checking for __has_trivial_copy... yes > > checking for __thread storage class support... yes > > checking for strings.h... (cached) yes > > checking for ffs... yes > > checking for ffsl... yes > > checking for ffsll... yes > > checking time.h usability... yes > > checking time.h presence... yes > > checking for time.h... yes > > checking size of struct timeval... 16 > > checking for struct timespec... yes > > checking size of struct timespec... 16 > > checking whether clock_gettime is declared... yes > > checking for library containing clock_gettime... -lrt > > checking for clock_gettime... yes > > checking termio.h usability... yes > > checking termio.h presence... yes > > checking for termio.h... yes > > checking netdb.h usability... yes > > checking netdb.h presence... yes > > checking for netdb.h... yes > > checking sys/event.h usability... no > > checking sys/event.h presence... no > > checking for sys/event.h... no > > checking pwd.h usability... yes > > checking pwd.h presence... yes > > checking for pwd.h... yes > > checking grp.h usability... yes > > checking grp.h presence... yes > > checking for grp.h... yes > > checking execinfo.h usability... yes > > checking execinfo.h presence... yes > > checking for execinfo.h... yes > > checking poll.h usability... yes > > checking poll.h presence... yes > > checking for poll.h... yes > > checking whether is emulated... no > > checking for pselect... yes > > checking for sigaction... yes > > checking for kqueue... no > > checking dlfcn.h usability... yes > > checking dlfcn.h presence... yes > > checking for dlfcn.h... yes > > checking for dlopen... no > > checking for dlopen in -ldl... yes > > checking compiler flags for building loadable modules... -shared > > checking for library containing gethostbyname... none required > > checking for library containing connect... none required > > checking whether accept() uses socklen_t... yes > > checking for large file support in C library... yes > > checking size of off_t... 8 > > checking sys/mman.h usability... yes > > checking sys/mman.h presence... yes > > checking for sys/mman.h... yes > > checking for stdlib.h... (cached) yes > > checking for unistd.h... (cached) yes > > checking for sys/param.h... yes > > checking for getpagesize... yes > > checking for working mmap... yes > > checking for madvise... yes > > checking whether madvise is declared... yes > > checking ifaddrs.h usability... yes > > checking ifaddrs.h presence... yes > > checking for ifaddrs.h... yes > > checking linux/if_tun.h usability... yes > > checking linux/if_tun.h presence... yes > > checking for linux/if_tun.h... yes > > checking net/if_dl.h usability... no > > checking net/if_dl.h presence... no > > checking for net/if_dl.h... no > > checking net/if_tap.h usability... no > > checking net/if_tap.h presence... no > > checking for net/if_tap.h... no > > checking net/if_tun.h usability... no > > checking net/if_tun.h presence... no > > checking for net/if_tun.h... no > > checking net/if_types.h usability... no > > checking net/if_types.h presence... no > > checking for net/if_types.h... no > > checking net/bpf.h usability... no > > checking net/bpf.h presence... no > > checking for net/bpf.h... no > > checking netpacket/packet.h usability... yes > > checking netpacket/packet.h presence... yes > > checking for netpacket/packet.h... yes > > checking for pcap.h... found > > checking whether pcap.h works... yes > > checking for bpf_timeval in pcap.h... no > > checking whether pcap_setnonblock is declared... yes > > checking for -lpcap... found > > checking for pcap_inject... no > > checking for pcap_sendpacket... no > > checking for pcap_setdirection... no > > checking for pcap_setnonblock... no > > checking whether struct if_data has ifi_datalen... no > > checking whether struct sockaddr_in has sin_len... no > > checking expat.h usability... yes > > checking expat.h presence... yes > > checking for expat.h... yes > > checking for XML_ParserCreateNS in -lexpat... yes > > checking for a BSD-compatible install... /usr/bin/install -c > > checking whether install accepts -C... yes > > checking for GNU make... make > > checking for working autoconf... found > > checking for perl5... no > > checking for perl... perl > > checking for gawk... no > > checking for mawk... mawk > > checking for grep that handles long lines and -e... (cached) /bin/grep > > checking for egrep... (cached) /bin/grep -E > > checking for md5sum... md5sum > > checking for working makeinfo... missing > > checking for working texi2dvi... missing > > checking for install-info... /usr/sbin/install-info > > checking for working install-info... found > > checking for working pod2man... found > > configure: creating ./config.status > > config.status: creating Makefile > > config.status: creating click-buildtool > > config.status: creating click-compile > > config.status: creating config.mk > > config.status: creating installch > > config.status: creating tools/Makefile > > config.status: creating tools/lib/Makefile > > config.status: creating doc/Makefile > > config.status: creating etc/libclick/Makefile > > config.status: creating etc/pkg-config.mk > > config.status: creating bsdmodule/Makefile > > config.status: creating linuxmodule/Makefile > > config.status: creating ns/Makefile > > config.status: creating userlevel/Makefile > > config.status: creating tools/click-align/Makefile > > config.status: creating tools/click-check/Makefile > > config.status: creating tools/click-combine/Makefile > > config.status: creating tools/click-devirtualize/Makefile > > config.status: creating tools/click-fastclassifier/Makefile > > config.status: creating tools/click-flatten/Makefile > > config.status: creating tools/click-mkmindriver/Makefile > > config.status: creating tools/click-pretty/Makefile > > config.status: creating tools/click-undead/Makefile > > config.status: creating tools/click-xform/Makefile > > config.status: creating tools/click2xml/Makefile > > config.status: creating tools/click-install/Makefile > > config.status: creating include/click/config.h > > config.status: include/click/config.h is unchanged > > config.status: creating include/click/pathvars.h > > config.status: include/click/pathvars.h is unchanged > > config.status: creating include/click/config-bsdmodule.h > > config.status: include/click/config-bsdmodule.h is unchanged > > config.status: creating include/click/config-linuxmodule.h > > config.status: include/click/config-linuxmodule.h is unchanged > > config.status: creating include/click/config-ns.h > > config.status: include/click/config-ns.h is unchanged > > config.status: creating include/click/config-userlevel.h > > config.status: include/click/config-userlevel.h is unchanged > > config.status: executing default-1 commands > > > > Looking forward for you reply and I appreciate your time in reading my email despite the busy schedule you have. > > > > Regards, > > Siti Nabilla Taib From momina.azam at gmail.com Tue Apr 30 06:38:47 2013 From: momina.azam at gmail.com (Momina Khan) Date: Tue, 30 Apr 2013 15:38:47 +0500 Subject: [Click] Timer callback function does not fire Message-ID: thank u very much for the link ... my timer was not firing because my conf stated a very short lived packet flow and it all ended before the timer could fire. cheers momina