Detect 802.11s mesh header

-H“ option is used to detect 802.11s mesh headers. The related code is here:

  1. ......
  2. if (ndo->ndo_Hflag && FC_TYPE(fc) == T_DATA &&
  3. DATA_FRAME_IS_QOS(FC_SUBTYPE(fc))) {
  4. if(!ND_TTEST_1(p + hdrlen)) {
  5. nd_print_trunc(ndo);
  6. return hdrlen;
  7. }
  8. meshdrlen = extract_mesh_header_length(ndo, p + hdrlen);
  9. hdrlen += meshdrlen;
  10. } else
  11. meshdrlen = 0;
  12. ......