Lines Matching refs:ttl
437 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
439 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
440 nh->ttl = new_ttl; in set_ip_ttl()
484 flow_key->ip.ttl = nh->ttl; in set_ipv4()
561 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
573 u8 ttl; in set_nsh() local
601 ttl = nsh_get_ttl(nh); in set_nsh()
602 ttl = OVS_MASKED(ttl, key.base.ttl, mask.base.ttl); in set_nsh()
603 flow_key->nsh.base.ttl = ttl; in set_nsh()
604 nsh_set_flags_and_ttl(nh, flags, ttl); in set_nsh()
1218 key->ip.ttl = --nh->hop_limit; in execute_dec_ttl()
1229 if (nh->ttl <= 1) in execute_dec_ttl()
1232 old_ttl = nh->ttl--; in execute_dec_ttl()
1234 htons(nh->ttl << 8)); in execute_dec_ttl()
1235 key->ip.ttl = nh->ttl; in execute_dec_ttl()