Sponsored Content
Operating Systems Linux Ubuntu Where is ip_finish_output in 2.6.23 kernel Post 302261487 by iamjayanth on Tuesday 25th of November 2008 12:18:48 AM
Old 11-25-2008
Where is ip_finish_output in 2.6.23 kernel

Hi masters,

I am using fedora 2.6.23.1-42.fc8 kernel and am trying to design a packet filtering system using netfilter. But in the above mentioned kernel I couldn't find the familiar function ip_finish_output. I have done the same project in kernel 2.4 and 2.6.9 redhat.

Can anybody tell me is there any replacement for the above function in 2.6.23 kernel.Or if the function is there can anyone tell me in which path they are present. I have already done a grep in the kernel source tree yielding zero result.

grep -r ip_finish_output /usr/src/kernels/2.6.23.1-42.fc8-i686/*

resulted in the following output.
/usr/src/kernels/2.6.23.1-42.fc8-i686/System.map:c11dbd3e t ip_finish_output
/usr/src/kernels/2.6.23.1-42.fc8-i686/System.map:c11dbf59 t ip_finish_output2

Can anybody help me.



regards
 

9 More Discussions You Might Find Interesting

1. Red Hat

kernel 2.6.18

Again same issue with new kernel 2.6.18.1 root@world # iptables -L modprobe: QM_MODULES: Function not implemented modprobe: QM_MODULES: Function not implemented modprobe: Can't locate module ip_tables iptables v1.2.8: can't initialize iptables table `filter': iptables who? (do you... (10 Replies)
Discussion started by: prashant_ohol
10 Replies

2. Linux

Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU

ok so I just installed fedora core 6 on my dell inspiron 700m and I go to boot into linux and I get this error. Has anyone seen this before? I also had XP Pro and Vista installed on this pc prior to putting fedora core 6 on the machine. I'm trying to setup a triple boot system. Please Help... (2 Replies)
Discussion started by: dave043
2 Replies

3. Programming

kernel-kernel call communication

hi all! i have developed a mechanism in system.c to count how many times each kernel call is called. The results are held in an array in system.c . What i want to do is to create a new kernel call which will print this array. I need help in passing the array from system.c to the new kernel call. ... (5 Replies)
Discussion started by: aureliano
5 Replies

4. SuSE

max number of slabs per kernel module (kernel 2.6.17, suse)

Hi All, Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff. Cheers, Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies

5. AIX

How to convert a partition usin 64 bits kernel to 32 bits kernel?

Hello there: I know that exist a procedure to convert an OS using 32bits kernel to 64 bits kernel. But, exist a procedure to convert an OS using 64bits to 32 bits kernel? Please help me. Regards. (2 Replies)
Discussion started by: GEIER
2 Replies

6. Linux

Supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" me

supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes. I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason? It has... (1 Reply)
Discussion started by: pankajd
1 Replies

7. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

8. Red Hat

How does the kernel know where is /etc/ ?

If I create some hard disk partitions: /boot, /, /usr, /tmp ... , of cause the kernel is in the /boot partition, /etc/fstab is in the / partition not in /boot partition, when the system boot, how does the kernel know where is the / partition? Or I create a separated partition: /etc, can the... (7 Replies)
Discussion started by: haixiao_liu
7 Replies

9. Linux

Unload kernel module at boot time (Debian Wheezy 7.2, 3.2.0-4-686-pae kernel)

Hi everyone, I am trying to prevent the ehci_hcd kernel module to load at boot time. Here's what I've tried so far: 1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here): 2) Blacklisted the module by adding the following string to 3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
READPROFILE(1)							   User Commands						    READPROFILE(1)

NAME
readprofile - read kernel profiling information SYNOPSIS
readprofile [options] VERSION
This manpage documents version 2.0 of the program. DESCRIPTION
The readprofile command uses the /proc/profile information to print ascii data on standard output. The output is organized in three col- umns: the first is the number of clock ticks, the second is the name of the C function in the kernel where those many ticks occurred, and the third is the normalized `load' of the procedure, calculated as a ratio between the number of ticks and the length of the procedure. The output is filled with blanks to ease readability. Available command line options are the following: -m mapfile Specify a mapfile, which by default is /usr/src/linux/System.map. You should specify the map file on cmdline if your current kernel isn't the last one you compiled, or if you keep System.map elsewhere. If the name of the map file ends with `.gz' it is decompressed on the fly. -p pro-file Specify a different profiling buffer, which by default is /proc/profile. Using a different pro-file is useful if you want to `freeze' the kernel profiling at some time and read it later. The /proc/profile file can be copied using `cat' or `cp'. There is no more support for compressed profile buffers, like in readprofile-1.1, because the program needs to know the size of the buffer in advance. -i Info. This makes readprofile only print the profiling step used by the kernel. The profiling step is the resolution of the profil- ing buffer, and is chosen during kernel configuration (through `make config'), or in the kernel's command line. If the -t (terse) switch is used together with -i only the decimal number is printed. -a Print all symbols in the mapfile. By default the procedures with 0 reported ticks are not printed. -b Print individual histogram-bin counts. -r Reset the profiling buffer. This can only be invoked by root, because /proc/profile is readable by everybody but writable only by the superuser. However, you can make readprofile setuid 0, in order to reset the buffer without gaining privileges. -M multiplier On some architectures it is possible to alter the frequency at which the kernel delivers profiling interrupts to each CPU. This option allows you to set the frequency, as a multiplier of the system clock frequency, HZ. This is supported on i386-SMP (2.2 and 2.4 kernel) and also on sparc-SMP and sparc64-SMP (2.4 kernel). This option also resets the profiling buffer, and requires supe- ruser privileges. -v Verbose. The output is organized in four columns and filled with blanks. The first column is the RAM address of a kernel function, the second is the name of the function, the third is the number of clock ticks and the last is the normalized load. -V Version. This makes readprofile print its version number and exit. EXAMPLES
Browse the profiling buffer ordering by clock ticks: readprofile | sort -nr | less Print the 20 most loaded procedures: readprofile | sort -nr +2 | head -20 Print only filesystem profile: readprofile | grep _ext2 Look at all the kernel information, with ram addresses" readprofile -av | less Browse a `freezed' profile buffer for a non current kernel: readprofile -p ~/profile.freeze -m /zImage.map.gz Request profiling at 2kHz per CPU, and reset the profiling buffer sudo readprofile -M 20 BUGS
readprofile only works with an 1.3.x or newer kernel, because /proc/profile changed in the step from 1.2 to 1.3 This program only works with ELF kernels. The change for a.out kernels is trivial, and left as an exercise to the a.out user. To enable profiling, the kernel must be rebooted, because no profiling module is available, and it wouldn't be easy to build. To enable profiling, you can specify "profile=2" (or another number) on the kernel commandline. The number you specify is the two-exponent used as profiling step. Profiling is disabled when interrupts are inhibited. This means that many profiling ticks happen when interrupts are re-enabled. Watch out for misleading information. FILES
/proc/profile A binary snapshot of the profiling buffer. /usr/src/linux/System.map The symbol table for the kernel. /usr/src/linux/* The program being profiled :-) AVAILABILITY
The readprofile command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. 4th Berkeley Distribution May 1996 READPROFILE(1)
All times are GMT -4. The time now is 04:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy