Solved

can't find a netfilter function implementation

Posted on 2007-11-29
1
226 Views
Last Modified: 2013-11-15
Hello,

I work on Ubuntu 7.10 and I'm investigating the netfilter source code.  
I have downloaded the linux source using apt-get source linux-source-2.6.22

I'm looking for the nf_register_hook function which is declared in:
/usr/src/linux-headers-2.6.22-14/include/linux/netfilter.h or
/usr/src/linux-headers-2.6.22-14-generic/include/linux/netfilter.h

The problem is that I can't find the implementation of this function in linux-source-2.6.22-2.6.22/net/ipv4/netfilter.c

How is that possible? Can somebody please help?
0
Comment
Question by:Commsquare
1 Comment
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 20377337
./net/netfilter/core.c:62:int nf_register_hook(struct nf_hook_ops *reg)
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can't get /etc/resolv.conf to configure after reboot 8 72
Migrating an SQL 2008 database to Oracle 12c 3 88
linux boot fsck problem 3 61
Why isn't object file created? 6 42
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now