FreeCalypso > hg > themwi-system-sw
diff libsip/out_msg.h @ 46:5427b26525cd
libsip: beginning to flesh out
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 06 Sep 2022 20:29:44 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsip/out_msg.h Tue Sep 06 20:29:44 2022 -0800 @@ -0,0 +1,11 @@ +/* + * 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; +};