message_add_payload
if (message_add_payload(msg, ISAKMP_PAYLOAD_VENDOR, buf, buflen, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_NONCE, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_CERT_REQ,
if (message_add_payload(msg, ISAKMP_PAYLOAD_CERT, cert,
if (message_add_payload(msg, ISAKMP_PAYLOAD_SIG, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_CERT, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_SA, sa_buf, sa_len, 1))
if (message_add_payload(msg, ISAKMP_PAYLOAD_PROPOSAL, proposal,
if (message_add_payload(msg, ISAKMP_PAYLOAD_TRANSFORM,
if (message_add_payload(msg, ISAKMP_PAYLOAD_ID, buf, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_HASH, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_HASH, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_ID, id, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_ID, id, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_SA, sa_buf, sa_len, 1))
if (message_add_payload(msg, ISAKMP_PAYLOAD_PROPOSAL,
if (message_add_payload(msg, ISAKMP_PAYLOAD_TRANSFORM,
if (message_add_payload(msg, ISAKMP_PAYLOAD_ID, id, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_ID, id, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_ID, id, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_ID, id, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_KEY_EXCH, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_NOTIFY, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_HASH, buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_ATTRIBUTE, attrp, attrlen,
if (message_add_payload(msg, ISAKMP_PAYLOAD_ATTRIBUTE, attrp, attrlen,
if (message_add_payload(msg, ISAKMP_PAYLOAD_HASH, hashp,
if (message_add_payload(msg, payload, buf, sz, 1)) {
if (message_add_payload(msg, ISAKMP_PAYLOAD_SA, sa_buf,
if (message_add_payload(msg, ISAKMP_PAYLOAD_PROPOSAL,
if (message_add_payload(msg, ISAKMP_PAYLOAD_TRANSFORM,
extern int message_add_payload(struct message *, u_int8_t, u_int8_t *,
if (message_add_payload(msg, ISAKMP_PAYLOAD_VENDOR, buf, buflen, 1)) {
ret = message_add_payload(msg, ISAKMP_PAYLOAD_NAT_D, buf,
ret = message_add_payload(msg, ISAKMP_PAYLOAD_NAT_D_DRAFT,
if (message_add_payload(msg, ISAKMP_PAYLOAD_VENDOR, buf,