Lines Matching refs:log_Printf
130 log_Printf(LogPHASE, "bundle: %s\n", PhaseNames[new]); in bundle_NewPhase()
155 log_Printf(LogPHASE, "bundle: All NCPs are disabled\n"); in bundle_NewPhase()
184 log_Printf(LogCHAT, "Parent notified of %s\n", in bundle_Notify()
187 log_Printf(LogERROR, "Failed to notify parent of success\n"); in bundle_Notify()
191 log_Printf(LogCHAT, "Parent notified of %s\n", ex_desc(c)); in bundle_Notify()
193 log_Printf(LogERROR, "Failed to notify parent of %s\n", ex_desc(c)); in bundle_Notify()
203 log_Printf(LogPHASE, "Clearing choked output queue\n"); in bundle_ClearQueues()
352 log_Printf(LogALERT, "Oops, lost an unrecognised datalink (%s) !\n", in bundle_LayerDown()
420 log_Printf(LogWARN, "%s: Invalid datalink name\n", name); in bundle_Close()
482 log_Printf(LogTIMER, "%s: fdset(r) %d\n", TUN_NAME, bundle->dev.fd); in bundle_UpdateSet()
571 log_Printf(LogWARN, "%s: read: %s\n", bundle->dev.Name, strerror(errno)); in bundle_DescriptorRead()
578 log_Printf(LogERROR, "%s: read: Got only %d bytes of data !\n", in bundle_DescriptorRead()
602 log_Printf(LogDEBUG, "Looped back packet addressed to myself\n"); in bundle_DescriptorRead()
606 log_Printf(LogDEBUG, "Oops - forwarding packet addressed to myself\n"); in bundle_DescriptorRead()
682 log_Printf(LogERROR, "Warning: Can't create %s: %s\n", in bundle_LockTun()
709 log_Printf(LogALERT, "bundle_Create: There's only one BUNDLE !\n"); in bundle_Create()
753 log_Printf(LogWARN, "No available tunnel devices found (%s)\n", in bundle_Create()
756 log_Printf(LogWARN, "%s%d: %s\n", prefix, unit, strerror(err)); in bundle_Create()
778 log_Printf(LogERROR, "bundle_Create: ioctl(TUNSIFMODE): %s\n", in bundle_Create()
786 log_Printf(LogERROR, "bundle_Create: ioctl(TUNSLMODE): %s\n", in bundle_Create()
794 log_Printf(LogERROR, "bundle_Create: ioctl(TUNSIFHEAD): %s\n", in bundle_Create()
813 log_Printf(LogPHASE, "Using interface: %s\n", ifname); in bundle_Create()
850 log_Printf(LogALERT, "Cannot create data link: %s\n", strerror(errno)); in bundle_Create()
1160 log_Printf(LogPHASE, "Idle timer expired\n"); in bundle_IdleTimeout()
1230 log_Printf(LogPHASE, "Session-Timeout timer expired\n"); in bundle_SessionTimeout()
1325 log_Printf(LogWARN, "Clone: %s: name already exists\n", name); in bundle_DatalinkClone()
1366 log_Printf(LogERROR, "Cannot determine space required for link\n"); in bundle_LinkSize()
1388 log_Printf(LogPHASE, "Receiving datalink\n"); in bundle_ReceiveDatalink()
1399 log_Printf(LogERROR, "Cannot determine space required for link\n"); in bundle_ReceiveDatalink()
1406 log_Printf(LogERROR, "Cannot allocate space to receive link\n"); in bundle_ReceiveDatalink()
1427 log_Printf(LogDEBUG, "Expecting %u scatter/gather bytes\n", in bundle_ReceiveDatalink()
1432 log_Printf(LogERROR, "Failed recvmsg: %s\n", strerror(errno)); in bundle_ReceiveDatalink()
1434 log_Printf(LogERROR, "Failed recvmsg: Got %zd, not %u\n", in bundle_ReceiveDatalink()
1442 log_Printf(LogERROR, "Recvmsg: no descriptors received !\n"); in bundle_ReceiveDatalink()
1452 log_Printf(LogERROR, "Recvmsg: %d descriptor%s received (too few) !\n", in bundle_ReceiveDatalink()
1467 log_Printf(LogWARN, "Cannot receive datalink, incorrect version" in bundle_ReceiveDatalink()
1485 log_Printf(LogERROR, "Failed write: %s\n", strerror(errno)); in bundle_ReceiveDatalink()
1487 log_Printf(LogERROR, "Failed write: Got %zd, not %d\n", got, in bundle_ReceiveDatalink()
1498 log_Printf(LogERROR, "Failed write: %s\n", strerror(errno)); in bundle_ReceiveDatalink()
1500 log_Printf(LogERROR, "Failed write: Got %zd, not %d\n", got, expect); in bundle_ReceiveDatalink()
1517 log_Printf(LogERROR, "bundle_ReceiveDatalink: Failed to handle %d " in bundle_ReceiveDatalink()
1551 log_Printf(LogPHASE, "Transmitting datalink %s\n", dl->name); in bundle_SendDatalink()
1607 log_Printf(LogERROR, "setsockopt(SO_RCVBUF, %d): %s\n", expect, in bundle_SendDatalink()
1610 log_Printf(LogERROR, "setsockopt(SO_RCVBUF, %d): %s\n", expect, in bundle_SendDatalink()
1613 log_Printf(LogDEBUG, "Sending %d descriptor%s and %u bytes in scatter" in bundle_SendDatalink()
1618 log_Printf(LogERROR, "Failed sendmsg: %s: %s\n", in bundle_SendDatalink()
1621 log_Printf(LogERROR, "%s: Failed initial sendmsg: Only sent %zd of %u\n", in bundle_SendDatalink()
1628 log_Printf(LogDEBUG, "Received confirmation from pid %ld\n", in bundle_SendDatalink()
1631 log_Printf(LogERROR, "uu_lock_txfr: %s\n", uu_lockerr(res)); in bundle_SendDatalink()
1633 log_Printf(LogDEBUG, "Transmitting link (%d bytes)\n", expect); in bundle_SendDatalink()
1636 log_Printf(LogERROR, "%s: Failed writev: %s\n", in bundle_SendDatalink()
1639 log_Printf(LogERROR, "%s: Failed writev: Wrote %zd of %d\n", in bundle_SendDatalink()
1643 log_Printf(LogERROR, "%s: Failed socketpair read: %s\n", in bundle_SendDatalink()
1646 log_Printf(LogERROR, "%s: Failed socketpair read: Got %zd of %d\n", in bundle_SendDatalink()
1695 log_Printf(LogWARN, "You must `set ifaddr' or `open' before" in bundle_SetMode()
1739 log_Printf(LogERROR, "pipe: %s\n", strerror(errno)); in bundle_setsid()
1744 log_Printf(LogERROR, "fork: %s\n", strerror(errno)); in bundle_setsid()
1753 log_Printf(LogERROR, "pipe(2): %s\n", strerror(errno)); in bundle_setsid()
1758 log_Printf(LogERROR, "fork(2): %s\n", strerror(errno)); in bundle_setsid()
1769 log_Printf(LogDEBUG, "%ld -> %ld: %s session control\n", in bundle_setsid()
1896 log_Printf(LogDEBUG, "%s: %s: Cannot determine bandwidth\n", in bundle_CalculateBandwidth()
1921 log_Printf(LogLCP, "Reducing MTU to radius value %lu\n", in bundle_CalculateBandwidth()
1928 log_Printf(LogLCP, "Reducing MTU from %lu to %lu (CCP requirement)\n", in bundle_CalculateBandwidth()
1967 log_Printf(LogPHASE, "%d%% saturation -> Opening link ``%s''\n", in bundle_AutoAdjust()
1972 log_Printf(LogPHASE, "%d%% saturation -> Closing link ``%s''\n", in bundle_AutoAdjust()