Lines Matching defs:new_ttl
459 static void set_ipv6_ttl(struct sk_buff *skb, struct ipv6hdr *nh, u8 new_ttl, u8 mask)
461 new_ttl = OVS_MASKED(nh->hop_limit, new_ttl, mask);
465 (__force __wsum)(new_ttl << 8));
466 nh->hop_limit = new_ttl;
469 static void set_ip_ttl(struct sk_buff *skb, struct iphdr *nh, u8 new_ttl,
472 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask);
474 csum_replace2(&nh->check, htons(nh->ttl << 8), htons(new_ttl << 8));
475 nh->ttl = new_ttl;