Lines Matching refs:tiptr

634 	TIUSER *tiptr;
646 FREAD|FWRITE, &tiptr, CRED())) != 0) {
653 if (rc = revarp_myaddr(tiptr)) {
655 (void) t_kclose(tiptr, 0);
670 if (rc = ifioctl(tiptr, SIOCGIFADDR, &req)) {
675 (void) t_kclose(tiptr, 0);
791 if (rc = rtioctl(tiptr, SIOCADDRT, &rtentry)) {
805 (void) t_kclose(tiptr, 0);
964 TIUSER *tiptr;
1097 FREAD|FWRITE, &tiptr, CRED())) == 0) {
1098 if (rc = dlifconfig(tiptr, &pl->pkt->yiaddr, &subnet,
1104 (void) t_kclose(tiptr, 0);
1142 if (rc = rtioctl(tiptr, SIOCADDRT,
1159 (void) t_kclose(tiptr, 0);
1301 dlifconfig(TIUSER *tiptr, struct in_addr *myIPaddr, struct in_addr *mymask,
1319 if (rc = ifioctl(tiptr, SIOCSIFADDR, &sbuf)) {
1330 if (rc = ifioctl(tiptr, SIOCSIFBRDADDR, &sbuf)) {
1341 if (rc = ifioctl(tiptr, SIOCSIFNETMASK, &sbuf)) {
1350 if (rc = setifflags(tiptr, IFF_UP | flags)) {
1407 * transport defined by `tiptr'.
1427 rtioctl(TIUSER *tiptr, int cmd, struct rtentry *rtentry)
1438 vp = tiptr->fp->f_vnode;
1447 * by `tiptr'.
1454 ifioctl(TIUSER *tiptr, int cmd, struct netbuf *nbuf)
1472 vp = tiptr->fp->f_vnode;
1494 setifflags(TIUSER *tiptr, uint_t value)
1505 if (rc = kstr_ioctl(tiptr->fp->f_vnode, I_STR, (intptr_t)&iocb))
1510 return (kstr_ioctl(tiptr->fp->f_vnode, I_STR, (intptr_t)&iocb));
1524 revarp_myaddr(TIUSER *tiptr)
1580 if (rc = ifioctl(tiptr, SIOCSIFADDR, &sbuf)) {
1589 if (rc = setifflags(tiptr, IFF_UP)) {
2129 TIUSER *tiptr;
2213 FREAD|FWRITE, &tiptr, CRED())) != 0) {
2218 if ((rc = dlifconfig(tiptr, &my_ip, &my_netmask, &my_broadcast,
2221 (void) t_kclose(tiptr, 0);
2240 if ((rc = rtioctl(tiptr, SIOCADDRT, &rtentry)) != 0) {
2243 (void) t_kclose(tiptr, 0);
2248 (void) t_kclose(tiptr, 0);