September 14th, 2009, 3:57 pm
To Cuchulainn:Our company makes firewall and related network equipment. The coding is either 1)kernel module or 2)low level daemon. I'm just a junior developer who happened to have some HR duty that was not a part of job description...To ehermo:Well, it is kind of confusion. Normally a container structure contains the element. but in this case, the element contains the container structure node. You can iterate/search the container structure node, then uses a macro to extract element. One advantage is that you can easily have an element belongs to multiple container structure. My company actually used this style for many other data structure too: hash table, trees etc.