TTL values decremented by 1 when it passes through network layer device but not decremented in network layer devices or hosts inside a LAN because inside LAN packet is forwarded through data link layer .It is not always necessary that TTL value decrements at every network layer device.TTL is also used to identify the infinite loops and number of hops in a network.