Home
last modified time | relevance | path

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

/dragonfly/sys/net/tun/
HDif_tun.c673 struct tuninfo *tunp; in tunioctl() local
678 tunp = (struct tuninfo *)data; in tunioctl()
679 if (ifp->if_type != tunp->type) in tunioctl()
681 if (tunp->mtu < IF_MINMTU) in tunioctl()
683 ifp->if_mtu = tunp->mtu; in tunioctl()
684 ifp->if_baudrate = tunp->baudrate; in tunioctl()
688 tunp = (struct tuninfo *)data; in tunioctl()
689 tunp->mtu = ifp->if_mtu; in tunioctl()
690 tunp->type = ifp->if_type; in tunioctl()
691 tunp->baudrate = ifp->if_baudrate; in tunioctl()