History log of /freebsd/sys/netgraph/ng_source.c (Results 76 – 99 of 99)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 2b0ffc02 10-Mar-2005 Bosko Milekic <bmilekic@FreeBSD.org>

Make some basic grammar and style fixes to ng_source.c and ng_source.h.
The latter was particularly violated by someone's editor in the past, due
to an effect I like to call "premature linewrapping."


# 0572dfac 12-Feb-2005 Ruslan Ermilov <ru@FreeBSD.org>

Fallout from the ALTQ import.


Revision tags: release/4.11.0_cvs, release/4.11.0
# c398230b 07-Jan-2005 Warner Losh <imp@FreeBSD.org>

/* -> /*- for license, minor formatting changes


# f9d9e1b4 01-Dec-2004 Gleb Smirnoff <glebius@FreeBSD.org>

Mechanically rename s/ng_timeout/ng_callout/g, s/ng_untimeout/ng_uncallout/g.
This is done to keep both versions in RELENG_5 and support both APIs.

Reviewed by: scottl
Approved by: julian (mentor),

Mechanically rename s/ng_timeout/ng_callout/g, s/ng_untimeout/ng_uncallout/g.
This is done to keep both versions in RELENG_5 and support both APIs.

Reviewed by: scottl
Approved by: julian (mentor), implicitly

show more ...


Revision tags: release/5.3.0_cvs, release/5.3.0
# 30bef41b 02-Nov-2004 Gleb Smirnoff <glebius@FreeBSD.org>

- Make ng_timeout() to use callout() interface instead of timeout().
- Remove callout-hacking from ng_untimeout().

Approved by: julian (mentor)
MFC after: 1 month


# d312eaf5 02-Nov-2004 Gleb Smirnoff <glebius@FreeBSD.org>

Fix a harmless error in order of ng_timeout() arguments.

Approved by: julian (mentor)


# be4252b3 20-Jul-2004 Julian Elischer <julian@FreeBSD.org>

Slight cosmetic changes.
Also introduce a macro to be called by persistent nodes to signal their
persistence during shutdown to hide this mechanism from the node author.

Make node flags have a consi

Slight cosmetic changes.
Also introduce a macro to be called by persistent nodes to signal their
persistence during shutdown to hide this mechanism from the node author.

Make node flags have a consistent style in naming.

Document the change.

show more ...


# f8aae777 29-May-2004 Julian Elischer <julian@FreeBSD.org>

Switch to using C99 sparse initialisers for the type methods array.
Should make no binary difference.

Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Reviewed by: Harti Brandt <harti@freebsd.org>

Switch to using C99 sparse initialisers for the type methods array.
Should make no binary difference.

Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Reviewed by: Harti Brandt <harti@freebsd.org>
MFC after: 1 week

show more ...


Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1
# a1adb510 30-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Use the official ng_timeout function to trigger sending. This means,
that we can get rid of of all the spl*() calls, because ng_timeout
handles the locking issues.


# 4e0dea9a 27-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Don't confuse NULL and 0, use 0 where an integer is expected.


# 76bd5857 27-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Style: add __FBSDID, relocate some { that were on the wrong line,
correct some indendation, change __FUNCTION__ to __func__ and remove
a local KASSERT definition.


# f5d15522 26-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Make ng_source to work with non-ethernet interfaces. We do this by
introducing a START_NOW command. This command does not send
and GET_IFINDEX message downstream (to wait for the response from
the ET

Make ng_source to work with non-ethernet interfaces. We do this by
introducing a START_NOW command. This command does not send
and GET_IFINDEX message downstream (to wait for the response from
the ETHERNET node), but directly starts the sending process. This allows
one to generate traffic as input for any hook on any node.

show more ...


# 2cafef3e 26-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Declare a function to silence a warning.


# 81a4ef81 26-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Should use the non-locking versions of the ifqueue macros to
fiddle around with private queues, because their mutex is not
needed. All this processing should be protected by the netgraph
locking.


# b1b70498 26-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

Replace a call to bzero() with an M_ZERO flag. Replace the MALLOC() with
malloc().


# 4321c507 26-Jan-2004 Hartmut Brandt <harti@FreeBSD.org>

The version in the type description must be the ABI version, not
the netgraph version.

Correct the return type of a function: it wants to return an error
code, so it cannot be void.


Revision tags: release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0
# a163d034 19-Feb-2003 Warner Losh <imp@FreeBSD.org>

Back out M_* changes, per decision of the TRB.

Approved by: trb


# 44956c98 21-Jan-2003 Alfred Perlstein <alfred@FreeBSD.org>

Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.


Revision tags: release/5.0.0_cvs, release/5.0.0
# b30a244c 22-Dec-2002 Jeffrey Hsu <hsu@FreeBSD.org>

SMP locking for ifnet list.


# 86fea6be 19-Dec-2002 Bosko Milekic <bmilekic@FreeBSD.org>

o Untangle the confusion with the malloc flags {M_WAITOK, M_NOWAIT} and
the mbuf allocator flags {M_TRYWAIT, M_DONTWAIT}.
o Fix a bpf_compat issue where malloc() was defined to just call
bpf_allo

o Untangle the confusion with the malloc flags {M_WAITOK, M_NOWAIT} and
the mbuf allocator flags {M_TRYWAIT, M_DONTWAIT}.
o Fix a bpf_compat issue where malloc() was defined to just call
bpf_alloc() and pass the 'canwait' flag(s) along. It's been changed
to call bpf_alloc() but pass the corresponding M_TRYWAIT or M_DONTWAIT
flag (and only one of those two).

Submitted by: Hiten Pandya <hiten@unixdaemons.com> (hiten->commit_count++)

show more ...


# b655e33d 05-Nov-2002 Julian Elischer <julian@FreeBSD.org>

Slight redesign for fitting in with -current.


# 5968e29e 02-Nov-2002 Julian Elischer <julian@FreeBSD.org>

The easy part of converting the ng_source node to -current.
More to come.. does not compile (deliberatly.. logic broken)


# 4b52f283 02-Nov-2002 Julian Elischer <julian@FreeBSD.org>

Whitespace fixes


# 585ff168 01-Nov-2002 Julian Elischer <julian@FreeBSD.org>

Add the netgraph 'source' module.
This is NOT YET CONVERTED TO -current.
This node is a source for preprogrammed packets at a known rate for testing.

I will convert it to -current "in place" but wil

Add the netgraph 'source' module.
This is NOT YET CONVERTED TO -current.
This node is a source for preprogrammed packets at a known rate for testing.

I will convert it to -current "in place" but will MFC teh original
pre-conversion variant as that is what is originally submitted.
Man page my me, info from Dave's README.

Submitted by: Dave Chapeskie <dchapeskie@SANDVINE.com>
Obtained from: Sandvine inc.
MFC after: 1 week

show more ...


1234