comparison utils/sip-udp-dump.c @ 18:87c077b23996

sip-udp-dump: increase buffer size to 4096 bytes
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 26 Jun 2022 18:28:08 -0800
parents 4e0a73be9e37
children 5995660dcbac
comparison
equal deleted inserted replaced
17:4e0a73be9e37 18:87c077b23996
15 #include <time.h> 15 #include <time.h>
16 #include <unistd.h> 16 #include <unistd.h>
17 17
18 static int sock; 18 static int sock;
19 static FILE *logf; 19 static FILE *logf;
20 static char dgram[2048]; 20 static char dgram[4096];
21 static unsigned dgram_len; 21 static unsigned dgram_len;
22 static struct sockaddr_in sin; 22 static struct sockaddr_in sin;
23 static time_t curtime; 23 static time_t curtime;
24 24
25 static void 25 static void