Skip to contentSkip to conversation

how packet queue gets updated

Openvpn-devel ehsan enayati 1 participant 1 message Oct 24, 2012

lore
Share & tools
lore
#0 lore raw

hi everybody,I have some problems about entry point of packets into openvpn. I know that there is a multi_instance structure which is created per packet and there is a scheduler which detects a packet with earliest wakeup but suppose two clients are connecting to openvpn we know that there is a queue for holding their packets and process these packets, respectively. I have two questions, where is this queue exatly (i mean which structure in code is responsible for holding packets)? and how it's get updated (where does queue and dequeue operation happen?)

Thanks
Ehsan