how to use sk_buff in netfilter

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

 



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?

    so great appreciation to you all.


-----------------------------------------------------
 Name:       jinyi wang
 Phone:      (86-10) 5881-2325
 Division:   R&D,Computer Network Information Center,
             Chinese Academy of Sciences
 Address:    4,4th South Street, Zhongguancun, 
             Haidian District, Beijing, China
 Zip code:   100080
 Email:      jywang@xxxxxxx


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux