/[base]
ViewVC logotype

Revision 248552


Jump to revision: Previous Next
Author: melifaro
Date: Wed Mar 20 10:35:33 2013 UTC (11 years, 3 months ago)
Changed paths: 7
Log Message:
Add ipfw support for setting/matching DiffServ codepoints (DSCP).

Setting DSCP support is done via O_SETDSCP which works for both
IPv4 and IPv6 packets. Fast checksum recalculation (RFC 1624) is done for IPv4.
Dscp can be specified by name (AFXY, CSX, BE, EF), by value
(0..63) or via tablearg.

Matching DSCP is done via another opcode (O_DSCP) which accepts several
classes at once (af11,af22,be). Classes are stored in bitmask (2 u32 words).

Many people made their variants of this patch, the ones I'm aware of are
(in alphabetic order):

Dmitrii Tejblum
Marcelo Araujo
Roman Bogorodskiy (novel)
Sergey Matveichuk (sem)
Sergey Ryabin

PR:		kern/102471, kern/121122
MFC after:	2 weeks


Changed paths

Path Details
Directoryhead/sbin/ipfw/ipfw.8 modified , text changed
Directoryhead/sbin/ipfw/ipfw2.c modified , text changed
Directoryhead/sbin/ipfw/ipfw2.h modified , text changed
Directoryhead/sys/netinet/ip_fw.h modified , text changed
Directoryhead/sys/netpfil/ipfw/ip_fw2.c modified , text changed
Directoryhead/sys/netpfil/ipfw/ip_fw_log.c modified , text changed
Directoryhead/sys/netpfil/ipfw/ip_fw_sockopt.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27