Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2010 15:43:35 +0000 (UTC)
From:      Luigi Rizzo <luigi@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/ipfw ipfw2.c ipfw2.h
Message-ID:  <201003151543.o2FFhwTv052027@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
luigi       2010-03-15 15:43:35 UTC

  FreeBSD src repository

  Modified files:
    sbin/ipfw            ipfw2.c ipfw2.h 
  Log:
  SVN rev 205169 on 2010-03-15 15:43:35Z by luigi
  
  Implement "lookup dscp N" which does a lookup of the DSCP (top 6 bits
  of ip->ip_tos) in a table. This can be useful to direct traffic to
  different pipes/queues according to the DSCP of the packet, as follows:
  
      ipfw add 100 queue tablearg lookup dscp 3 // table 3 maps dscp->queue
  
  This change is a no-op (but harmless) until the two-line kernel
  side is committed, which will happen shortly.
  
  Revision  Changes    Path
  1.154     +3 -2      src/sbin/ipfw/ipfw2.c
  1.12      +1 -0      src/sbin/ipfw/ipfw2.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003151543.o2FFhwTv052027>