Displaying 1 result from an estimated 1 matches for "bigbuf_in".
2006 Jan 17
0
asterisk.ctl limitations
...malloc up the following globals: */
 struct timeval * timer1 = NULL;
 struct timeval * timer2 = NULL;
 SAI * lclend = NULL;		/* sockaddr_in structs */
 SAI * remend = NULL;
+SAU * unixsock = NULL;
 HINF ** gates = NULL;		/* LSRR hop hostpoop */
 char * optbuf = NULL;		/* LSRR or sockopts */
 char * bigbuf_in;		/* data buffers */
@@ -660,10 +666,17 @@
 
 /* grab a socket; set opts */
 newskt:
-  if (o_udpmode)
-    nnetfd = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP);
-  else
-    nnetfd = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP);
+  if (unixsock_name) {
+    if (o_udpmode)
+      nnetfd = socket (AF_LO...