Lines Matching defs:new_ttl
456 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask)
458 new_ttl = OVS_MASKED(nh->hop_limit, new_ttl, mask);
462 (__force __wsum)(new_ttl << 8));
463 nh->hop_limit = new_ttl;
466 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl,
469 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask);
471 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8));
472 nh->ttl = new_ttl;