Lines Matching refs:ttl
470 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
472 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
473 nh->ttl = new_ttl; in set_ip_ttl()
517 flow_key->ip.ttl = nh->ttl; in set_ipv4()
593 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
605 u8 ttl; in set_nsh() local
633 ttl = nsh_get_ttl(nh); in set_nsh()
634 ttl = OVS_MASKED(ttl, key.base.ttl, mask.base.ttl); in set_nsh()
635 flow_key->nsh.base.ttl = ttl; in set_nsh()
636 nsh_set_flags_and_ttl(nh, flags, ttl); in set_nsh()
1254 key->ip.ttl = --nh->hop_limit; in execute_dec_ttl()
1265 if (nh->ttl <= 1) in execute_dec_ttl()
1268 old_ttl = nh->ttl--; in execute_dec_ttl()
1270 htons(nh->ttl << 8)); in execute_dec_ttl()
1271 key->ip.ttl = nh->ttl; in execute_dec_ttl()