← Back to team overview

rohc team mailing list archive

Re: [Question #244581]: about the feedback packet direction

 

Question #244581 on rohc changed:
https://answers.launchpad.net/rohc/+question/244581

    Status: Answered => Open

sleepswallow is still having a problem:
Hello:
        thanks very much.
        Now I want to know which way to resolve this question relatively easy.
     
       one  : all packets and feedbacks use the same compressor and decompressor, but modify the structs of c_generic_context and  rohc_comp so on,for example , in  c_generic_context structs inserts the next_dest_id to identify  the destination nodes,and feedbacks is the same too, last, deciding the next_dest of comppacket and feedback to avoid the mixed question.

    second: use the way you said. Every node creates the  ROHC compressor/decompressor array,  for example ,
  Node B :
         struct rohc_comp_dest
           {
                  unit32_t rohc_comp_dest;
                 struct  rohc_comp* compressor;
             }Rohc_comp_dest;

   struct rohc_decomp_src
           {
                  unit32_t rohc_decomp_src;
                 struct  rohc_comp* compressor;
             }Rohc_decomp_src;
    
 struct Rohc_comp_dest *  rohc_comp_next_dest[10];
 struct Rohc_decomp_src*   rohc_decomp_before_src[10];
then 
          according  the  rohc_comp_dest and  rohc_decomp_src (feedback packet's dest) is the same or not , create ROHC compressor/decompressor per couple of nodes and ......

        I need you help to judgement which way is better, thanks~~

  another question ,have you  the code to realize the second way ? or above the realizing way about the second  way is ok?
 
         thanks ~~~
 
 Regards,
  Didier

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.