Lines Matching refs:log_Printf
128 log_Printf(LogPHASE, "bundle: %s\n", PhaseNames[new]); in bundle_NewPhase()
153 log_Printf(LogPHASE, "bundle: All NCPs are disabled\n"); in bundle_NewPhase()
182 log_Printf(LogCHAT, "Parent notified of %s\n", in bundle_Notify()
185 log_Printf(LogERROR, "Failed to notify parent of success\n"); in bundle_Notify()
189 log_Printf(LogCHAT, "Parent notified of %s\n", ex_desc(c)); in bundle_Notify()
191 log_Printf(LogERROR, "Failed to notify parent of %s\n", ex_desc(c)); in bundle_Notify()
201 log_Printf(LogPHASE, "Clearing choked output queue\n"); in bundle_ClearQueues()
350 log_Printf(LogALERT, "Oops, lost an unrecognised datalink (%s) !\n", in bundle_LayerDown()
418 log_Printf(LogWARN, "%s: Invalid datalink name\n", name); in bundle_Close()
480 log_Printf(LogTIMER, "%s: fdset(r) %d\n", TUN_NAME, bundle->dev.fd); in bundle_UpdateSet()
569 log_Printf(LogWARN, "%s: read: %s\n", bundle->dev.Name, strerror(errno)); in bundle_DescriptorRead()
576 log_Printf(LogERROR, "%s: read: Got only %d bytes of data !\n", in bundle_DescriptorRead()
600 log_Printf(LogDEBUG, "Looped back packet addressed to myself\n"); in bundle_DescriptorRead()
604 log_Printf(LogDEBUG, "Oops - forwarding packet addressed to myself\n"); in bundle_DescriptorRead()
680 log_Printf(LogERROR, "Warning: Can't create %s: %s\n", in bundle_LockTun()
707 log_Printf(LogALERT, "bundle_Create: There's only one BUNDLE !\n"); in bundle_Create()
751 log_Printf(LogWARN, "No available tunnel devices found (%s)\n", in bundle_Create()
754 log_Printf(LogWARN, "%s%d: %s\n", prefix, unit, strerror(err)); in bundle_Create()
776 log_Printf(LogERROR, "bundle_Create: ioctl(TUNSIFMODE): %s\n", in bundle_Create()
784 log_Printf(LogERROR, "bundle_Create: ioctl(TUNSLMODE): %s\n", in bundle_Create()
792 log_Printf(LogERROR, "bundle_Create: ioctl(TUNSIFHEAD): %s\n", in bundle_Create()
811 log_Printf(LogPHASE, "Using interface: %s\n", ifname); in bundle_Create()
848 log_Printf(LogALERT, "Cannot create data link: %s\n", strerror(errno)); in bundle_Create()
1158 log_Printf(LogPHASE, "Idle timer expired\n"); in bundle_IdleTimeout()
1228 log_Printf(LogPHASE, "Session-Timeout timer expired\n"); in bundle_SessionTimeout()
1323 log_Printf(LogWARN, "Clone: %s: name already exists\n", name); in bundle_DatalinkClone()
1364 log_Printf(LogERROR, "Cannot determine space required for link\n"); in bundle_LinkSize()
1386 log_Printf(LogPHASE, "Receiving datalink\n"); in bundle_ReceiveDatalink()
1397 log_Printf(LogERROR, "Cannot determine space required for link\n"); in bundle_ReceiveDatalink()
1404 log_Printf(LogERROR, "Cannot allocate space to receive link\n"); in bundle_ReceiveDatalink()
1425 log_Printf(LogDEBUG, "Expecting %u scatter/gather bytes\n", in bundle_ReceiveDatalink()
1430 log_Printf(LogERROR, "Failed recvmsg: %s\n", strerror(errno)); in bundle_ReceiveDatalink()
1432 log_Printf(LogERROR, "Failed recvmsg: Got %zd, not %u\n", in bundle_ReceiveDatalink()
1440 log_Printf(LogERROR, "Recvmsg: no descriptors received !\n"); in bundle_ReceiveDatalink()
1450 log_Printf(LogERROR, "Recvmsg: %d descriptor%s received (too few) !\n", in bundle_ReceiveDatalink()
1465 log_Printf(LogWARN, "Cannot receive datalink, incorrect version" in bundle_ReceiveDatalink()
1483 log_Printf(LogERROR, "Failed write: %s\n", strerror(errno)); in bundle_ReceiveDatalink()
1485 log_Printf(LogERROR, "Failed write: Got %zd, not %d\n", got, in bundle_ReceiveDatalink()
1496 log_Printf(LogERROR, "Failed write: %s\n", strerror(errno)); in bundle_ReceiveDatalink()
1498 log_Printf(LogERROR, "Failed write: Got %zd, not %d\n", got, expect); in bundle_ReceiveDatalink()
1515 log_Printf(LogERROR, "bundle_ReceiveDatalink: Failed to handle %d " in bundle_ReceiveDatalink()
1549 log_Printf(LogPHASE, "Transmitting datalink %s\n", dl->name); in bundle_SendDatalink()
1605 log_Printf(LogERROR, "setsockopt(SO_RCVBUF, %d): %s\n", expect, in bundle_SendDatalink()
1608 log_Printf(LogERROR, "setsockopt(SO_RCVBUF, %d): %s\n", expect, in bundle_SendDatalink()
1611 log_Printf(LogDEBUG, "Sending %d descriptor%s and %u bytes in scatter" in bundle_SendDatalink()
1616 log_Printf(LogERROR, "Failed sendmsg: %s: %s\n", in bundle_SendDatalink()
1619 log_Printf(LogERROR, "%s: Failed initial sendmsg: Only sent %zd of %u\n", in bundle_SendDatalink()
1626 log_Printf(LogDEBUG, "Received confirmation from pid %ld\n", in bundle_SendDatalink()
1629 log_Printf(LogERROR, "uu_lock_txfr: %s\n", uu_lockerr(res)); in bundle_SendDatalink()
1631 log_Printf(LogDEBUG, "Transmitting link (%d bytes)\n", expect); in bundle_SendDatalink()
1634 log_Printf(LogERROR, "%s: Failed writev: %s\n", in bundle_SendDatalink()
1637 log_Printf(LogERROR, "%s: Failed writev: Wrote %zd of %d\n", in bundle_SendDatalink()
1641 log_Printf(LogERROR, "%s: Failed socketpair read: %s\n", in bundle_SendDatalink()
1644 log_Printf(LogERROR, "%s: Failed socketpair read: Got %zd of %d\n", in bundle_SendDatalink()
1693 log_Printf(LogWARN, "You must `set ifaddr' or `open' before" in bundle_SetMode()
1737 log_Printf(LogERROR, "pipe: %s\n", strerror(errno)); in bundle_setsid()
1742 log_Printf(LogERROR, "fork: %s\n", strerror(errno)); in bundle_setsid()
1751 log_Printf(LogERROR, "pipe(2): %s\n", strerror(errno)); in bundle_setsid()
1756 log_Printf(LogERROR, "fork(2): %s\n", strerror(errno)); in bundle_setsid()
1767 log_Printf(LogDEBUG, "%ld -> %ld: %s session control\n", in bundle_setsid()
1894 log_Printf(LogDEBUG, "%s: %s: Cannot determine bandwidth\n", in bundle_CalculateBandwidth()
1919 log_Printf(LogLCP, "Reducing MTU to radius value %lu\n", in bundle_CalculateBandwidth()
1926 log_Printf(LogLCP, "Reducing MTU from %lu to %lu (CCP requirement)\n", in bundle_CalculateBandwidth()
1965 log_Printf(LogPHASE, "%d%% saturation -> Opening link ``%s''\n", in bundle_AutoAdjust()
1970 log_Printf(LogPHASE, "%d%% saturation -> Closing link ``%s''\n", in bundle_AutoAdjust()