| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
format version number. (userland programs should not need to be
recompiled when the netgraph kernel internal ABI is changed.
Also fix modules that don;t handle the fact that a caller may not supply
a return message pointer. (benign at the moment because the calling code
checks, but that will change)
|
|
|
|
| |
Reported by: julian
|
| |
|
|
|
|
| |
Reported by: Yian Zhu <Yian.Zhu@qobra.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This clears out my outstanding netgraph changes.
There is a netgraph change of design in the offing and this is to some
extent a superset of soem of the new functionality and some of the old
functionality that may be removed.
This code works as before, but allows some new features that I want to
work with and evaluate. It is the basis for a version of netgraph
with integral locking for SMP use.
This is running on my test machine with no new problems :-)
|
|
|
|
|
|
|
| |
last hook was disconnected, the interface would not get reset to
non-promiscuous mode.
Reported by: jdp
|
|
|
|
|
|
|
|
| |
that shows up when running with ethernet bridging
at high speed.
Submitted by: Chris Csanady <ccsanady@iastate.edu>
(and extended by me)
|
| |
|
|
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Submitted by: archie
Approved by: archie
|
|
|
|
|
|
|
|
|
|
|
| |
with Julian and Archie.
Implement a new ``sizedstring'' parse type for dealing with field pairs
consisting of a uint16_t followed by a data field of that size, and use
this to deal with the data_len and data fields.
Written by: Archie with some input by me
Agreed in principle by: julian
|
| |
|
|
|
|
|
|
|
| |
macros which provide the same functionality and are a bit more
efficient, convert use of CIRCLEQ's in netgraph PPP code to TAILQ's.
Reviewed by: Archie Cobbs <archie@dellroad.org>
|
|
|
|
|
| |
as there are apparently some buggy switches that need them in that order.
(I hope there aren't any that require them in the old order!)
|
|
|
|
|
|
|
|
|
|
|
| |
terminated and the data_len field is no longer necessary.
Add ASCII2BINARY and BINARY2ASCII capabilities.
The old format is still understood and dealt with, but can't do
the ASCII2BINARY and BINARY2ASCII stuff.
Approved by: archie
|
|
|
|
|
|
|
|
|
| |
<sys/proc.h> to <sys/systm.h>.
Correctly document the #includes needed in the manpage.
Add one now needed #include of <sys/systm.h>.
Remove the consequent 48 unused #includes of <sys/proc.h>.
|
|
|
|
|
|
| |
addresses to be the more usefu @freebsd.org ones
so we can keep getting bug-reports.
- man pages to follow..
|
| |
|
|
|
|
| |
Close this window by simply not calling untimeout(9).
|
|
|
|
| |
Submitted by: Christopher N. Harrell <cnh@ivmg.net>
|
| |
|
|
|
|
| |
Add a new control message for querying the sequence number state.
|
|
|
|
| |
Reported by: Becca Anderson <becca@worldint.com>
|
|
|
|
|
|
|
|
| |
of the code in the kernel properly checks for read-onlyness before
writing into an mbuf data area. When that code is fixed, the m_dup()
can go back to being m_copypacket().
Requested by: nsayer
|
| |
|
|
|
|
| |
instead of M_WAITOK, to allow for maximum flexibility.
|
|
|
|
| |
be called in an interrupt context.
|
|
|
|
|
| |
packet, make sure that the packet has the interface marked in the first mbuf,
the same a truely arrived packets would have.
|
|
|
|
|
|
| |
upcoming "struct session" in proc.h.
Requested by: jasone
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
include:
* Mutual exclusion is used instead of spl*(). See mutex(9). (Note: The
alpha port is still in transition and currently uses both.)
* Per-CPU idle processes.
* Interrupts are run in their own separate kernel threads and can be
preempted (i386 only).
Partially contributed by: BSDi (BSD/OS)
Submissions by (at least): cp, dfr, dillon, grog, jake, jhb, sheldonh
|
|
|
|
| |
No ipfw support yet.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
NGM_ETHER_SET_ENADDR, NGM_ETHER_GET_PROMISC, and NGM_ETHER_GET_AUTOSRC.
Alter parsing algorithm so the EN address really looks like one.
|
|
|
|
| |
Back it out.
|
| |
|
| |
|
| |
|
|
|
|
| |
long ASCII control messages.
|
|
|
|
| |
- Implement control message ASCII'fication for all control messages
|
| |
|
|
|
|
| |
- Add new control message to atomically get and clear statistics.
|
|
|
|
| |
- Fix bug in commented example code
|
|
|
|
|
|
| |
the bytearray parse type.
- Allocate (larger) temporary work buffer dynamically instead of on the
stack when comparing to the default value.
|
|
|
|
|
|
|
|
|
|
| |
control field compression. The ng_ppp(4) node correctly follows this
rule. However, PPPoE is an exception: when doing PPPoE *all* frames
are sent with address and control field compression.
Alter this node's behavior so that when an outgoing frame is received,
any leading address and control field bytes are removed. This makes
this node compatible with ng_ppp(4).
|
|
|
|
| |
Make sure that this doesn't cause a problem when parsing.
|
| |
|
|
|
|
| |
Detected via: 0xdeadc0de
|