Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

can't find a netfilter function implementation

Posted on 2007-11-29
1
Medium Priority
?
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 35

Accepted Solution

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

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

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…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

598 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