mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
further rhizome voice traffic detection hooks.
This commit is contained in:
parent
29bb86d9e7
commit
d2c811b4b4
@ -412,8 +412,10 @@ int overlay_frame_process(int interface,overlay_frame *f)
|
||||
else {
|
||||
int qn=OQ_ORDINARY;
|
||||
/* Make sure voice traffic gets priority */
|
||||
if ((qf->type&OF_TYPE_BITS)==OF_TYPE_DATA_VOICE)
|
||||
if ((qf->type&OF_TYPE_BITS)==OF_TYPE_DATA_VOICE) {
|
||||
qn=OQ_ISOCHRONOUS_VOICE;
|
||||
rhizome_saw_voice_traffic();
|
||||
}
|
||||
if (0) WHY("queuing frame for forwarding");
|
||||
if (overlay_payload_enqueue(qn,qf,0)) {
|
||||
WHY("failed to enqueue forwarded payload");
|
||||
|
@ -917,6 +917,7 @@ int overlay_mdp_dispatch(overlay_mdp_frame *mdp,int userGeneratedFrameP,
|
||||
||mdp->out.src.port==MDP_PORT_DNALOOKUP
|
||||
||mdp->out.dst.port==MDP_PORT_DNALOOKUP) {
|
||||
q=OQ_ISOCHRONOUS_VOICE;
|
||||
rhizome_saw_voice_traffic();
|
||||
}
|
||||
if (overlay_payload_enqueue(q,frame,0))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user