cvs commit: src/sys/netinet if_atm.c

Hartmut Brandt harti at
Wed Aug 6 08:56:39 PDT 2003

harti       2003/08/06 08:56:37 PDT

  FreeBSD src repository

  Modified files:
    sys/netinet          if_atm.c 
  Ups. I forgot this one in the SIOCATMENA/SIOCATMDIS removal commit.
  This change allows one to specify almost the complete traffic parameters
  for IPoverATM channels through the routing table. Up to now we used
  4 byte DL addresses (flag, vpi, vciH, vciL). This format is still allowed.
  If the address is longer, however, the 5th byte is interpreted as the
  traffic class (UBR, CBR, VBR or ABR) and the remaining bytes are the
  parameters for this traffic class:
    UBR: 0 byte or 3 byte PCR
    CBR: 3 byte PCR
    VBR: 3 byte PCR, 3 byte SCR, 3 byte MBS
    ABR: 3 byte PCR, 3 byte MCR, 3 byte ICR, 3 byte TBE, 1 byte NRM,
         1 byte TRM, 2 bytes ADTF, 1 byte RIF, 1 byte RDF and 1 byte CDF
  A script to generate the corresponding 'route add' arguments will follow soon.
  Revision  Changes    Path
  1.14      +134 -17   src/sys/netinet/if_atm.c

More information about the cvs-src mailing list