Lines Matching refs:ttl
447 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
449 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
450 nh->ttl = new_ttl; in set_ip_ttl()
494 flow_key->ip.ttl = nh->ttl; in set_ipv4()
570 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
582 u8 ttl; in set_nsh() local
610 ttl = nsh_get_ttl(nh); in set_nsh()
611 ttl = OVS_MASKED(ttl, key.base.ttl, mask.base.ttl); in set_nsh()
612 flow_key->nsh.base.ttl = ttl; in set_nsh()
613 nsh_set_flags_and_ttl(nh, flags, ttl); in set_nsh()
1255 key->ip.ttl = --nh->hop_limit; in execute_dec_ttl()
1266 if (nh->ttl <= 1) in execute_dec_ttl()
1269 old_ttl = nh->ttl--; in execute_dec_ttl()
1271 htons(nh->ttl << 8)); in execute_dec_ttl()
1272 key->ip.ttl = nh->ttl; in execute_dec_ttl()