freebsd-dev/sys/contrib/ipfilter/netinet
Cy Schubert 874b1a3548 ipfilter: simplify ipf_proxy_check() return codes
ipf_proxy_check() returns -1 for an error and 0 or 1 for success.
ipf_proxy_check()'s callers check for error and if the return code
is 0, they change it to 1 prior to returning to their callers. Simply
by returning -1 or 1 we reduce complexity and cycles burned changing
0 to 1.

MFC after:	1 week
2021-03-24 01:57:56 -07:00
..
fil.c ipfilter: Make LARGE_NAT a tunable. 2021-02-22 11:20:18 -08:00
ip_auth.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_auth.h Replace the redundant MENTAT macro with SOLARIS. 2021-02-01 17:19:15 -08:00
ip_compat.h Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_dns_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_dstlist.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_dstlist.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_fil_freebsd.c ipfilter: Make LARGE_NAT a tunable. 2021-02-22 11:20:18 -08:00
ip_fil.h ipfilter: Make LARGE_NAT a tunable. 2021-02-22 11:20:18 -08:00
ip_frag.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_frag.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_ftp_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_htable.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_htable.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_ipsec_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_irc_pxy.c Replace the redundant MENTAT macro with SOLARIS. 2021-02-01 17:19:15 -08:00
ip_log.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_lookup.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_lookup.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_nat6.c ipfilter: simplify ipf_proxy_check() return codes 2021-03-24 01:57:56 -07:00
ip_nat.c ipfilter: simplify ipf_proxy_check() return codes 2021-03-24 01:57:56 -07:00
ip_nat.h ipfilter: Make LARGE_NAT a tunable. 2021-02-22 11:20:18 -08:00
ip_netbios_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_pool.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_pool.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_pptp_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_proxy.c ipfilter: simplify ipf_proxy_check() return codes 2021-03-24 01:57:56 -07:00
ip_proxy.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_raudio_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_rcmd_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_rpcb_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_rules.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_rules.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_scan.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_scan.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_state.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_state.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_sync.c Simplify the FreeBSD check using __FreeBSD__ compiler macro. 2021-02-08 16:36:27 -08:00
ip_sync.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ip_tftp_pxy.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
ipf_rb.h
IPFILTER.LICENCE
ipl.h
mlfk_ipl.c ipfilter: Make LARGE_NAT a tunable. 2021-02-22 11:20:18 -08:00
radix_ipf.c Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00
radix_ipf.h Retire the K&R/STD C __P prototype declarations. 2021-02-01 17:19:15 -08:00