YAMAMOTO Takashi
2006-09-16 11:27:44 UTC
hi,
i'd like to implement something like the following:
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 *);
the goal is to replace if_agrprivate and if_afdata[], at least.
any comments?
YAMAMOTO Takashi
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
i'd like to implement something like the following:
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 *);
the goal is to replace if_agrprivate and if_afdata[], at least.
any comments?
YAMAMOTO Takashi
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de