1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/sbin/ipfw
Alexander V. Chernikov 9bb47e7068 Improve "reserved keywords" hack:
we can't easily predict (in current parsing model)
if the keyword is ipfw(8) reserved keyword or port name.
Checking proto database via getprotobyname() consumes a lot of
CPU and leads to tens of seconds for parsing large ruleset.
Use list of reserved keywords and check them as pre-requisite
before doing getprotobyname().

Obtained from:	Yandex LLC
2014-10-06 11:00:47 +00:00
..
altq.c Merge buffer-printing changes from from projects/ipfw as preparation 2014-08-23 17:37:18 +00:00
dummynet.c Merge buffer-printing changes from from projects/ipfw as preparation 2014-08-23 17:37:18 +00:00
ipfw2.c Improve "reserved keywords" hack: 2014-10-06 11:00:47 +00:00
ipfw2.h Merge buffer-printing changes from from projects/ipfw as preparation 2014-08-23 17:37:18 +00:00
ipfw.8 mdoc: remove superfluous paragraph macros. 2014-06-23 18:40:21 +00:00
ipv6.c Merge buffer-printing changes from from projects/ipfw as preparation 2014-08-23 17:37:18 +00:00
main.c
Makefile
nat.c