Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 25 of 67) sorted by relevance

123

/freebsd/sys/net/
H A Ddummymbuf.c144 #define FEEDBACK_RULE(rule, msg) \ argument
150 #define FEEDBACK_PFIL(pfil_type, pfil_flags, ifp, rule, msg) \ argument
168 struct rule { struct
179 dmb_m_pull_head(struct mbuf *m, struct rule *rule) in dmb_m_pull_head()
213 read_rule(const char **cur, struct rule *rule, bool *eof) in read_rule()
306 struct rule rule; in validate_rules() local
330 struct rule rule; in dmb_pfil_mbuf_chk() local
/freebsd/sys/security/mac_portacl/
H A Dmac_portacl.c111 struct rule { struct
117 TAILQ_ENTRY(rule) r_entries; argument
139 struct rule *rule; in toast_rules() local
171 parse_rule_element(char *element, struct rule **rule) in parse_rule_element()
379 struct rule *rule; in rules_check() local
/freebsd/sys/kern/
H A Dkern_rctl.c330 rctl_proc_rule_to_racct(const struct proc * p,const struct rctl_rule * rule) rctl_proc_rule_to_racct() argument
356 rctl_available_resource(const struct proc * p,const struct rctl_rule * rule) rctl_available_resource() argument
380 struct rctl_rule *rule; rctl_throttle_decay() local
423 struct rctl_rule *rule; rctl_pcpu_available() local
497 struct rctl_rule *rule; rctl_enforce() local
699 struct rctl_rule *rule; rctl_get_limit() local
726 struct rctl_rule *rule; rctl_get_available() local
763 rctl_rule_matches(const struct rctl_rule * rule,const struct rctl_rule * filter) rctl_rule_matches() argument
881 rctl_racct_add_rule(struct racct * racct,struct rctl_rule * rule) rctl_racct_add_rule() argument
899 rctl_racct_add_rule_locked(struct racct * racct,struct rctl_rule * rule) rctl_racct_add_rule_locked() argument
947 rctl_rule_acquire_subject(struct rctl_rule * rule) rctl_rule_acquire_subject() argument
975 rctl_rule_release_subject(struct rctl_rule * rule) rctl_rule_release_subject() argument
1005 struct rctl_rule *rule; rctl_rule_alloc() local
1027 rctl_rule_duplicate(const struct rctl_rule * rule,int flags) rctl_rule_duplicate() argument
1052 rctl_rule_acquire(struct rctl_rule * rule) rctl_rule_acquire() argument
1064 struct rctl_rule *rule; rctl_rule_free() local
1080 rctl_rule_release(struct rctl_rule * rule) rctl_rule_release() argument
1100 rctl_rule_fully_specified(const struct rctl_rule * rule) rctl_rule_fully_specified() argument
1143 struct rctl_rule *rule; rctl_string_to_rule() local
1271 rctl_rule_add(struct rctl_rule * rule) rctl_rule_add() argument
1475 rctl_rule_to_sbuf(struct sbuf * sb,const struct rctl_rule * rule) rctl_rule_to_sbuf() argument
1875 struct rctl_rule *rule; sys_rctl_add_rule() local
2107 struct rctl_rule *rule; rctl_proc_fork() local
[all...]
/freebsd/sys/security/mac_do/
H A Dmac_do.c154 struct rule { struct
166 STAILQ_HEAD(rulehead, rule); argument
319 struct rule *rule, *rule_next; in toast_rules() local
517 parse_target_clause(char *to, struct rule *const rule, in parse_target_clause()
861 parse_single_rule(char *rule, struct rules *const rules, in parse_single_rule()
1013 char *copy, *p, *rule; in parse_rules() local
1641 rule_grant_supplementary_groups(const struct rule *const rule, in rule_grant_supplementary_groups()
1782 rule_grant_primary_group(const struct rule *const rule, in rule_grant_primary_group()
1815 rule_grant_primary_groups(const struct rule *const rule, in rule_grant_primary_groups()
1844 rule_grant_user(const struct rule *const rule, in rule_grant_user()
[all …]
/freebsd/usr.sbin/ugidfw/
H A Dugidfw.c74 struct mac_bsdextended_rule rule; in add_rule() local
98 struct mac_bsdextended_rule rule; in list_rules() local
137 struct mac_bsdextended_rule rule; in set_rule() local
/freebsd/usr.bin/rctl/
H A Drctl.c110 expand_amount(const char *rule, const char *unexpanded_rule) in expand_amount()
175 expand_rule(const char *rule, bool resolve_ids) in expand_rule()
247 humanize_ids(char *rule) in humanize_ids()
305 humanize_amount(char *rule) in humanize_amount()
359 char *rule; in print_rules() local
395 add_rule(const char *rule, const char *unexpanded_rule) in add_rule()
590 char *rule = NULL, *unexpanded_rule; in main() local
/freebsd/lib/libugidfw/
H A Dugidfw.c62 bsde_rule_to_string(struct mac_bsdextended_rule *rule, char *buf, size_t buflen) in bsde_rule_to_string()
1008 bsde_parse_rule(int argc, char *argv[], struct mac_bsdextended_rule *rule, in bsde_parse_rule()
1078 bsde_parse_rule_string(const char *string, struct mac_bsdextended_rule *rule, in bsde_parse_rule_string()
1189 bsde_get_rule(int rulenum, struct mac_bsdextended_rule *rule, size_t errlen, in bsde_get_rule()
1229 struct mac_bsdextended_rule rule; in bsde_delete_rule() local
1259 bsde_set_rule(int rulenum, struct mac_bsdextended_rule *rule, size_t buflen, in bsde_set_rule()
1291 bsde_add_rule(int *rulenum, struct mac_bsdextended_rule *rule, size_t buflen, in bsde_add_rule()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw_sockopt.c203 struct ip_fw *rule; in ipfw_alloc_rule() local
213 ipfw_free_rule(struct ip_fw *rule) in ipfw_free_rule()
794 ipfw_add_protected_rule(struct ip_fw_chain *chain, struct ip_fw *rule, in ipfw_add_protected_rule()
822 struct ip_fw *rule) in ipfw_reap_add()
842 struct ip_fw *rule; in ipfw_reap_rules() local
868 ipfw_match_range(struct ip_fw *rule, ipfw_range_tlv *rt) in ipfw_match_range()
1007 struct ip_fw *reap, *rule, **map; in delete_range() local
1095 struct ip_fw *rule; in move_objects() local
1184 struct ip_fw *rule; in move_range() local
1219 ipfw_get_action(struct ip_fw *rule) in ipfw_get_action()
[all …]
H A Dip_fw_dynamic.c780 hash_parent(const struct ipfw_flow_id *id, const void *rule) in hash_parent()
876 hash_parent(const struct ipfw_flow_id *id, const void *rule) in hash_parent()
1111 dyn_lookup_ipv4_parent(const struct ipfw_flow_id *pkt, const void *rule, in dyn_lookup_ipv4_parent()
1148 const void *rule, uint32_t ruleid, uint16_t rulenum, uint32_t bucket) in dyn_lookup_ipv4_parent_locked()
1261 const void *rule, uint32_t ruleid, uint16_t rulenum, uint32_t hashval) in dyn_lookup_ipv6_parent()
1298 const void *rule, uint32_t ruleid, uint16_t rulenum, uint32_t bucket) in dyn_lookup_ipv6_parent_locked()
1333 struct ip_fw *rule; in ipfw_dyn_lookup_state() local
1536 dyn_add_ipv4_parent(void *rule, uint32_t ruleid, uint16_t rulenum, in dyn_add_ipv4_parent()
1667 dyn_add_ipv6_parent(void *rule, uint32_t ruleid, uint16_t rulenum, in dyn_add_ipv6_parent()
1771 struct ip_fw *rule, uint32_t hashval, uint32_t limit, uint16_t kidx) in dyn_get_parent_state()
[all …]
/freebsd/contrib/libarchive/tar/
H A Dsubst.c55 struct subst_rule *rule; in add_substitution() local
206 struct subst_rule *rule; in apply_substitution() local
314 struct subst_rule *rule; in cleanup_substitution() local
/freebsd/sys/netpfil/pf/
H A Dpf_ioctl.c436 struct pf_krule *rule; in pf_get_kpool() local
514 pf_unlink_rule_locked(struct pf_krulequeue *rulequeue, struct pf_krule *rule) in pf_unlink_rule_locked()
527 pf_unlink_rule(struct pf_krulequeue *rulequeue, struct pf_krule *rule) in pf_unlink_rule()
538 pf_free_eth_rule(struct pf_keth_rule *rule) in pf_free_eth_rule()
575 pf_free_rule(struct pf_krule *rule) in pf_free_rule()
767 struct pf_keth_rule *rule, *tmp; in pf_begin_eth() local
810 struct pf_keth_rule *rule, *tmp; in pf_rollback_eth() local
1216 struct pf_krule *rule; in pf_begin_rules() local
1246 struct pf_krule *rule; in pf_rollback_rules() local
1306 pf_hash_rule_rolling(MD5_CTX *ctx, struct pf_krule *rule) in pf_hash_rule_rolling()
[all …]
H A Dpf_nv.c505 pf_nvrule_to_krule(const nvlist_t *nvl, struct pf_krule *rule) in pf_nvrule_to_krule()
660 pf_divert_to_nvdivert(const struct pf_krule *rule) in pf_divert_to_nvdivert()
684 pf_krule_to_nvrule(struct pf_krule *rule) in pf_krule_to_nvrule()
/freebsd/sys/security/mac_ipacl/
H A Dmac_ipacl.c133 struct ip_rule *rule; in destroy_rules() local
159 parse_rule_element(char *element, struct ip_rule *rule) in parse_rule_element()
320 struct ip_rule *rule; in rules_check() local
/freebsd/sys/dev/mlx5/mlx5_accel/
H A Dmlx5_ipsec_fs.c110 struct mlx5_flow_handle *rule; member
116 struct mlx5_flow_handle *rule; member
134 struct mlx5_flow_handle *rule; member
508 struct mlx5_flow_handle *rule; in rx_add_rule() local
693 struct mlx5_flow_handle *rule; in ipsec_tx_roce_rule_setup() local
782 struct mlx5_flow_handle *rule; in tx_create_kspi_bypass_rules() local
1108 struct mlx5_flow_handle *rule; in tx_add_kspi_rule() local
1143 struct mlx5_flow_handle *rule; in tx_add_reqid_ip_rules() local
1264 struct mlx5_flow_handle *rule; in tx_add_policy() local
1340 struct mlx5_flow_handle *rule; in rx_add_policy() local
[all …]
/freebsd/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c114 ugidfw_rule_valid(struct mac_bsdextended_rule *rule) in ugidfw_rule_valid()
225 ugidfw_rulecheck(struct mac_bsdextended_rule *rule, in ugidfw_rulecheck()
/freebsd/contrib/byacc/
H A Dclosure.c25 int rule; in set_EFF() local
61 int rule; in set_first_derives() local
H A Dgraph.c63 int rule; in graph_state() local
H A Dverbose.c181 int rule; in print_core() local
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_fs_tcp.c84 mlx5e_accel_fs_del_inpcb(struct mlx5_flow_handle *rule) in mlx5e_accel_fs_del_inpcb() argument
182 struct mlx5_flow_rule *rule; accel_fs_tcp_add_default_rule() local
/freebsd/contrib/tzcode/
H A Dzic.c92 struct rule { struct
114 bool r_todo; /* a rule to do (used in outzone) */ argument
133 r_temprule global() argument
[all...]
/freebsd/tests/sys/mac/bsdextended/
H A Dugidfw_test.c147 struct mac_bsdextended_rule rule; in test_libugidfw_strings() local
/freebsd/sbin/ipfw/tests/
H A Dtest_add_rule.py271 def test_add_rule(self, rule): argument
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_mcg.c903 struct mlx4_net_trans_rule *rule) in mlx4_err_rule()
984 struct mlx4_net_trans_rule *rule, u64 *reg_id) in mlx4_flow_attach()
1057 struct mlx4_net_trans_rule rule = { in mlx4_tunnel_steer_add() local
1376 struct mlx4_net_trans_rule rule = { in mlx4_trans_to_dmfs_attach() local
1468 struct mlx4_net_trans_rule rule = { in mlx4_flow_steer_promisc_add() local
/freebsd/usr.sbin/etcupdate/
H A Detcupdate.sh104 rule() function
/freebsd/sbin/pfctl/
H A Dpfctl.c1011 pfctl_print_eth_rule_counters(struct pfctl_eth_rule *rule, int opts) in pfctl_print_eth_rule_counters()
1037 pfctl_print_rule_counters(struct pfctl_rule *rule, int opts) in pfctl_print_rule_counters()
1101 struct pfctl_eth_rule rule; in pfctl_show_eth_rules() local
1216 struct pfctl_rule rule; in pfctl_show_rules() local
1425 struct pfctl_rule rule; in pfctl_show_nat() local
1722 struct pfctl_rule *rule; in pfctl_append_rule() local
1769 struct pfctl_eth_rule *rule; in pfctl_append_eth_rule() local

123