Searched refs:syslog (Results 1 - 25 of 352) sorted by relevance

1234567891011>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptpd/pptpd-1.3.4/
H A Dour_syslog.h26 #define syslog(a,b,c...) ({fprintf(stderr, "pptpd syslog: " b "\n" , ## c);}) macro
34 * Send all errors to syslog
38 #include <syslog.h>
40 #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno))
H A Dpptpctrl.c129 /* open a connection to the syslog daemon */
148 syslog(LOG_DEBUG, "CTRL: local address = %s", pppLocal);
150 syslog(LOG_DEBUG, "CTRL: remote address = %s", pppRemote);
152 syslog(LOG_DEBUG, "CTRL: pppd speed = %s", speed);
154 syslog(LOG_DEBUG, "CTRL: pppd options file = %s", pppdxfig);
159 syslog(LOG_ERR, "CTRL: getsockname() failed");
168 syslog(LOG_ERR, "CTRL: getpeername() failed");
178 syslog(LOG_ERR, "CTRL: Failed to set client socket non-blocking");
195 syslog(LOG_INFO, "CTRL: Client %s control connection started", inet_ntoa(addr.sin_addr));
197 syslog(LOG_DEBU
[all...]
H A Dpptpd.c94 printf(" [-d] [--debug] Turns on debugging (to syslog).\n");
118 printf("\n\nLogs and debugging go to syslog as DAEMON.");
145 /* open a connection to the syslog daemon */
201 syslog(LOG_ERR, "MGR: Invalid listening address: %s!", optarg);
268 syslog(LOG_ERR, "MGR: Config file not found!");
320 syslog(LOG_ERR, "MGR: Invalid listening address: %s!", tmp);
373 syslog(LOG_ERR, "MGR: PPP binary %s not executable",
379 syslog(LOG_ERR, "MGR: PPP options file %s not readable",
386 syslog(LOG_ERR, "MGR: bcrelay binary %s not executable",
410 syslog(LOG_DEBU
[all...]
H A Dpqueue.c5 #include <syslog.h>
35 DEBUG_CMD(syslog(LOG_DEBUG, "seq=%d, packlen=%d", seq, packlen););
70 DEBUG_CMD(syslog(LOG_DEBUG, "realloc capacity %d to %d",newent->capacity, packlen););
75 syslog(LOG_WARNING, "error reallocating packet: %s", strerror(errno));
81 DEBUG_CMD(syslog(LOG_DEBUG, "Recycle entry from freelist. Capacity: %d", newent->capacity););
88 syslog(LOG_WARNING, "error allocating newent: %s", strerror(errno));
93 DEBUG_CMD(syslog(LOG_DEBUG, "Alloc new queue entry"););
100 DEBUG_CMD(syslog(LOG_DEBUG, "allocating for packet size %d", size););
103 syslog(LOG_WARNING, "error allocating packet: %s", strerror(errno));
138 syslog(LOG_WARNIN
[all...]
H A Dpptpmanager.c38 #include <syslog.h>
183 if (pptp_debug) syslog(LOG_DEBUG, "MGR: Reaped child %d", child);
189 if (pptp_debug) syslog(LOG_DEBUG, "MGR: Reaped child %d", child);
191 syslog(LOG_INFO, "MGR: Reaped unknown child %d", child);
210 syslog(LOG_ERR, "MGR: unable to setup sigchld pipe!");
221 syslog(LOG_INFO, "MGR: Manager process started");
224 syslog(LOG_INFO, "MGR: Maximum of %d connections available",
230 syslog(LOG_ERR, "MGR: Couldn't create host socket");
243 syslog(LOG_ERR, "MGR: No free connection slots or IPs - no more clients can connect!");
256 syslog(LOG_ER
[all...]
H A Dctrlpacket.c14 #include <syslog.h>
78 syslog(LOG_ERR, "CTRL: couldn't read packet header (%s)", bytes_read ? "retry" : "exit");
116 syslog(LOG_ERR, "CTRL: PPTP Control Message type %d not supported.", pptp_ctrl_type);
143 syslog(LOG_ERR, "CTRL: Couldn't write packet to client.");
149 syslog(LOG_DEBUG, "CTRL: I wrote %d bytes to the client.", packet_size);
150 syslog(LOG_DEBUG, "CTRL: Sent packet to client");
222 syslog(LOG_DEBUG, "CTRL: Read in previous incomplete ctrl packet");
240 syslog(LOG_ERR, "CTRL: Error reading ctrl packet length (bytes_ttl=%d): %s", bytes_ttl, strerror(errno));
245 syslog(LOG_ERR, "CTRL: EOF or bad error reading ctrl packet length.");
257 syslog(LOG_DEBU
[all...]
H A Dpptpgre.c75 syslog(LOG_ERR, "GRE: socket() failed");
85 syslog(LOG_ERR, "GRE: bind() failed: %s", strerror(errno));
86 syslog(LOG_ERR, "GRE: continuing, but may not work if multi-homed");
93 syslog(LOG_ERR, "GRE: connect() failed: %s", strerror(errno));
129 syslog(LOG_ERR, "GRE: Re-xmit called with nothing queued");
139 syslog(LOG_ERR, "GRE: read(fd=%d,buffer=%lx,len=%d) from PTY failed: status = %d error = %s%s",
162 syslog(LOG_ERR, "GRE: re-xmit failed from decaps_hdlc: %s", strerror(errno));
186 syslog(LOG_ERR, "GRE: Received too long packet from pppd.");
222 syslog(LOG_ERR, "GRE: Received too short packet from pppd.");
224 syslog(LOG_ER
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/lib/replace/system/
H A Dsyslog.h6 syslog system include wrappers
26 #include <syslog.h>
29 #include <sys/syslog.h>
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/Micromax/Linux/driver/
H A Dlongcheer-cm55-ejectcd50 syslog( "error", "Unable to find given device: $dev\n" );
51 syslog( "error", "$!" );
55 syslog( "info", "Found device $dev\n" );
77 ioctl(USB, $ioctl, $buffer) or syslog( "warning", "USB ioctl error $!\n" );
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/scripts/
H A Dplog6 exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
H A Dautopppd91 syslog('info', 'restarting pppd');
114 { syslog('err',"pppd died with signal $pppd_signal, coredump"); }
116 { syslog('err',"pppd died with signal $pppd_signal"); }
119 syslog('err',"pppd died with coredump");
122 syslog('err', "pppd returned: ".$code->{$pppd_code}{"message"}." ($pppd_code), immediate retry");
126 syslog('err', "pppd returned: ".$code->{$pppd_code}{"message"}." ($pppd_code), delayed retry");
130 syslog('err', "pppd returned: ".$code->{$pppd_code}{"message"}." ($pppd_code), aborting");
134 syslog('err', "pppd returned: unknown error ($pppd_code), delayed retry");
139 syslog('err',"pppd session didn't last 1 hour, delayed retry");
151 syslog('inf
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/contrib/pppgetpass/
H A Dpppgetpass.vt.c9 #include <syslog.h>
39 syslog(LOG_WARNING, "Usage error");
44 syslog(LOG_ERR, "open(/dev/console): %m");
49 syslog(LOG_ERR, "VT_GETSTATE: %m");
61 syslog(LOG_WARNING, "run by uid %lu not at console", (unsigned long)uid);
68 syslog(LOG_ERR, "VT_OPENQRY: %m");
72 syslog(LOG_ERR, "No free VTs");
81 syslog(LOG_ERR, "open(%s): %m", openvtname);
88 syslog(LOG_ERR, "fchown(%s): %m", openvtname);
96 syslog(LOG_ER
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/contrib/pppgetpass/
H A Dpppgetpass.vt.c9 #include <syslog.h>
39 syslog(LOG_WARNING, "Usage error");
44 syslog(LOG_ERR, "open(/dev/console): %m");
49 syslog(LOG_ERR, "VT_GETSTATE: %m");
61 syslog(LOG_WARNING, "run by uid %lu not at console", (unsigned long)uid);
68 syslog(LOG_ERR, "VT_OPENQRY: %m");
72 syslog(LOG_ERR, "No free VTs");
81 syslog(LOG_ERR, "open(%s): %m", openvtname);
88 syslog(LOG_ERR, "fchown(%s): %m", openvtname);
96 syslog(LOG_ER
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/sysklogd/
H A Dklogd.c7 * syslog() client interface.
21 #include <sys/syslog.h>
28 syslog(LOG_NOTICE, "Kernel log daemon exiting");
71 syslog(LOG_NOTICE, "klogd started: %s", bb_banner);
85 syslog(LOG_ERR, "klogd: error from klogctl(2): %d - %m",
113 syslog(priority, "%s", start);
H A Dlogger.c15 #include <sys/syslog.h>
18 #include <sys/syslog.h>
115 syslog(i, "%s", strbuf);
128 syslog(i, "%s", message + 1); /* skip leading " " */
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/psf/
H A Dpsf.c44 #include <syslog.h>
159 syslog( LOG_ERR, "bad option: %c", c );
165 syslog( LOG_ERR, "Too many arguments" );
180 syslog( LOG_INFO, "starting for %s", name ? name : "?" );
184 syslog( LOG_ERR, "read: %s", strerror(errno) );
188 syslog( LOG_INFO, "done" );
202 syslog( LOG_ERR, "%s: %s", psapath, strerror(errno) );
206 syslog( LOG_INFO, "accounting with psa[%d]", c );
259 syslog( LOG_ERR, "%s: %s", pappath, strerror(errno) );
263 syslog( LOG_INF
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/
H A Dcommon.c22 #include <syslog.h>
53 syslog(LOG_ERR, "Invalid PPPoE version (%d)", (int) packet->ver);
57 syslog(LOG_ERR, "Invalid PPPoE type (%d)", (int) packet->type);
63 syslog(LOG_ERR, "Invalid PPPoE packet length (%u)", len);
79 syslog(LOG_ERR, "Invalid PPPoE tag length (%u)", tagLen);
108 syslog(LOG_ERR, "Invalid PPPoE version (%d)", (int) packet->ver);
112 syslog(LOG_ERR, "Invalid PPPoE type (%d)", (int) packet->type);
118 syslog(LOG_ERR, "Invalid PPPoE packet length (%u)", len);
134 syslog(LOG_ERR, "Invalid PPPoE tag length (%u)", tagLen);
153 * Prints a message to stderr and syslog
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/modules/
H A Dvfs_audit.c2 * Auditing VFS module for samba. Log selected file operations to syslog
129 syslog(audit_syslog_priority(handle), "connect to service %s by user %s\n",
139 syslog(audit_syslog_priority(handle), "disconnected\n");
151 syslog(audit_syslog_priority(handle), "opendir %s %s%s\n",
165 syslog(audit_syslog_priority(handle), "mkdir %s %s%s\n",
179 syslog(audit_syslog_priority(handle), "rmdir %s %s%s\n",
193 syslog(audit_syslog_priority(handle), "open %s (fd %d) %s%s%s\n",
208 syslog(audit_syslog_priority(handle), "close fd %d %s%s\n",
222 syslog(audit_syslog_priority(handle), "rename %s -> %s %s%s\n",
236 syslog(audit_syslog_priorit
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/udhcpd/
H A Ddebug.h8 #include <syslog.h>
15 syslog(level, str, ## args); } while(0)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udhcpd/
H A Ddebug.h8 #include <syslog.h>
15 syslog(level, str, ## args); } while(0)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iproute2/tc/
H A Dp_tcp.c16 #include <syslog.h>
H A Dp_udp.c16 #include <syslog.h>
/netgear-R7000-V1.0.7.12_1.2.5/src/router/iputils/racoon/
H A Dplog.h39 #include <syslog.h>
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/libbb/
H A Dinfo_msg.c10 #include <syslog.h>
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/loginutils/
H A Dsu.c9 #include <syslog.h>
65 syslog(LOG_NOTICE, "%c %s %s:%s",
69 syslog(LOG_NOTICE, "%c %s %s:%s",

Completed in 175 milliseconds

1234567891011>>