Searched refs:default_rule (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6_fw.c1441 struct ip6_fw default_rule; local
1447 bzero(&default_rule, sizeof default_rule);
1448 default_rule.fw_prot = IPPROTO_IPV6;
1449 default_rule.fw_number = (u_short)-1;
1451 default_rule.fw_flg |= IPV6_FW_F_ACCEPT;
1453 default_rule.fw_flg |= IPV6_FW_F_DENY;
1455 default_rule.fw_flg |= IPV6_FW_F_IN | IPV6_FW_F_OUT;
1456 if (check_ip6fw_struct(&default_rule) == NULL ||
1457 add_entry6(&ip6_fw_chain, &default_rule))
[all...]
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_dummynet.c109 static struct ip_fw default_rule; variable in typeref:struct:ip_fw
1934 pkt->dn_ipfw_rule = &default_rule ;
1968 pkt->dn_ipfw_rule = &default_rule;
2592 bzero(&default_rule, sizeof default_rule);
2594 default_rule.act_ofs = 0;
2595 default_rule.rulenum = IPFW_DEFAULT_RULE;
2596 default_rule.cmd_len = 1;
2597 default_rule.set = RESVD_SET;
2599 default_rule
[all...]
H A Dip_fw2.c3949 struct ip_fw default_rule; local
3959 bzero(&default_rule, sizeof default_rule);
3961 default_rule.act_ofs = 0;
3962 default_rule.rulenum = IPFW_DEFAULT_RULE;
3963 default_rule.cmd_len = 1;
3964 default_rule.set = RESVD_SET;
3966 default_rule.cmd[0].len = 1;
3967 default_rule.cmd[0].opcode =
3973 if (add_rule(&layer3_chain, &default_rule)) {
[all...]

Completed in 28 milliseconds