RE: Fwd: Packet Loss (Robert Clove)

2013-11-04 Thread Murali Annamneni
Hi Robert, You can write your own kernel (using netfilter framework) module to count the number of packets received at kernel. And, with this kernel module you can have the flexibility of filtering the packets you are sending from packeth. Thanks & Regards Murali ---

How to receive DAD notifications in userspace

2013-01-31 Thread Murali Annamneni
please tell me what's wrong in my code . Thanks & Regards Murali Annamneni ::DISCLAIMER:: The contents of this e-mail and any attachment

retrieving neigh table

2012-11-20 Thread Murali Annamneni
31 versions. Can anybody tell me what is the replacement for NETLINK_ARPD in 2.6.32 kernel. Thanks & Regards Murali Annamneni ::DISCLAIMER::

How to retrieve DAD status of an interface

2012-11-14 Thread Murali Annamneni
Hi, I need to retrieve the status of DAD(Duplicate Address Detection) of an interface using Netlink sockets. Can anyone please point me to the sample code/links on it. Thanks & Regards Murali Annamneni ::DISCLA

How to modify linklocal address of an ethernet interface

2012-11-07 Thread Murali Annamneni
ADDRESS, dst); When I execute case 1 (add link-local), a new ipv6 ip is getting added. I want to modify an existing link local address in case2, but it's not working. Can anybody help me correcting this c

IPV6 related constants for netlink socket

2012-10-31 Thread Murali Annamneni
lem for "AF_NETLINK6". I grep'ed in source code of 2.6.32 kernel and system header files, I didn't find anywhere these constants. Are these constants are correct ? If not, what are the correct one's and in which header file I can find them.

RE: IPV6 related constants for netlink socket

2012-10-31 Thread Murali Annamneni
lem for "AF_NETLINK6". I grep'ed in source code of 2.6.32 kernel and system header files, I didn't find anywhere these constants. Are these constants are correct ? If not, what are the correct one's and in which header file I can find them.

Re: How to allocate hugepage in kernel module?

2012-08-11 Thread Murali Annamneni
Hi, You can try by passing the flag GFP_KERNEL to __get_free_pages(). Eg: __get_free_pages(GFP_KERNEL,9) where "9" represents - Order of 9; means requesting for 2^9(=512) contiguous pages in virtual address space in order to allocate 2MB of contiguous memory. Thanks & Regards Murali

RE: UDP packets are getting dropped because of invalied checksum though checksum offload is enabled in kernel-2.6.32

2012-07-19 Thread Murali Annamneni
g the checksum. Do you know anything about checksum offload feature is corrected in kernel-2.6.32 ? Thanks & Regards Murali Annamneni -Original Message- From: Kristof Provost [mailto:kris...@sigsegv.be] Sent: Thursday, July 19, 2012 6:53 PM To: Murali Annamneni Cc: kernelnewbies@ke

UDP packets are getting dropped because of invalied checksum though checksum offload is enabled in kernel-2.6.32

2012-07-19 Thread Murali Annamneni
in kernel-2.6.32. Thanks & Regards Murali Annamneni ::DISCLAIMER:: The contents of this e-mail and any attachment(s) are confidential and inte