Lines Matching defs:exchange
54 struct exchange { struct
61 /* A name of the SAs this exchange will result in. XXX non unique? */ argument
71 * A function with a polymorphic argument called after the exchange argument
76 void (*finalize)(struct exchange *, void *, int); argument
84 * run the exchange and which will trigger auto-destruction. argument
97 /* The exchange type we are using. */ argument
103 /* The "step counter" of the exchange, starting from zero. */ argument
112 /* The DOI that is to handle DOI-specific issues for this exchange. */ argument
117 * for this exchange. argument
129 * remove it from the queue, when the exchange is deleted. argument
154 /* Crypto info needed to encrypt/decrypt packets in this exchange. */ argument
155 struct crypto_xf *crypto;
156 size_t key_length;
157 struct keystate *keystate;
163 char *keynote_key; /* printable format */
191 int recv_certtype, recv_keytype;
192 void *recv_cert; /* Certificate received from peer,
194 void *recv_key; /* Key peer used to authenticate,
198 int sent_certtype, sent_keytype;
199 void *sent_cert; /* Certificate (to be) sent to peer,
203 u_int32_t seq;
231 extern void exchange_free(struct exchange *); argument