Searched refs:DROP_PACKETS (Results 1 - 2 of 2) sorted by relevance

/fuchsia/zircon/bootloader/src/
H A Dnetifc.c23 // if nonzero, drop 1 in DROP_PACKETS packets at random
24 #define DROP_PACKETS 0 macro
26 #if DROP_PACKETS > 0
105 #if DROP_PACKETS
107 if ((random() % DROP_PACKETS) == 0) {
375 #if DROP_PACKETS
377 if ((random() % DROP_PACKETS) == 0) {
/fuchsia/zircon/system/ulib/inet6/
H A Dnetifc.c33 // if nonzero, drop 1 in DROP_PACKETS packets at random
34 #define DROP_PACKETS 0 macro
36 #if DROP_PACKETS > 0
194 #if DROP_PACKETS
196 if ((random() % DROP_PACKETS) == 0) {

Completed in 26 milliseconds