Searched refs:mtuctl (Results 1 – 2 of 2) sorted by relevance
2221 struct ip6_mtuinfo mtuctl; in get_pathmtu() local2231 memcpy(&mtuctl, CMSG_DATA(cm), sizeof(mtuctl)); in get_pathmtu()2241 if (!IN6_ARE_ADDR_EQUAL(&mtuctl.ip6m_addr.sin6_addr, in get_pathmtu()2243 (mtuctl.ip6m_addr.sin6_scope_id && in get_pathmtu()2245 mtuctl.ip6m_addr.sin6_scope_id != in get_pathmtu()2250 pr_addr((struct sockaddr *)&mtuctl.ip6m_addr, in get_pathmtu()2251 sizeof(mtuctl.ip6m_addr))); in get_pathmtu()2260 if (mtuctl.ip6m_mtu < IPV6_MMTU) in get_pathmtu()2264 return((int)mtuctl.ip6m_mtu); in get_pathmtu()
1553 struct ip6_mtuinfo mtuctl; in ip6_notify_pmtu() local1570 mtuctl.ip6m_mtu = mtu; in ip6_notify_pmtu()1571 mtuctl.ip6m_addr = *dst; in ip6_notify_pmtu()1572 if (sa6_recoverscope(&mtuctl.ip6m_addr)) in ip6_notify_pmtu()1575 if ((m_mtu = sbcreatecontrol((caddr_t)&mtuctl, sizeof(mtuctl), in ip6_notify_pmtu()