Hi All,
I am developing an guest-server program and which requires me to get GRE packets in NDK. I do understand, that significant amount of code changes are required as part of NDK and i am writing those. I have few questions on GRE protocol.
1. In the Pa_addIP(), i see a field called GRE_Proto field [ uint16_t greProto; /**< GRE protocol field */], so i expect the value to be 47. Is that correct?
2. Assuming that i did step1, Is PA capable of handing over GRE Packets to NDK code? [please note, i will be writing the code for doing parsing/processing/forwarding in NDK]
3. can i set two routes/rules, does this work [given below ]
route1 : - MAC1 ==> IP1 ==> Port1 ==> handover to NDK [regular TCP/UDP packets]
route2 : - MAC1 ==> IP1+GRE(47) ==>Port1 ==> handover to NDK. [GRE packets, i will be writing the code for this Rx Path].
my expectation is that TCP/UDP packets will take a different flow and GRE packets should take a different flow by doing above. Let me know the feasibility of GRE Packets reception by above setting of route2/rules.
Thanks
RC Reddy