Home
last modified time | relevance | path

Searched refs:new_hl (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/net/netfilter/
Dxt_HL.c70 int new_hl; in hl_tg6() local
79 new_hl = info->hop_limit; in hl_tg6()
82 new_hl = ip6h->hop_limit + info->hop_limit; in hl_tg6()
83 if (new_hl > 255) in hl_tg6()
84 new_hl = 255; in hl_tg6()
87 new_hl = ip6h->hop_limit - info->hop_limit; in hl_tg6()
88 if (new_hl < 0) in hl_tg6()
89 new_hl = 0; in hl_tg6()
92 new_hl = ip6h->hop_limit; in hl_tg6()
96 ip6h->hop_limit = new_hl; in hl_tg6()