Re: HEADSUP! netgraph Metadata changing.
From: Gleb Smirnoff (glebius_at_cell.sick.ru)
Date: 06/07/04
- Previous message: Gleb Smirnoff: "Re: HEADSUP! netgraph Metadata changing."
- In reply to: Ruslan Ermilov: "Re: HEADSUP! netgraph Metadata changing."
- Next in thread: Ruslan Ermilov: "Re: HEADSUP! netgraph Metadata changing."
- Reply: Ruslan Ermilov: "Re: HEADSUP! netgraph Metadata changing."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 7 Jun 2004 11:44:10 +0400 To: Ruslan Ermilov <ru@freebsd.org>
On Mon, Jun 07, 2004 at 10:38:12AM +0300, Ruslan Ermilov wrote:
R> On Mon, Jun 07, 2004 at 11:17:01AM +0400, Gleb Smirnoff wrote:
R> > On Sun, Jun 06, 2004 at 06:35:51PM -0700, Julian Elischer wrote:
R> > J> In addition the ng_ksocket node adds info into metadata and I suspect
R> > J> there are people using that.
R> >
R> > Since ng_ksocket tags packets for itself only, we can safely change it.
R> >
R> I use this feature in one proprietary module (need to send/recevive
R> UDP datagrams to/from different destinations).
Does your module reads/writes meta? Or just forwards the meta? If it just
forwards meta, does it allocate new mbuf? If it does, then you should copy
tag from old mbuf to a new one. If it does not allocate new mbuf, than
our ng_ksocket change won't break your module.
-- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
- Previous message: Gleb Smirnoff: "Re: HEADSUP! netgraph Metadata changing."
- In reply to: Ruslan Ermilov: "Re: HEADSUP! netgraph Metadata changing."
- Next in thread: Ruslan Ermilov: "Re: HEADSUP! netgraph Metadata changing."
- Reply: Ruslan Ermilov: "Re: HEADSUP! netgraph Metadata changing."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|