Changeset View
Changeset View
Standalone View
Standalone View
head/sys/netpfil/ipfw/ip_dn_io.c
Show First 20 Lines • Show All 705 Lines • ▼ Show 20 Lines | for (;;) { | ||||
} | } | ||||
} | } | ||||
if (dn_cfg.expire && ++dn_cfg.expire_cycle >= dn_cfg.expire) { | if (dn_cfg.expire && ++dn_cfg.expire_cycle >= dn_cfg.expire) { | ||||
dn_cfg.expire_cycle = 0; | dn_cfg.expire_cycle = 0; | ||||
dn_drain_scheduler(); | dn_drain_scheduler(); | ||||
dn_drain_queue(); | dn_drain_queue(); | ||||
} | } | ||||
DN_BH_WUNLOCK(); | |||||
dn_reschedule(); | dn_reschedule(); | ||||
DN_BH_WUNLOCK(); | |||||
if (q.head != NULL) | if (q.head != NULL) | ||||
dummynet_send(q.head); | dummynet_send(q.head); | ||||
CURVNET_RESTORE(); | CURVNET_RESTORE(); | ||||
} | } | ||||
/* | /* | ||||
* forward a chain of packets to the proper destination. | * forward a chain of packets to the proper destination. | ||||
* This runs outside the dummynet lock. | * This runs outside the dummynet lock. | ||||
▲ Show 20 Lines • Show All 228 Lines • Show Last 20 Lines |