[Openswan dev] ipsec_xmit_esp_setup(), which code calls it

Michael Richardson mcr at xelerance.com
Wed Feb 1 19:47:25 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


    >> I am researching the source of klips, and I cannot find which
    >> function calls ipsec_xmit_esp_setup(). Address of
    >> ipsec_xmit_esp_setup() is registered as member 'xmit_setup'. But
    >> there are no calls through xmit_setup. Can anyone give me a hint
    >> which functions calls ipsec_xmit_esp_setup ?

  ipsec_xmit_esp_setup is added as the "xmit_setup" member of the
"esp_xform_funcs".
  That code is not called at present --- it is in fact duplicated in 
ipsec_xmit_encap_once().  The intention is to refactor that function.

  If you want to try doing that, you might want to see the code in
testing/kunit/ (write a test case for ipcomp and AH first).

- -- 
]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson,    Xelerance Corporation, Ottawa, ON    |net architect[
] mcr at xelerance.com      http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
  

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Finger me for keys

iQEVAwUBQ+FWl4CLcPvd0N1lAQIX2Af/VDJvMS9T5+70yqnIyL/xb+u9VOLSkHxn
9PVmA4S8+81b2M+8PjpE20VEhYBe4zpiNa7VaylWNBlxaDxV2/KAWrqmUhOZMQJk
7PoABT6LNgmI5rdP9OMm5yJOuBCL4Jn92YzteAMDBqQ0sLIy1wFs0rZ2sBe6Rh+i
47zVdnx6E6ZJwWet0Ok+5YK83kB2lQgqSm/bjN7X0U4keKjSAtG9aVFo8somDBGv
p8uW58G8jERA1pGHQH4iuLRa0pV/hCo9O3hwgiMTFzWkURlSd6rJPo94RTTtvIhB
5Ihae3RwOW64OBEIKDFYcpYT9+H90yz6568kC0nob5uPQzoki4/AFw==
=2AiQ
-----END PGP SIGNATURE-----


More information about the Dev mailing list