Lines Matching refs:ttl
436 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
438 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
439 nh->ttl = new_ttl; in set_ip_ttl()
483 flow_key->ip.ttl = nh->ttl; in set_ipv4()
560 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
572 u8 ttl; in set_nsh() local
600 ttl = nsh_get_ttl(nh); in set_nsh()
601 ttl = OVS_MASKED(ttl, key.base.ttl, mask.base.ttl); in set_nsh()
602 flow_key->nsh.base.ttl = ttl; in set_nsh()
603 nsh_set_flags_and_ttl(nh, flags, ttl); in set_nsh()
1214 key->ip.ttl = --nh->hop_limit; in execute_dec_ttl()
1225 if (nh->ttl <= 1) in execute_dec_ttl()
1228 old_ttl = nh->ttl--; in execute_dec_ttl()
1230 htons(nh->ttl << 8)); in execute_dec_ttl()
1231 key->ip.ttl = nh->ttl; in execute_dec_ttl()