Network stack design
Posted: Sun Jan 29, 2012 9:21 am
Hi,
I'm designing a network stack. The idea is a bit linuxish. Above the drivers is a protocol independent core driver. But my question is, how can this core driver call the correct protocol handler without using a huge switch case and using every protocol as a case..
I hope someone can help,
Bietje
I'm designing a network stack. The idea is a bit linuxish. Above the drivers is a protocol independent core driver. But my question is, how can this core driver call the correct protocol handler without using a huge switch case and using every protocol as a case..
I hope someone can help,
Bietje