Home
last modified time | relevance | path

Searched refs:NF_ACCEPT (Results 1 – 25 of 80) sorted by relevance

1234

/openbmc/linux/net/netfilter/
H A Dnf_conntrack_sane.c80 return NF_ACCEPT; in help()
85 return NF_ACCEPT; in help()
90 return NF_ACCEPT; in help()
97 return NF_ACCEPT; in help()
101 return NF_ACCEPT; in help()
111 return NF_ACCEPT; in help()
118 return NF_ACCEPT; in help()
125 return NF_ACCEPT; in help()
132 return NF_ACCEPT; in help()
138 return NF_ACCEPT; in help()
[all …]
H A Dnf_conntrack_ovs.c21 return NF_ACCEPT; in nf_ct_helper()
25 return NF_ACCEPT; in nf_ct_helper()
29 return NF_ACCEPT; in nf_ct_helper()
33 return NF_ACCEPT; in nf_ct_helper()
49 return NF_ACCEPT; in nf_ct_helper()
61 return NF_ACCEPT; in nf_ct_helper()
64 if (err != NF_ACCEPT) in nf_ct_helper()
74 return NF_ACCEPT; in nf_ct_helper()
H A Dnf_conntrack_proto_icmp.c87 return -NF_ACCEPT; in nf_conntrack_icmp_packet()
95 return -NF_ACCEPT; in nf_conntrack_icmp_packet()
102 return NF_ACCEPT; in nf_conntrack_icmp_packet()
126 return -NF_ACCEPT; in nf_conntrack_inet_error()
131 return -NF_ACCEPT; in nf_conntrack_inet_error()
135 return -NF_ACCEPT; in nf_conntrack_inet_error()
184 return -NF_ACCEPT; in nf_conntrack_inet_error()
193 return NF_ACCEPT; in nf_conntrack_inet_error()
216 return -NF_ACCEPT; in nf_conntrack_icmpv4_error()
224 return -NF_ACCEPT; in nf_conntrack_icmpv4_error()
[all …]
H A Dnf_conntrack_proto_icmpv6.c99 return -NF_ACCEPT; in nf_conntrack_icmpv6_packet()
109 return -NF_ACCEPT; in nf_conntrack_icmpv6_packet()
121 return NF_ACCEPT; in nf_conntrack_icmpv6_packet()
149 return -NF_ACCEPT; in nf_conntrack_icmpv6_redirect()
153 return NF_ACCEPT; in nf_conntrack_icmpv6_redirect()
157 return -NF_ACCEPT; in nf_conntrack_icmpv6_redirect()
166 return -NF_ACCEPT; in nf_conntrack_icmpv6_redirect()
173 return NF_ACCEPT; in nf_conntrack_icmpv6_redirect()
195 return -NF_ACCEPT; in nf_conntrack_icmpv6_error()
209 return NF_ACCEPT; in nf_conntrack_icmpv6_error()
[all …]
H A Dnf_nat_ovs.c16 int hooknum, err = NF_ACCEPT; in nf_ct_nat_execute()
63 if (err != NF_ACCEPT) in nf_ct_nat_execute()
79 if (err == NF_ACCEPT) in nf_ct_nat_execute()
116 return NF_ACCEPT; in nf_ct_nat()
120 if (err == NF_ACCEPT && ct->status & IPS_DST_NAT) { in nf_ct_nat()
H A Dnf_conntrack_sip.c957 return NF_ACCEPT; in set_expected_rtp_rtcp()
1050 return NF_ACCEPT; in process_sdp()
1149 return NF_ACCEPT; in process_invite_response()
1166 return NF_ACCEPT; in process_update_response()
1183 return NF_ACCEPT; in process_prack_response()
1212 return NF_ACCEPT; in process_bye_request()
1240 return NF_ACCEPT; in process_register_request()
1279 ret = NF_ACCEPT; in process_register_request()
1396 return NF_ACCEPT; in process_register_response()
1449 return NF_ACCEPT; in process_sip_response()
[all …]
H A Dnf_conntrack_irc.c122 int i, ret = NF_ACCEPT; in help()
129 return NF_ACCEPT; in help()
133 return NF_ACCEPT; in help()
138 return NF_ACCEPT; in help()
143 return NF_ACCEPT; in help()
154 return NF_ACCEPT; in help()
H A Dnf_conntrack_proto_udp.c94 return -NF_ACCEPT; in nf_conntrack_udp_packet()
121 return NF_ACCEPT; in nf_conntrack_udp_packet()
129 return NF_ACCEPT; in nf_conntrack_udp_packet()
192 return -NF_ACCEPT; in nf_conntrack_udplite_packet()
205 return NF_ACCEPT; in nf_conntrack_udplite_packet()
213 return NF_ACCEPT; in nf_conntrack_udplite_packet()
H A Dnf_conntrack_pptp.c367 return NF_ACCEPT; in pptp_inbound_pkt()
375 return NF_ACCEPT; in pptp_inbound_pkt()
462 return NF_ACCEPT; in pptp_outbound_pkt()
470 return NF_ACCEPT; in pptp_outbound_pkt()
519 return NF_ACCEPT; in conntrack_pptp_help()
524 return NF_ACCEPT; in conntrack_pptp_help()
532 return NF_ACCEPT; in conntrack_pptp_help()
541 return NF_ACCEPT; in conntrack_pptp_help()
546 return NF_ACCEPT; in conntrack_pptp_help()
553 return NF_ACCEPT; in conntrack_pptp_help()
[all …]
H A Dnf_flow_table_inet.c21 return NF_ACCEPT; in nf_flow_offload_inet_hook()
28 return NF_ACCEPT; in nf_flow_offload_inet_hook()
42 return NF_ACCEPT; in nf_flow_offload_inet_hook()
H A Dnf_queue.c264 if (verdict != NF_ACCEPT) { in nf_iterate()
274 return NF_ACCEPT; in nf_iterate()
325 if (verdict == NF_ACCEPT) { in nf_reinject()
330 if (verdict == NF_ACCEPT) { in nf_reinject()
337 case NF_ACCEPT: in nf_reinject()
H A Dnf_conntrack_ftp.c394 return NF_ACCEPT; in help()
402 return NF_ACCEPT; in help()
409 return NF_ACCEPT; in help()
434 ret = NF_ACCEPT; in help()
466 ret = NF_ACCEPT; in help()
509 ret = NF_ACCEPT; in help()
531 ret = NF_ACCEPT; in help()
H A Dnf_nat_proto.c431 return NF_ACCEPT; in nf_nat_manip_pkt()
435 return NF_ACCEPT; in nf_nat_manip_pkt()
633 return NF_ACCEPT; in nf_nat_ipv4_fn()
641 return NF_ACCEPT; in nf_nat_ipv4_fn()
656 if (ret == NF_ACCEPT && daddr != ip_hdr(skb)->daddr) in nf_nat_ipv4_pre_routing()
730 if (ret != NF_ACCEPT) in nf_nat_ipv4_out()
764 if (ret != NF_ACCEPT) in nf_nat_ipv4_local_fn()
920 return NF_ACCEPT; in nf_nat_ipv6_fn()
933 return NF_ACCEPT; in nf_nat_ipv6_fn()
968 if (ret != NF_ACCEPT) in nf_nat_ipv6_out()
[all …]
/openbmc/linux/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c155 return NF_ACCEPT; in nf_ct_br_defrag4()
169 return NF_ACCEPT; in nf_ct_br_defrag4()
200 return NF_ACCEPT; in nf_ct_br_defrag6()
252 return NF_ACCEPT; in nf_ct_bridge_pre()
257 return NF_ACCEPT; in nf_ct_bridge_pre()
285 return NF_ACCEPT; in nf_ct_bridge_pre()
303 return NF_ACCEPT; in nf_ct_bridge_in()
307 return NF_ACCEPT; in nf_ct_bridge_in()
315 return NF_ACCEPT; in nf_ct_bridge_in()
321 return NF_ACCEPT; in nf_ct_bridge_in()
[all …]
H A Debtable_broute.c55 return NF_ACCEPT; in ebt_broute()
83 return NF_ACCEPT; in ebt_broute()
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_netfilter_ctx.c69 #define NF_ACCEPT 1 macro
79 return NF_ACCEPT; in with_invalid_ctx_access_test5()
103 return NF_ACCEPT; in with_valid_ctx_access_test6()
107 return NF_ACCEPT; in with_valid_ctx_access_test6()
110 return NF_ACCEPT; in with_valid_ctx_access_test6()
116 return NF_ACCEPT; in with_valid_ctx_access_test6()
118 return th->dest == bpf_htons(22) ? NF_ACCEPT : NF_DROP; in with_valid_ctx_access_test6()
H A Dip_check_defrag.c8 #define NF_ACCEPT 1 macro
64 return NF_ACCEPT; in handle_v4()
86 return NF_ACCEPT; in handle_v6()
100 return NF_ACCEPT; in defrag()
H A Dtest_netfilter_link_attach.c6 #define NF_ACCEPT 1 macro
11 return NF_ACCEPT; in nf_link_attach_test()
/openbmc/linux/net/netfilter/ipvs/
H A Dip_vs_core.c649 return NF_ACCEPT; in ip_vs_leave()
955 return NF_ACCEPT; in ip_vs_out_icmp()
966 return NF_ACCEPT; in ip_vs_out_icmp()
971 return NF_ACCEPT; in ip_vs_out_icmp()
982 return NF_ACCEPT; in ip_vs_out_icmp()
1015 return NF_ACCEPT; in ip_vs_out_icmp_v6()
1033 return NF_ACCEPT; in ip_vs_out_icmp_v6()
1039 return NF_ACCEPT; in ip_vs_out_icmp_v6()
1317 return NF_ACCEPT; in handle_response()
1465 return NF_ACCEPT; in ip_vs_out_hook()
[all …]
/openbmc/linux/net/ipv4/netfilter/
H A Dnf_nat_snmp_basic_main.c144 return NF_ACCEPT; in snmp_translate()
154 return NF_ACCEPT; in snmp_translate()
171 return NF_ACCEPT; in help()
173 return NF_ACCEPT; in help()
177 return NF_ACCEPT; in help()
H A Dnf_defrag_ipv4.c70 return NF_ACCEPT; in ipv4_conntrack_defrag()
77 return NF_ACCEPT; in ipv4_conntrack_defrag()
80 return NF_ACCEPT; in ipv4_conntrack_defrag()
90 return NF_ACCEPT; in ipv4_conntrack_defrag()
H A Dnf_nat_pptp.c180 return NF_ACCEPT; in pptp_outbound_pkt()
195 return NF_ACCEPT; in pptp_outbound_pkt()
259 return NF_ACCEPT; in pptp_inbound_pkt()
279 return NF_ACCEPT; in pptp_inbound_pkt()
295 return NF_ACCEPT; in pptp_inbound_pkt()
/openbmc/linux/include/net/netfilter/
H A Dnf_conntrack_core.h58 int ret = NF_ACCEPT; in nf_conntrack_confirm()
64 if (ret == NF_ACCEPT) in nf_conntrack_confirm()
68 if (ret == NF_ACCEPT && nf_ct_ecache_exist(ct)) in nf_conntrack_confirm()
/openbmc/linux/net/bridge/
H A Dbr_netfilter_hooks.c532 return NF_ACCEPT; in br_nf_pre_routing()
536 return NF_ACCEPT; in br_nf_pre_routing()
612 return NF_ACCEPT; in br_nf_local_in()
616 return NF_ACCEPT; in br_nf_local_in()
620 return NF_ACCEPT; in br_nf_local_in()
624 return NF_ACCEPT; in br_nf_local_in()
636 return NF_ACCEPT; in br_nf_local_in()
706 return NF_ACCEPT; in br_nf_forward_ip()
728 return NF_ACCEPT; in br_nf_forward_ip()
773 return NF_ACCEPT; in br_nf_forward_arp()
[all …]
/openbmc/linux/net/ipv6/netfilter/
H A Dnf_defrag_ipv6_hooks.c61 return NF_ACCEPT; in ipv6_defrag()
64 return NF_ACCEPT; in ipv6_defrag()
73 return err == 0 ? NF_ACCEPT : NF_DROP; in ipv6_defrag()

1234