/freebsd-src/sys/security/mac_portacl/ |
H A D | mac_portacl.c | 141 while ((rule = TAILQ_FIRST(head)) != NULL) { in toast_rules() local 113 struct rule { global() struct 119 r_protocolrule global() argument 173 parse_rule_element(char * element,struct rule ** rule) parse_rule_element() argument 381 struct rule *rule; rules_check() local [all...] |
/freebsd-src/sys/kern/ |
H A D | kern_rctl.c | 331 rctl_proc_rule_to_racct(const struct proc *p, const struct rctl_rule *rule) in rctl_proc_rule_to_racct() 357 rctl_available_resource(const struct proc *p, const struct rctl_rule *rule) in rctl_available_resource() 381 struct rctl_rule *rule; in rctl_throttle_decay() local 424 struct rctl_rule *rule; in rctl_pcpu_available() local 498 struct rctl_rule *rule; in rctl_enforce() local 700 struct rctl_rule *rule; in rctl_get_limit() local 727 struct rctl_rule *rule; in rctl_get_available() local 764 rctl_rule_matches(const struct rctl_rule *rule, const struct rctl_rule *filter) in rctl_rule_matches() 882 rctl_racct_add_rule(struct racct *racct, struct rctl_rule *rule) in rctl_racct_add_rule() 900 rctl_racct_add_rule_locked(struct racct *racct, struct rctl_rule *rule) in rctl_racct_add_rule_locked() [all …]
|
/freebsd-src/sys/security/mac_do/ |
H A D | mac_do.c | 45 struct rule { global() struct 53 t_uidrule global() argument 75 parse_rule_element(char * element,struct rule ** rule) parse_rule_element() argument 424 struct mac_do_rule *rule; priv_grant() local 453 struct mac_do_rule *rule; check_setgroups() local 488 struct mac_do_rule *rule; check_setuid() local [all...] |
/freebsd-src/usr.sbin/ugidfw/ |
H A D | ugidfw.c | 74 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-src/usr.bin/rctl/ |
H A D | rctl.c | 110 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-src/lib/libugidfw/ |
H A D | ugidfw.c | 62 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-src/sys/netpfil/ipfw/ |
H A D | ip_fw_sockopt.c | 203 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 D | ip_fw_dynamic.c | 780 hash_parent(const struct ipfw_flow_id * id,const void * rule) hash_parent() argument 876 hash_parent(const struct ipfw_flow_id * id,const void * rule) hash_parent() argument 1110 dyn_lookup_ipv4_parent(const struct ipfw_flow_id * pkt,const void * rule,uint32_t ruleid,uint16_t rulenum,uint32_t hashval) dyn_lookup_ipv4_parent() argument 1147 dyn_lookup_ipv4_parent_locked(const struct ipfw_flow_id * pkt,const void * rule,uint32_t ruleid,uint16_t rulenum,uint32_t bucket) dyn_lookup_ipv4_parent_locked() argument 1260 dyn_lookup_ipv6_parent(const struct ipfw_flow_id * pkt,uint32_t zoneid,const void * rule,uint32_t ruleid,uint16_t rulenum,uint32_t hashval) dyn_lookup_ipv6_parent() argument 1297 dyn_lookup_ipv6_parent_locked(const struct ipfw_flow_id * pkt,uint32_t zoneid,const void * rule,uint32_t ruleid,uint16_t rulenum,uint32_t bucket) dyn_lookup_ipv6_parent_locked() argument 1332 struct ip_fw *rule; ipfw_dyn_lookup_state() local 1535 dyn_add_ipv4_parent(void * rule,uint32_t ruleid,uint16_t rulenum,const struct ipfw_flow_id * pkt,uint32_t hashval,uint32_t version,uint16_t kidx) dyn_add_ipv4_parent() argument 1666 dyn_add_ipv6_parent(void * rule,uint32_t ruleid,uint16_t rulenum,const struct ipfw_flow_id * pkt,uint32_t zoneid,uint32_t hashval,uint32_t version,uint16_t kidx) dyn_add_ipv6_parent() argument 1770 dyn_get_parent_state(const struct ipfw_flow_id * pkt,uint32_t zoneid,struct ip_fw * rule,uint32_t hashval,uint32_t limit,uint16_t kidx) dyn_get_parent_state() argument 1862 dyn_install_state(const struct ipfw_flow_id * pkt,uint32_t zoneid,uint16_t fibnum,const void * ulp,int pktlen,struct ip_fw * rule,struct ipfw_dyn_info * info,uint32_t limit,uint16_t limit_mask,uint16_t kidx,uint8_t type) dyn_install_state() argument 1986 ipfw_dyn_install_state(struct ip_fw_chain * chain,struct ip_fw * rule,const ipfw_insn_limit * cmd,const struct ip_fw_args * args,const void * ulp,int pktlen,struct ipfw_dyn_info * info,uint32_t tablearg) ipfw_dyn_install_state() argument 2132 dyn_acquire_rule(struct ip_fw_chain * ch,struct dyn_data * data,struct ip_fw * rule,uint16_t kidx) dyn_acquire_rule() argument 2159 dyn_release_rule(struct ip_fw_chain * ch,struct dyn_data * data,struct ip_fw * rule,uint16_t kidx) dyn_release_rule() argument 2188 struct ip_fw *rule; dyn_match_ipv4_state() local 2213 struct ip_fw *rule; dyn_match_ipv6_state() local 2247 void *rule; dyn_expire_states() local 2828 struct ip_fw *rule; ipfw_dyn_reset_eaction() local 2909 ipfw_is_dyn_rule(struct ip_fw * rule) ipfw_is_dyn_rule() argument 3002 struct ip_fw *rule; dyn_export_ipv4_state() local 3034 struct ip_fw *rule; dyn_export_ipv6_state() local [all...] |
/freebsd-src/contrib/libarchive/tar/ |
H A D | subst.c | 73 subst->first_rule = rule; in add_substitution() local 224 struct subst_rule *rule; apply_substitution() local 332 struct subst_rule *rule; cleanup_substitution() local [all...] |
/freebsd-src/sys/netpfil/pf/ |
H A D | pf_ioctl.c | 438 struct pf_krule *rule; pf_get_kpool() local 511 pf_unlink_rule_locked(struct pf_krulequeue * rulequeue,struct pf_krule * rule) pf_unlink_rule_locked() argument 524 pf_unlink_rule(struct pf_krulequeue * rulequeue,struct pf_krule * rule) pf_unlink_rule() argument 535 pf_free_eth_rule(struct pf_keth_rule * rule) pf_free_eth_rule() argument 572 pf_free_rule(struct pf_krule * rule) pf_free_rule() argument 761 struct pf_keth_rule *rule, *tmp; pf_begin_eth() local 804 struct pf_keth_rule *rule, *tmp; pf_rollback_eth() local 1210 struct pf_krule *rule; pf_begin_rules() local 1240 struct pf_krule *rule; pf_rollback_rules() local 1300 pf_hash_rule_rolling(MD5_CTX * ctx,struct pf_krule * rule) pf_hash_rule_rolling() argument 1345 pf_hash_rule(struct pf_krule * rule) pf_hash_rule() argument 1365 struct pf_krule *rule, **old_array, *old_rule; pf_commit_rules() local 1454 struct pf_krule *rule; pf_setup_pfsync_matching() local 1822 struct pf_krule *rule; pf_krule_alloc() local 1832 pf_krule_free(struct pf_krule * rule) pf_krule_free() argument 1868 pf_krule_clear_counters(struct pf_krule * rule) pf_krule_clear_counters() argument 1917 pf_rule_to_krule(const struct pf_rule * rule,struct pf_krule * krule) pf_rule_to_krule() argument 2065 pf_ioctl_addrule(struct pf_krule * rule,uint32_t ticket,uint32_t pool_ticket,const char * anchor,const char * anchor_call,uid_t uid,pid_t pid) pf_ioctl_addrule() argument 2247 pf_label_match(const struct pf_krule * rule,const char * label) pf_label_match() argument 2770 struct pf_keth_rule *rule = NULL; pfioctl() local 2871 struct pf_keth_rule *rule = NULL, *tail = NULL; pfioctl() local 3182 struct pf_krule *rule = NULL; pfioctl() local 3243 struct pf_krule *rule; pfioctl() local 3276 struct pf_krule *rule; pfioctl() local 3967 struct pf_krule *rule; pfioctl() local [all...] |
H A D | pf_nv.c | 505 pf_nvrule_to_krule(const nvlist_t *nvl, struct pf_krule *rule) in pf_nvrule_to_krule() argument 660 pf_divert_to_nvdivert(const struct pf_krule * rule) pf_divert_to_nvdivert() argument 684 pf_krule_to_nvrule(struct pf_krule * rule) pf_krule_to_nvrule() argument [all...] |
/freebsd-src/sys/security/mac_ipacl/ |
H A D | mac_ipacl.c | 135 while ((rule = TAILQ_FIRST(head)) != NULL) { in destroy_rules() local 161 parse_rule_element(char * element,struct ip_rule * rule) parse_rule_element() argument 322 struct ip_rule *rule; rules_check() local [all...] |
/freebsd-src/sys/security/mac_bsdextended/ |
H A D | mac_bsdextended.c | 116 ugidfw_rule_valid(struct mac_bsdextended_rule * rule) ugidfw_rule_valid() argument 227 ugidfw_rulecheck(struct mac_bsdextended_rule * rule,struct ucred * cred,struct vnode * vp,struct vattr * vap,int acc_mode) ugidfw_rulecheck() argument [all...] |
/freebsd-src/contrib/byacc/ |
H A D | closure.c | 25 int rule; in set_EFF() local 61 int rule; in set_first_derives() local
|
H A D | graph.c | 63 int rule; in graph_state() local
|
H A D | verbose.c | 181 int rule; in print_core() local
|
/freebsd-src/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fs_tcp.c | 84 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-src/tests/sys/mac/bsdextended/ |
H A D | ugidfw_test.c | 147 struct mac_bsdextended_rule rule; in test_libugidfw_strings() local
|
/freebsd-src/contrib/tzcode/ |
H A D | zic.c | 92 struct rule { struct 114 bool r_todo; /* a rule to do (used in outzone) */ argument 133 r_temprule global() argument [all...] |
/freebsd-src/sbin/ipfw/tests/ |
H A D | test_add_rule.py | 271 def test_add_rule(self, rule): argument
|
/freebsd-src/usr.sbin/etcupdate/ |
H A D | etcupdate.sh | 104 rule() function
|
/freebsd-src/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_mcg.c | 903 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-src/sbin/pfctl/ |
H A D | pfctl.c | 1016 (unsigned long long)rule->evaluations, in pfctl_print_eth_rule_counters() argument 1042 pfctl_print_rule_counters(struct pfctl_rule * rule,int opts) pfctl_print_rule_counters() argument 1106 struct pfctl_eth_rule rule; pfctl_show_eth_rules() local 1220 struct pfctl_rule rule; pfctl_show_rules() local 1424 struct pfctl_rule rule; pfctl_show_nat() local 1742 struct pfctl_rule *rule; pfctl_append_rule() local 1789 struct pfctl_eth_rule *rule; pfctl_append_eth_rule() local [all...] |
/freebsd-src/usr.sbin/ppp/ |
H A D | filter.h | 81 struct filterent rule[MAXFILTERS]; /* incoming packet filter */ member
|
/freebsd-src/usr.sbin/bhyve/ |
H A D | net_backend_slirp.c | 441 config_one_hostfwd(struct slirp_priv * priv,const char * rule) config_one_hostfwd() argument 498 const char *rule; _slirp_init() local
|