Lines Matching refs:dummynet
60 * This module implements IP dummynet, a bandwidth limiter/delay emulator
66 * + scheduler and dummynet functions;
69 * NOTA BENE: critical sections are protected by the "dummynet lock".
114 /* this is for the timer that fires to call dummynet() - we only enable the timer when
152 SYSCTL_NODE(_net_inet_ip, OID_AUTO, dummynet,
197 /* dummynet lock */
206 static void dummynet(void *);
239 printf("dummynet: heap_init, Bogus call, have %d want %d\n",
246 printf("dummynet: heap_init, resize %d failed\n", new_size );
317 printf("dummynet: warning, extract from empty heap 0x%p\n", h);
323 panic("dummynet: heap_extract from middle not supported on this heap!!!\n");
326 printf("dummynet: heap_extract, father %d out of bound 0..%d\n",
328 panic("dummynet: heap_extract");
421 * Return the mbuf tag holding the dummynet state. As an optimization
432 ("packet on dummynet queue w/o dummynet tag!"));
499 printf("dummynet/bridge: pullup fail, dropping pkt\n");
506 printf("dummynet: dropping bridged packet trapped in pipe\n");
513 printf("dummynet: bad switch %d!\n", pkt->dn_dir);
586 printf("dummynet: ready_event- pipe is gone\n");
657 DPRINTF(("dummynet: pipe %d ready from %s --\n",
734 * If we are getting clocks from dummynet (not a real interface) and
763 dummynet(__unused void * unused)
790 printf("dummynet: warning, heap %d is %d ticks late\n",
799 printf("dummynet: bad ready_event_wfq for pipe %s\n",
828 bsd_timeout(dummynet, NULL, &ts);
854 DPRINTF(("dummynet: ++ tx rdy from %s (now found)\n", buf));
859 DPRINTF(("dummynet: ++ tx rdy from %s%d - qlen %d\n", ifp->if_name,
923 printf("dummynet: sorry, cannot allocate queue for new flow\n");
1055 DPRINTF(("dummynet: avg: %u ", SCALE_VAL(q->avg)));
1074 DPRINTF(("dummynet: - drop"));
1096 DPRINTF(("dummynet: - red drop"));
1139 * dummynet hook for packets. Below 'pipe' is a pipe or a queue
1143 * dir where shall we send the packet after dummynet.
1189 * This is a dummynet rule, so we expect an O_PIPE or O_QUEUE rule.
1202 printf("dummynet: no pipe %d for queue %d, drop pkt\n",
1326 printf("dummynet: ++ ouch! not eligible but empty scheduler!\n");
1332 printf("dummynet: OUCH! pipe should have been idle!\n");
1333 DPRINTF(("dummynet: waking up pipe %d at %d\n",
1346 bsd_timeout(dummynet, NULL, &ts);
1559 printf("\ndummynet: net.inet.ip.dummynet.red_lookup_depth must be > 0\n");
1567 printf("dummynet: sorry, cannot allocate red lookup table\n");
1605 printf("dummynet: sorry, cannot allocate queue\n");
1668 printf("dummynet: no memory for new pipe\n");
1723 printf("dummynet: no memory for new flow_set\n");
1864 printf("dummynet: ++ ref to pipe %d from fs %d\n",
1925 printf("dummynet: ++ at %d: wrong slot (have %d, "
1928 printf("dummynet: ++ at %d: wrong fs ptr (have %p, should be %p)\n",
1938 printf("dummynet: ++ wrong count, have %d should be %d\n",
2037 * Handler for the various dummynet socket options (get, flush, config, del)
2051 printf("dummynet: -- unknown option %d", sopt->sopt_name);