Lines Matching refs:pf_socket
1768 socket_t pf_socket) in utun_detach_ip() argument
1780 result = sock_ioctl(pf_socket, SIOCPROTODETACH, &ifr); in utun_detach_ip()
1788 result = sock_ioctl(pf_socket, SIOCPROTODETACH_IN6, &ifr6); in utun_detach_ip()
1798 socket_t pf_socket) in utun_remove_address() argument
1813 result = sock_ioctl(pf_socket, SIOCDIFADDR, &ifr); in utun_remove_address()
1830 result = sock_ioctl(pf_socket, SIOCDIFADDR_IN6, &ifr6); in utun_remove_address()
1844 socket_t pf_socket = NULL; in utun_cleanup_family() local
1854 result = sock_socket(protocol, SOCK_DGRAM, 0, NULL, NULL, &pf_socket); in utun_cleanup_family()
1864 sock_setpriv(pf_socket, 1); in utun_cleanup_family()
1866 result = utun_detach_ip(interface, protocol, pf_socket); in utun_cleanup_family()
1889 utun_remove_address(interface, protocol, addresses[i], pf_socket); in utun_cleanup_family()
1897 result = utun_detach_ip(interface, protocol, pf_socket); in utun_cleanup_family()
1903 if (pf_socket != NULL) { in utun_cleanup_family()
1904 sock_close(pf_socket); in utun_cleanup_family()