
swapnil_1983_18 at yahoo
Dec 13, 2005, 1:13 AM
Post #1 of 1
(232 views)
Permalink
|
|
sk_buff packet data modification
|
|
Hi I am trying to develope a client-server authentiation application in which all the client's outgoing packets will carry certain token(32 bit value) in between tcp/udp header & actual user data. the server will remove that token & forward the packet on internet. There is no mangling for reply from Internet. My question is how do I allocate memory in between tcp/udp header & user data for my token.(i.e how to shift pointers). Do I have to construct new sk_buff copy ( skb_copy_expand() )or existing sk_buff will work? I guess I dont have to change tcp seq/ack. Thanks __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
|