can i hook "skb" before calling hard_start_xmit in tunnel module?

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

 



hello.

these days, im writing some codes for asynchronous ipsec_tunnel.c.

im working with ixp4xx ( intel network processor ).

the thing that i want is i wanna call "dev->hard_start_xmit" when i finish crypt the packet.

for example, in user-space, user runs 'ping'.

run 'ping' -> kernel makes skb for a ping packet -> this skb reach tunnel device -> called tuennel_dev->hard_start_xmit -> send packet.

original ipsec_tunnel.c, the crypt is performed in dev->hard_start_xmit.

but, i want to crypt before kernel calls dev->hard_start_xmit.

is it possible?

sorry for my poor english.

thanks :)
------------------------------------------------------
Park, Jin Hyung
jinhyung@xxxxxxxxx
+82-10-9029-5643



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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