History log of /freebsd-current/sys/netgraph/ng_car.c
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix


# 4a683076 19-May-2021 Alexander Motin <mav@FreeBSD.org>

Fix packet cbs/ebs conversion.

Each packet is counted as 128 bytes by the code, not 125. Not sure
what I was thinking about here 14 years ago. May be just a typo.

Reported by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
MFC after: 2 weeks


# d0d2e523 27-Jan-2021 Lutz Donnerhacke <donner@FreeBSD.org>

netgraph/ng_car: Add color marking code

Chained policing should be able to reuse the classification of
traffic. A new mbuf_tag type is defined to handle gereral QoS
marking. A new subtype is defined to track the color marking.

Reviewed by: manpages (bcr), melifaro, kp
Approved by: kp (mentor)
Sponsored by: IKS Service GmbH
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D22110


# 662c1305 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

net: clean up empty lines in .c and .h files


# def4e701 04-Mar-2020 Gleb Smirnoff <glebius@FreeBSD.org>

Fix spelling of "dropped".

Submitted by: Lutz Donnerhacke
Differential Revision: https://reviews.freebsd.org/D23954


# fe267a55 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

sys: general adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.


# 053359b7 29-Apr-2016 Pedro F. Giffuni <pfg@FreeBSD.org>

sys/netgraph: spelling fixes in comments.

No functional change.


# 674d86bf 18-Apr-2011 Gleb Smirnoff <glebius@FreeBSD.org>

Node constructor methods are supposed to be called in syscall
context always. Convert nodes to consistently use M_WAITOK flag
for memory allocation.

Reviewed by: julian


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# c77b232b 30-Mar-2008 Alexander Motin <mav@FreeBSD.org>

- Account all node stats at the shape mode.
- Do not check destination hook presence, it will be done by netgraph.
- Use u_int instead of int in some places to simplify type conversions.
- Use NG_SEND_DATA_ONLY() macro instead of selfmade equivalent.


# c86d865e 27-Mar-2008 Alexander Motin <mav@FreeBSD.org>

Switch from timeval to bintime, to use 1/(2^20) of seconds instead of
microseconds. It allows to use bit shifts instead of some heavy 64bit
mul/div math operations.


# 673f5a8b 19-Dec-2007 Alexander Motin <mav@FreeBSD.org>

Add option to set packets per second limits instead of default
bits per second ones.


# df01e689 13-Jun-2007 Alexander Motin <mav@FreeBSD.org>

Add missing ng_uncallout() on node shutdown.

Approved by: glebius (mentor)


# b50ace73 17-May-2007 Alexander Motin <mav@FreeBSD.org>

Fix small copy/paste mistake.


# ae1be01f 15-May-2007 Alexander Motin <mav@FreeBSD.org>

Style cleanup.

Approved by: glebius (mentor)


# c97bf8c3 15-May-2007 Alexander Motin <mav@FreeBSD.org>

A node that implements various traffic shaping and rate limiting algorithms.

Approved by: glebius (mentor)