MT_SONAME
UIO_USERSPACE, MT_SONAME);
error = sockargs(&m, &nam, nam.sb_len, UIO_SYSSPACE, MT_SONAME);
UIO_USERSPACE, MT_SONAME);
if (m->m_type != MT_SONAME)
KASSERT(m->m_type == MT_SONAME);
if (m->m_type == MT_SONAME) {
m = m_get(M_DONTWAIT, MT_SONAME);
m = m_gethdr(M_DONTWAIT, MT_SONAME);
ktrkuser(mbuftypes[MT_SONAME], addr, len);
ktrkuser(mbuftypes[MT_SONAME], mtod(addr, void *), len);
ktrkuser(mbuftypes[MT_SONAME], sb, buflen);
if (buflen > (type == MT_SONAME ? UCHAR_MAX : PAGE_SIZE))
if (type == MT_SONAME && buflen <= 2)
case MT_SONAME:
UIO_USERSPACE, MT_SONAME);
if (m->m_type != MT_SONAME)
MGETHDR(m, M_DONTWAIT, MT_SONAME);
MGETHDR(m, M_DONTWAIT, MT_SONAME);
MGETHDR(m, M_DONTWAIT, MT_SONAME);
if (m->m_type == MT_SONAME) {
UIO_USERSPACE, MT_SONAME);
m = m_get(M_WAIT, MT_SONAME);
MT_SONAME);
{ MT_SONAME, "socket names and addresses" },