Home
last modified time | relevance | path

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

/dragonfly/sbin/ipfw/
H A Dipfw2.c2701 double match_prob = 1; /* match probability, default is always match */ in add() local
2731 match_prob = strtod(av[1], NULL); in add()
2733 if (match_prob <= 0 || match_prob > 1) in add()
3399 if (match_prob != 1) { /* 1 means always match */ in add()
3402 *((int32_t *)(dst+1)) = (int32_t)(match_prob * 0x7fffffff); in add()