How to access TTL in Batman-adv common header?

I want to access the time-to-live (TTL) of each packet (or flow). According to, it is located in the common header, but I was not able to find the command to retrieve the TTL.

  • Batman-adv common header
    Compatibility version, packet type, and time-to-live

Could you please show me how to access the TTL information? Thank you very much in advance!