Home
last modified time | relevance | path

Searched refs:mtuctl (Results 1 – 2 of 2) sorted by relevance

/netbsd/sys/netinet6/
H A Dip6_input.c1279 struct ip6_mtuinfo mtuctl; in ip6_notify_pmtu() local
1288 memset(&mtuctl, 0, sizeof(mtuctl)); /* zero-clear for safety */ in ip6_notify_pmtu()
1289 mtuctl.ip6m_mtu = *mtu; in ip6_notify_pmtu()
1290 mtuctl.ip6m_addr = *dst; in ip6_notify_pmtu()
1291 if (sa6_recoverscope(&mtuctl.ip6m_addr)) in ip6_notify_pmtu()
1294 if ((m_mtu = sbcreatecontrol(&mtuctl, sizeof(mtuctl), in ip6_notify_pmtu()
/netbsd/sbin/ping6/
H A Dping6.c1907 struct ip6_mtuinfo *mtuctl = NULL; in get_pathmtu() local
1917 mtuctl = (struct ip6_mtuinfo *)CMSG_DATA(cm); in get_pathmtu()
1927 if (!IN6_ARE_ADDR_EQUAL(&mtuctl->ip6m_addr.sin6_addr, in get_pathmtu()
1929 (mtuctl->ip6m_addr.sin6_scope_id && in get_pathmtu()
1931 mtuctl->ip6m_addr.sin6_scope_id != in get_pathmtu()
1936 pr_addr((struct sockaddr *)&mtuctl->ip6m_addr, in get_pathmtu()
1937 sizeof(mtuctl->ip6m_addr))); in get_pathmtu()
1946 if (mtuctl->ip6m_mtu < IPV6_MMTU) in get_pathmtu()
1950 return((int)mtuctl->ip6m_mtu); in get_pathmtu()