Subject: Re: PF for netbsd
To: None <>
From: Manuel Bouyer <>
List: tech-net
Date: 07/04/2003 12:25:36
On Fri, Jul 04, 2003 at 09:53:51AM +0900, wrote:
> 	i don't like m_tag_name2tag, because m_tag is used for other purposes.
> 	the name2tag/tag2name functions are just for PACKET_TAG_PF_TAG tags.

There could be other things that could make use of name2tag/tag2name
functions (altq queues ?).
The m_pftag* functions could be extended to take the queue head as argument,
so they wouldn't be specific to the pf_tags list any more.

The problem is then the declaration of the queue head. For pf_tag,
as there are several independant users, this would this have to be
defined in a common place, probably uipc_mbuf2.c.

Maybe it ins't a that good idea. What do others think ?

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 24 ans d'experience feront toujours la difference