Home
last modified time | relevance | path

Searched refs:match_prob (Results 1 – 1 of 1) sorted by relevance

/f-stack/tools/ipfw/
H A Dipfw2.c3838 double match_prob = 1; /* match probability, default is always match */ in compile_rule() local
3877 match_prob = strtod(av[1], NULL); in compile_rule()
3879 if (match_prob <= 0 || match_prob > 1) in compile_rule()
5100 if (match_prob != 1) { /* 1 means always match */ in compile_rule()
5103 *((int32_t *)(dst+1)) = (int32_t)(match_prob * 0x7fffffff); in compile_rule()