The pcnet driver uses macros atomic_listpull and atomic_listpush to maintain
a pool on npkt_ts for use in Ethernet reception. I want to do a very similar
thing in my driver, but for a different structure. So…
Can anyone summarise how the macros work ?
What would a structure other than npkt_t need to contain to be able to be
pooled using the same macros ?