freebsd-skq/sys/net
wollman a62508b8be Add three new route flags to help determine what sort of address
the destination represents.  For IP:

- Iff it is a host route, RTF_LOCAL and RTF_BROADCAST indicate local
  (belongs to this host) and broadcast addresses, respectively.

- For all routes, RTF_MULTICAST is set if the destination is multicast.

The RTF_BROADCAST flag is used by ip_output() to eliminate a call to
in_broadcast() in a common case; this gives about 1% in our packet-generation
experiments.  All three flags might be used (although they aren't now)
to determine whether a packet can be forwarded; a given host route can
represent a forwardable address if:

	(rt->rt_flags & (RTF_HOST | RTF_LOCAL | RTF_BROADCAST | RTF_MULTICAST))
	== RTF_HOST

Obviously, one still has to do all the work if a host route is not present,
but this code allows one to cache the results of such a lookup if rtalloc1()
is called without masking RTF_PRCLONING.
1996-05-06 17:42:13 +00:00
..
bpf_compat.h
bpf_filter.c Completed function declarations and/or added prototypes. 1995-12-02 19:38:06 +00:00
bpf.c Removed now-unused #includes of <machine/cpu.h>. They were for bootverbose 1996-04-07 17:32:42 +00:00
bpf.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bpfdesc.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
bsd_comp.c Remove the old pppcompress files (btw: these look net-2 derived) 1995-10-31 20:51:24 +00:00
fddi.h The last part of the ether_sprint -> %6D change. 1996-01-26 09:29:29 +00:00
if_arp.h
if_disc.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
if_dl.h
if_ethersubr.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
if_fddisubr.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
if_llc.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_loop.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
if_ppp.c Eliminated sloppy common-style declarations. Now there are no duplicated 1996-04-13 12:45:57 +00:00
if_ppp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_pppvar.h Eliminated sloppy common-style declarations. Now there are no duplicated 1996-04-13 12:45:57 +00:00
if_sl.c Regardless of whether or not the check for IPv4 is useful, we certainly 1996-04-25 02:34:37 +00:00
if_slvar.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
if_sppp.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
if_spppsubr.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
if_tun.c Removed never-used #includes of <machine/cpu.h>. Many were apparently 1996-04-07 17:39:28 +00:00
if_tun.h Make user-level PPP on-demand with dynamic IP actually work. 1996-03-08 11:07:07 +00:00
if_types.h
if.c Move or add #include <queue.h> in preparation for upcoming struct socket 1996-03-11 15:13:58 +00:00
if.h Clean up Ethernet drivers: 1996-02-06 18:51:28 +00:00
netisr.h Add a simplistic netisr register routine - I need this now for ppp-2.2. 1995-10-31 19:07:53 +00:00
ppp_comp.h Merge/update ppp-2.2 kernel parts onto mainline. 1995-10-31 20:24:14 +00:00
ppp_defs.h Merge/update ppp-2.2 kernel parts onto mainline. 1995-10-31 20:24:14 +00:00
ppp_tty.c Use new printf features rather than local kludges. 1996-01-24 21:12:23 +00:00
radix.c Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
radix.h Another mega commit to staticize things. 1995-12-14 09:55:16 +00:00
raw_cb.c Move or add #include <queue.h> in preparation for upcoming struct socket 1996-03-11 15:13:58 +00:00
raw_cb.h Uniformized pr_ctlinput protosw functions. The third arg is now `void 1995-12-16 02:14:44 +00:00
raw_usrreq.c Move or add #include <queue.h> in preparation for upcoming struct socket 1996-03-11 15:13:58 +00:00
route.c Eliminate panic("rtfree") caused by double-freeing the route 1996-03-29 08:02:30 +00:00
route.h Add three new route flags to help determine what sort of address 1996-05-06 17:42:13 +00:00
rtsock.c Move or add #include <queue.h> in preparation for upcoming struct socket 1996-03-11 15:13:58 +00:00
slcompress.c When cslip gets an uncompressed packet, it attempts to save off the TCP/IP 1996-04-11 06:46:24 +00:00
slcompress.h Fix a bunch of spelling errors in the comment fields of 1996-01-30 23:02:38 +00:00
slip.h