Lines Matching refs:ttl
472 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
474 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8)); in set_ip_ttl()
475 nh->ttl = new_ttl; in set_ip_ttl()
519 flow_key->ip.ttl = nh->ttl; in set_ipv4()
595 flow_key->ip.ttl = nh->hop_limit; in set_ipv6()
607 u8 ttl; in set_nsh() local
635 ttl = nsh_get_ttl(nh); in set_nsh()
636 ttl = OVS_MASKED(ttl, key.base.ttl, mask.base.ttl); in set_nsh()
637 flow_key->nsh.base.ttl = ttl; in set_nsh()
638 nsh_set_flags_and_ttl(nh, flags, ttl); in set_nsh()
1273 key->ip.ttl = --nh->hop_limit; in execute_dec_ttl()
1284 if (nh->ttl <= 1) in execute_dec_ttl()
1287 old_ttl = nh->ttl--; in execute_dec_ttl()
1289 htons(nh->ttl << 8)); in execute_dec_ttl()
1290 key->ip.ttl = nh->ttl; in execute_dec_ttl()