freebsd-nq/sys/netpfil/ipfw
Alexander V. Chernikov 65ff3638df Merge helper fib* functions used for basic lookups.
Vast majority of rtalloc(9) users require only basic info from
route table (e.g. "does the rtentry interface match with the interface
  I have?". "what is the MTU?", "Give me the IPv4 source address to use",
  etc..).
Instead of hand-rolling lookups, checking if rtentry is up, valid,
  dealing with IPv6 mtu, finding "address" ifp (almost never done right),
  provide easy-to-use API hiding all the complexity and returning the
  needed info into small on-stack structure.

This change also helps hiding route subsystem internals (locking, direct
  rtentry accesses).
Additionaly, using this API improves lookup performance since rtentry is not
  locked.
(This is safe, since all the rtentry changes happens under both radix WLOCK
  and rtentry WLOCK).

Sponsored by:	Yandex LLC
2015-12-08 10:50:03 +00:00
..
test add code to compute fairness indexes; 2015-07-10 18:10:40 +00:00
dn_heap.c one more warning suppression when compiling the test code in userspace. 2015-07-10 19:18:49 +00:00
dn_heap.h
dn_sched_fifo.c
dn_sched_prio.c
dn_sched_qfq.c assorted algorithmic fixes from Paolo Valente (one of my qfq coauthors): 2015-07-10 19:24:36 +00:00
dn_sched_rr.c
dn_sched_wf2q.c
dn_sched.h remove an extra ; after MODULE_DEPEND 2015-05-19 14:49:31 +00:00
dummynet.txt
ip_dn_glue.c
ip_dn_io.c Add helper functions for IP checksum adjusting. Use these functions in 2015-07-20 07:26:31 +00:00
ip_dn_private.h remove a redundant ; at the end of a function 2015-05-19 15:29:00 +00:00
ip_dummynet.c CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
ip_fw2.c Merge helper fib* functions used for basic lookups. 2015-12-08 10:50:03 +00:00
ip_fw_dynamic.c Fix dynamic IPv6 rules showing junk for non-specified address masks. 2015-11-17 20:42:08 +00:00
ip_fw_iface.c * Make sure table algorithm destroy hook is always called without locks 2015-02-05 13:49:04 +00:00
ip_fw_log.c Print proper setfib values in ipfw log. 2015-11-08 13:44:21 +00:00
ip_fw_nat.c Use free_nat_instance() for nat instance deletion. 2015-04-27 09:16:22 +00:00
ip_fw_pfil.c use proper types to represent function pointers 2015-05-19 16:51:30 +00:00
ip_fw_private.h Add destroy_object callback to object rewriting framework. 2015-11-23 22:06:55 +00:00
ip_fw_sockopt.c Add destroy_object callback to object rewriting framework. 2015-11-23 22:06:55 +00:00
ip_fw_table_algo.c * Make sure table algorithm destroy hook is always called without locks 2015-02-05 13:49:04 +00:00
ip_fw_table_value.c Remove ptei->value check from ipfw_link_table_values(): 2015-05-12 20:42:42 +00:00
ip_fw_table.c Remove now obsolete KASSERT. 2015-11-03 22:23:09 +00:00
ip_fw_table.h Add ipfw_check_object_name_generic() function to do basic checks for an 2015-11-03 10:29:46 +00:00