Lines Matching refs:bootp_so
238 static struct socket *bootp_so; variable
508 error = sosetopt(bootp_so, &sopt); in bootpc_call()
520 error = sosetopt(bootp_so, &sopt); in bootpc_call()
533 error = sosetopt(bootp_so, &sopt); in bootpc_call()
543 error = sobind(bootp_so, (struct sockaddr *)sin, td); in bootpc_call()
640 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra, in bootpc_call()
646 error = sosend(bootp_so, (struct sockaddr *) &dst, in bootpc_call()
650 error, (int )bootp_so->so_state); in bootpc_call()
654 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra, in bootpc_call()
694 error = soreceive(bootp_so, NULL, &auio, in bootpc_call()
864 error = ifioctl(bootp_so, SIOCGIFFLAGS, (caddr_t)ifr, td); in bootpc_fakeup_interface()
868 error = ifioctl(bootp_so, SIOCSIFFLAGS, (caddr_t)ifr, td); in bootpc_fakeup_interface()
885 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra, td); in bootpc_fakeup_interface()
900 error = ifioctl(bootp_so, SIOCGIFFLAGS, (caddr_t)ifr, td); in bootpc_shutdown_interface()
904 error = ifioctl(bootp_so, SIOCSIFFLAGS, (caddr_t)ifr, td); in bootpc_shutdown_interface()
910 error = ifioctl(bootp_so, SIOCDIFADDR, (caddr_t) ifr, td); in bootpc_shutdown_interface()
944 error = ifioctl(bootp_so, SIOCSIFMTU, (caddr_t) ifr, td); in bootpc_adjust_interface()
956 error = ifioctl(bootp_so, SIOCDIFADDR, (caddr_t) ifr, td); in bootpc_adjust_interface()
966 error = ifioctl(bootp_so, SIOCAIFADDR, (caddr_t)ifra, td); in bootpc_adjust_interface()
1660 error = socreate(AF_INET, &bootp_so, SOCK_DGRAM, 0, td->td_ucred, td); in bootpc_init()
1689 soclose(bootp_so); in bootpc_init()