LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-27-2005, 02:28 AM   #1
wangjinyi
Member
 
Registered: Sep 2004
Posts: 60

Rep: Reputation: 15
how to use sk_buff


Hi,all

i want to make some change on ip packet in NF_IP_PRE_ROUTING
hook. but i don't know what is the exactly means of each piece in
struct sk_buff.

i know how to generate a packet, but how to generate a correct
sk_buff of the packet is a difficult for me, and how to put the
sk_buff to the system is a problem too.

How? or where to get more details of that? is there a example
program to learn?

thx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve an sk_buff from libipq netfunk Linux - Networking 2 03-20-2006 04:16 AM
Help with sk_buff cstrask Programming 0 11-23-2005 09:55 PM
kernel APIs related to sk_buff seong moon Linux - Networking 0 08-27-2002 04:28 AM


All times are GMT -5. The time now is 03:34 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration