Subject: Re: ifnet specific data
To: Martin Husemann <martin@duskware.de>
From: Matt Thomas <matt@3am-software.com>
List: tech-net
Date: 09/16/2006 09:33:52
On Sep 16, 2006, at 6:33 AM, Martin Husemann wrote:

> On Sat, Sep 16, 2006 at 08:27:44PM +0900, YAMAMOTO Takashi wrote:
>> 	ifnet_specific_key_t ifnet_specific_key_create(void);
>> 	void ifnet_specific_key_destroy(ifnet_specific_key_t);
>> 	void *ifnet_getspecific(struct ifnet *, ifnet_specific_key_t);
>> 	void ifnet_setspecific(struct ifnet *, ifnet_specific_key_t, void  
>> *);
>
> How about doing something like
>
> 	prop_dictionary_t dv_properties;/* properties dictionary */
>
> in struct device instead? That way we could have an analogon to
> device_properties(), like ifnet_properties().

Only if specifickey won't be used in interrupt mode.  and most network
stuff is in hard or soft interrupt mode.