[Openswan dev] Pluto exchange code

Michael Richardson mcr at sandelman.ottawa.on.ca
Mon May 31 17:07:24 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "mladen-g" == mladen-g  <mladen-g at rogers.com> writes:
    mladen-g> These are my questions:

    mladen-g> 1) What is "pb_stream reply"?  In the comments it says
    mladen-g> "not actually a reply, but you know what I
    mladen-g> mean"... unfortunately I don't :) It is also mentioned
    mladen-g> later in the lines:

  usually, messages are sent in reply to something that just arrived.
  The exception is that I1 never has a message coming in to cause the
reply. However, the machinery is aimed at sending a reply, so we just
adapt to it.

    mladen-g> 2) How does send_packet know which output stream to
    mladen-g> transmit?  The "st" state object is passed to it, but I
    mladen-g> don't see any "pb_stream" object anywhere in the
    mladen-g> definition of struct state.  Can anyone tell me what I am
    mladen-g> overlooking?

  The reply pb_stream has been initialized to a buffer that will get
used.

- --
]     "Elmo went to the wrong fundraiser" - The Simpson         |  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.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBQLuQeoqHRg3pndX9AQG3HwQA4cTSnA8AmDc+cX8/IYqQW9J6h7UMNbbg
NEP850B/YXF5cNYZtJr5Y7oVLWGN3aZdHdAcSL2Tdr+j2qDEnK12MAsgAYECZ2D7
JCWm9BRDombaXJgzcRaCX8dm+TCE9GGFgf6kfo6uN1jgK740qCfa1ndQMgX8ohdU
LxEsYiiBZ2w=
=9ZPc
-----END PGP SIGNATURE-----


More information about the Dev mailing list