Closed zhenglinan closed 1 year ago
@zhenglinan thanks for the PR. @wenyingd could you take a look?
I have another question: are the new actions only for nsh packets, or also for ethernet? If they are only suitable for nsh packets, it is better to change names more concrete, otherwise, it is confusing when calling "encap(ethernet)"
Please pay attention on the DCO and test/golint errors.
Update: Please add unit test on your new code, e.g., you can test the message Marshal and Unmarshal in the case, so that we could avoid runtime issues.
support nsh encap and decap @tnqn
Signed-off-by: zhenglinan zhenglinan101@163.com