Searched refs:RULE_MAXSIZE (Results 1 – 1 of 1) sorted by relevance
| /freebsd-10-stable/sys/netpfil/ipfw/ |
| D | ip_fw_sockopt.c | 943 #define RULE_MAXSIZE (256*sizeof(u_int32_t)) in ipfw_ctl() macro 1026 rule = malloc(RULE_MAXSIZE, M_TEMP, M_WAITOK); in ipfw_ctl() 1027 error = sooptcopyin(sopt, rule, RULE_MAXSIZE, in ipfw_ctl() 1331 #undef RULE_MAXSIZE in ipfw_ctl() 1335 #define RULE_MAXSIZE (256*sizeof(u_int32_t)) macro 1350 tmp = malloc(RULE_MAXSIZE, M_TEMP, M_NOWAIT | M_ZERO); in convert_rule_to_7() 1354 bcopy(rule, tmp, RULE_MAXSIZE); in convert_rule_to_7() 1404 struct ip_fw7 *tmp = malloc(RULE_MAXSIZE, M_TEMP, M_NOWAIT | M_ZERO); in convert_rule_to_8() 1409 bcopy(rule7, tmp, RULE_MAXSIZE); in convert_rule_to_8()
|