Searched refs:hlim (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/net/ipv6/ |
D | datagram.c | 622 int hlim = ipv6_hdr(skb)->hop_limit; in ip6_datagram_recv_specific_ctl() local 623 put_cmsg(msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in ip6_datagram_recv_specific_ctl() 697 int hlim = ipv6_hdr(skb)->hop_limit; in ip6_datagram_recv_specific_ctl() local 698 put_cmsg(msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); in ip6_datagram_recv_specific_ctl()
|
D | ipv6_sockglue.c | 1170 int hlim = np->mcast_hops; in do_ipv6_getsockopt() local 1171 put_cmsg(&msg, SOL_IPV6, IPV6_HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt() 1187 int hlim = np->mcast_hops; in do_ipv6_getsockopt() local 1188 put_cmsg(&msg, SOL_IPV6, IPV6_2292HOPLIMIT, sizeof(hlim), &hlim); in do_ipv6_getsockopt()
|
/Linux-v5.10/net/ipv4/ |
D | ip_sockglue.c | 1708 int hlim = inet->mc_ttl; in do_ip_getsockopt() local 1709 put_cmsg(&msg, SOL_IP, IP_TTL, sizeof(hlim), &hlim); in do_ip_getsockopt()
|