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

(usagi-users 03163) Issue on input process of Linux native IPsec



Hi,
  We know that the output process of Linux native
IPsec fully uses the XFRM architecture. The order of
primal functions are xfrm_lookup(),
xfrm_tmpl_resolve(), xfrm_bundle_create() and
dst_output(). 
  The input process for IPsec is more simple than
output. The order of primal functions (in IPv4) are
xfrm4_rcv(), xfrm4_rcv_encap(), xfrm4_parse_spi(),
xfrm4_policy_check().
  But, Why should the input process also go throught
xfrm_lookup(), xfrm_tmpl_resolve(),
xfrm_bundle_create()? What's the purpose of this? 

  Thank you.


=====
Best Regards,
Park Lee

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com