Lines Matching defs:ruleset
8717 /* PF firewall log ruleset name */
8719 gen_pf_ruleset(compiler_state_t *cstate, char *ruleset)
8731 bpf_error(cstate, "ruleset supported only on PF linktype");
8735 if (strlen(ruleset) >= sizeof(((struct pfloghdr *)0)->ruleset)) {
8736 bpf_error(cstate, "ruleset names can only be %ld characters",
8737 (long)(sizeof(((struct pfloghdr *)0)->ruleset) - 1));
8741 b0 = gen_bcmp(cstate, OR_LINKHDR, offsetof(struct pfloghdr, ruleset),
8742 (u_int)strlen(ruleset), (const u_char *)ruleset);