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

/freebsd-9.3-release/sbin/ipfw/
H A Dipfw2.c2879 double match_prob = 1; /* match probability, default is always match */ local
2917 match_prob = strtod(av[1], NULL);
2919 if (match_prob <= 0 || match_prob > 1)
3938 if (match_prob != 1) { /* 1 means always match */
3941 *((int32_t *)(dst+1)) = (int32_t)(match_prob * 0x7fffffff);

Completed in 53 milliseconds