Searched refs:rule (Results 1 - 25 of 141) sorted by relevance

123456

/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_fw.c199 static void cp_to_user_64( struct ip6_fw_64 *userrule_64, struct ip6_fw *rule);
200 static void cp_from_user_64( struct ip6_fw_64 *userrule_64, struct ip6_fw *rule);
201 static void cp_to_user_32( struct ip6_fw_32 *userrule_32, struct ip6_fw *rule);
202 static void cp_from_user_32( struct ip6_fw_32 *userrule_32, struct ip6_fw *rule);
545 * *cookie Skip up to the first rule past this rule number;
562 struct ip6_fw *rule = NULL; local
581 * If we've been asked to start at a given rule immediatly, do so.
589 while (chain && (chain->rule->fw_number <= skipto)) {
596 struct ip6_fw *const f = chain->rule;
1163 cp_to_user_64( struct ip6_fw_64 *userrule_64, struct ip6_fw *rule) argument
1192 cp_from_user_64( struct ip6_fw_64 *userrule_64, struct ip6_fw *rule) argument
1221 cp_to_user_32( struct ip6_fw_32 *userrule_32, struct ip6_fw *rule) argument
1250 cp_from_user_32( struct ip6_fw_32 *userrule_32, struct ip6_fw *rule) argument
1283 struct ip6_fw rule; local
[all...]
H A Dip6_fw.h61 @discussion The event code indicating a rule has been added.
67 @discussion The event code indicating a rule has been removed.
73 @discussion The event code indicating the rule set has been flushed.
125 /* identify this rule. */
142 u_short fu_skipto_rule; /* SKIPTO command rule number */
159 /* identify this rule. */
176 u_short fu_skipto_rule; /* SKIPTO command rule number */
192 /* identify this rule. */
209 u_short fu_skipto_rule; /* SKIPTO command rule number */
222 #define IPV6_FW_GETNSRCP(rule) ((rul
239 struct ip6_fw *rule; member in struct:ip6_fw_chain
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_fw.h93 /* identify this rule. */
115 u_short fu_skipto_rule; /* SKIPTO command rule number */
127 void *next_rule_ptr ; /* next rule in case of match */
144 struct ip_fw rule; /* must be at offset 0 */ member in struct:ip_fw_ext
146 u_int dyn_type; /* type for dynamic rule */
149 #define IP_FW_GETNSRCP(rule) ((rule)->fw_nports & 0x0f)
150 #define IP_FW_SETNSRCP(rule, n) do { \
151 (rule)->fw_nports &= ~0x0f; \
152 (rule)
168 struct ip_fw *rule; member in struct:ip_fw_chain
[all...]
H A Dip_fw2_compat.h8 int ipfw_convert_to_latest(struct sockopt *sopt, struct ip_fw *rule, int api_version, int is64user);
53 /* identify this rule. */
75 u_short fu_skipto_rule; /* SKIPTO command rule number */
87 void *next_rule_ptr ; /* next rule in case of match */
104 struct ip_fw rule; /* must be at offset 0 */ member in struct:ip_fw_ext_compat
106 u_int dyn_type; /* type for dynamic rule */
111 struct ip_fw_compat *rule; member in struct:ip_fw_chain_compat
115 * dynamic ipfw rule
123 struct ip_fw_chain_compat *chain ; /* pointer to parent rule */
124 u_int32_t type ; /* rule typ
[all...]
H A Dip_fw2.c134 * are disabled. Set RESVD_SET(31) is reserved for the default rule
196 * with the mask defined for the rule, then hashed, then matched
213 * Each dynamic rule holds a pointer to the parent ipfw rule so
215 * the parent rule is deleted. XXX we should make them survive.
238 * seconds of lifetime of a rule.
321 #define RULESIZE64(rule) (sizeof(struct ip_fw_64) + \
322 ((struct ip_fw *)(rule))->cmd_len * 4 - 4)
324 #define RULESIZE32(rule) (sizeof(struct ip_fw_32) + \
325 ((struct ip_fw *)(rule))
400 struct ip_fw *rule; local
424 struct ip_fw *rule; local
1301 remove_dyn_rule(struct ip_fw *rule, ipfw_dyn_rule *keep_me) argument
1543 add_dyn_rule(struct ip_flow_id *id, u_int8_t dyn_type, struct ip_fw *rule) argument
1601 lookup_dyn_parent(struct ip_flow_id *pkt, struct ip_fw *rule) argument
1634 install_state(struct ip_fw *rule, ipfw_insn_limit *cmd, struct ip_fw_args *args) argument
1868 struct ip_fw *rule = NULL; local
2715 struct ip_fw *rule; local
2729 struct ip_fw *rule; local
2756 struct ip_fw *rule, *f, *prev; local
2841 delete_rule(struct ip_fw **head, struct ip_fw *prev, struct ip_fw *rule) argument
2869 struct ip_fw *rule = *chain; local
2927 struct ip_fw *rule, *prev; local
2957 mark_inactive(struct ip_fw **prev, struct ip_fw **rule) argument
2983 struct ip_fw *prev, *rule; local
3022 struct ip_fw *prev = NULL, *rule = *chain; local
3122 clear_counters(struct ip_fw *rule, int log_only) argument
3143 struct ip_fw *rule; local
3184 check_ipfw_struct(struct ip_fw *rule, int size) argument
3399 struct ip_fw *bp , *buf, *rule; local
[all...]
/darwin-on-arm/xnu/osfmk/x86_64/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/net/
H A Dpf_ioctl.c510 /* default rule should never be garbage collected */
694 struct pf_rule *rule; local
708 rule = TAILQ_LAST(ruleset->rules[rs_num].active.ptr,
711 rule = TAILQ_FIRST(ruleset->rules[rs_num].active.ptr);
717 rule = TAILQ_LAST(ruleset->rules[rs_num].inactive.ptr,
720 rule = TAILQ_FIRST(ruleset->rules[rs_num].inactive.ptr);
723 while ((rule != NULL) && (rule->nr != rule_number))
724 rule = TAILQ_NEXT(rule, entrie
758 pf_rm_rule(struct pf_rulequeue *rulequeue, struct pf_rule *rule) argument
1163 struct pf_rule *rule; local
1183 struct pf_rule *rule; local
1253 pf_hash_rule(MD5_CTX *ctx, struct pf_rule *rule) argument
1295 struct pf_rule *rule, **old_array; local
1516 struct pf_rule *rule; local
1954 struct pf_rule *rule; local
2748 pf_expire_states_and_src_nodes(struct pf_rule *rule) argument
2785 pf_delete_rule_from_ruleset(struct pf_ruleset *ruleset, int rs_num, struct pf_rule *rule) argument
2817 struct pf_rule *rule; local
2888 struct pf_rule *rule, *next; local
2948 struct pf_rule *rule = *rule_ptr; local
2968 pf_rule_setup(struct pfioc_rule *pr, struct pf_rule *rule, struct pf_ruleset *ruleset) argument
3061 struct pf_rule *rule, *tail; local
3155 struct pf_rule *rule; local
3416 struct pf_rule *rule, *tail, *r; local
[all...]
/darwin-on-arm/xnu/SETUP/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/dev/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/dev/random/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/libkern/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/man/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/man/man5/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/man/man8/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/miscfs/fifofs/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/security/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/bsd/vm/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/libkern/uuid/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/osfmk/console/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/osfmk/libsa/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/osfmk/pmc/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/arm/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/i386/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
/darwin-on-arm/xnu/EXTERNAL_HEADERS/mach-o/
H A DMakefile3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule

Completed in 94 milliseconds

123456