Doubt on kernel function addresses in kernel 2.6.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I wrote a small netfilter based module to capture packets. However I
am puzzled by the following fact:
the NF_IP_LOCAL_OUT handler shows the address of the okfn(which is
equal to dst_output) and the skb->dst->output, which is finally called
by dst_output. They come out to be 0x224c483 and 0x224a842
respectively. Whereas the dst_output according to my dump of 'nm
vmlinux' is c02938a0. I am using linux 2.6.5.138 as supplied in the
standard FC2 distro.
The code and the makefile for the above kernel is available online at
http://www.cs.iitm.ernet.in/~dvagr/nf_test_code/ .For 2.6+ kernels the
build procedure is : make -C <kernel source dir> SUBDIRS=`pwd`
modules, in the directory containing the makefile.
I would greatly appreciate it if someone could enlighten me.
Yours Sincerely
Devesh Agrawal.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux