Import ALTQ support from KAME. This is based on the FreeBSD 4 snapshot.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 11 Feb 2005 22:26:35 +0000 (22:26 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Fri, 11 Feb 2005 22:26:35 +0000 (22:26 +0000)
commit4d723e5a41b92a42a089a7782abac804f66a0134
tree17d70dc470875d76206ed1524228db2300b137e1
parent001331bff0c4f439a8183094a3785fb9c53b41f7
Import ALTQ support from KAME. This is based on the FreeBSD 4 snapshot.
This includes neither the ALTQ3 compat code nor the !DragonFly defines.
The macros have been replaced with inline functions in net/ifq_var.h.

This also renames pkthdr.pf_flags as it is intended as general flag bit.
Currently supported are ppp(4), sppp(4), tun(4) and wi(4), more drivers
are coming later.

Reviewed-by: corecode, dillon, hsu
Comments-from: hmp
56 files changed:
sys/conf/files
sys/conf/options
sys/config/LINT
sys/dev/netif/cm/smc90cx6.c
sys/dev/netif/owi/owi_hostap.c
sys/dev/netif/pdq_layer/pdq_ifsubr.c
sys/dev/netif/re/if_re.c
sys/dev/netif/wi/if_wi.c
sys/i386/conf/LINT
sys/kern/uipc_mbuf.c
sys/net/altq/altq.h [new file with mode: 0644]
sys/net/altq/altq_cbq.c [new file with mode: 0644]
sys/net/altq/altq_cbq.h [new file with mode: 0644]
sys/net/altq/altq_classq.h [new file with mode: 0644]
sys/net/altq/altq_hfsc.c [new file with mode: 0644]
sys/net/altq/altq_hfsc.h [new file with mode: 0644]
sys/net/altq/altq_priq.c [new file with mode: 0644]
sys/net/altq/altq_priq.h [new file with mode: 0644]
sys/net/altq/altq_red.c [new file with mode: 0644]
sys/net/altq/altq_red.h [new file with mode: 0644]
sys/net/altq/altq_rio.c [new file with mode: 0644]
sys/net/altq/altq_rio.h [new file with mode: 0644]
sys/net/altq/altq_rmclass.c [new file with mode: 0644]
sys/net/altq/altq_rmclass.h [new file with mode: 0644]
sys/net/altq/altq_rmclass_debug.h [new file with mode: 0644]
sys/net/altq/altq_subr.c [new file with mode: 0644]
sys/net/altq/altq_var.h [new file with mode: 0644]
sys/net/altq/if_altq.h [new file with mode: 0644]
sys/net/bridge/bridge.c
sys/net/ethernet.h
sys/net/if.c
sys/net/if_arcsubr.c
sys/net/if_atmsubr.c
sys/net/if_ethersubr.c
sys/net/if_fddisubr.c
sys/net/if_loop.c
sys/net/if_var.h
sys/net/ifq_var.h [new file with mode: 0644]
sys/net/ip_mroute/ip_mroute.c
sys/net/oldbridge/bridge.c
sys/net/pf/pf.c
sys/net/pf/pf_ioctl.c
sys/net/pf/pf_norm.c
sys/net/pf/pfvar.h
sys/net/ppp/if_ppp.c
sys/net/ppp_layer/ppp_tty.c
sys/net/sl/if_sl.c
sys/net/sppp/if_spppsubr.c
sys/net/tun/if_tun.c
sys/net/vlan/if_vlan.c
sys/netinet/ip.h
sys/netinet/ip_icmp.c
sys/netinet/ip_input.c
sys/netinet/ip_output.c
sys/netinet6/ip6_input.c
sys/sys/mbuf.h