view libsip/out_msg.h @ 117:c93c339271a7

sip-in CDR syslog: put a safety limit on string length
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 28 Sep 2022 23:07:46 -0800
parents 5427b26525cd
children
line wrap: on
line source

/*
 * Here we define the structure we are going to use for constructing
 * outgoing SIP messages (UDP packets).
 */

#define	MAX_SIP_TX_PACKET	1472

struct sip_msg_out {
	char		buf[MAX_SIP_TX_PACKET];
	unsigned	msg_len;
};