Function silc_packet_send_ext
SYNOPSIS
SilcBool
silc_packet_send_ext(SilcPacketStream stream,
SilcPacketType type, SilcPacketFlags flags,
SilcIdType src_id_type, void *srd_id,
SilcIdType dst_id_type, void *dst_id,
const unsigned char *data, SilcUInt32 data_len,
SilcCipher cipher, SilcHmac hmac);
DESCRIPTION
Same as silc_packet_send but with this function different sending
parameters can be sent as argument. This function can be used to
set specific IDs, cipher and HMAC to be used in packet sending,
instead of the ones saved in the `stream'. If any of the extra
pointers are NULL, default values set to the stream will apply.
|