manipulating ip packets using netfilter

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

 



Hi,

I want to add list of source routes into ip packets.
I am planning to  write a netfilter module, which picks packet and
allcates a new skbuff and adds all source routes and frees existing
skbuff and return accept exist. Application allocates memory for bare
minimum ip packet without source routes .Then I am allocating bigger
sk_buff and adding source routes into it , while freeing original
packet from application. Is this right way to do it ? Does this work?
I dont want to use setsockopt for setting source routing for some reason.

Any other elegant way to add source routes into a packet at ip/network
layer at source node ?

Thanks
Prasad Hegde

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux