Searched refs:pi_sock (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c133 pi->pi_sock = -1;
143 if (pi->pi_sock != -1) {
144 if (poll_add(pi->pi_sock) == -1) {
166 * Initialize both the phyint data structure and the pi_sock for
186 if (pi->pi_sock < 0) {
187 pi->pi_sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
188 if (pi->pi_sock < 0) {
196 fd = pi->pi_sock;
203 (void) close(pi->pi_sock);
204 pi->pi_sock
[all...]
H A Dmain.c198 sendpacket(sin6, pi->pi_sock, packetlen, 0);
242 sendpacket(sin6, pi->pi_sock, packetlen, 0);
269 sendpacket(sin6, pi->pi_sock, packetlen, 0);
294 sendpacket(sin6, pi->pi_sock, packetlen, 0);
342 sendpacket(sin6, pi->pi_sock, packetlen, 0);
487 if (pi->pi_sock == -1 && !(pi->pi_kernel_state & PI_PRESENT)) {
496 if (pi->pi_sock != -1) {
497 if (poll_add(pi->pi_sock) == -1) {
2082 if (pollfds[i].fd == pi->pi_sock) {
H A Dndp.c121 if ((len = recvmsg(pi->pi_sock, &msg, 0)) < 0) {
495 if (ioctl(pi->pi_sock, SIOCSLIFLNKINFO, (char *)&lifr) < 0) {
1195 if (ioctl(pi->pi_sock, SIOCSLIFLNKINFO, (char *)&lifr) < 0) {
1256 if (ioctl(pi->pi_sock, SIOCLIFSETND, (char *)&lifr) < 0) {
1553 if (ioctl(pi->pi_sock, SIOCLIFGETND, (char *)&lifr) < 0) {
1583 if ((ioctl(pi->pi_sock, SIOCLIFSETND, (char *)&lifr)) < 0) {
H A Dtables.h58 int pi_sock; /* For sending and receiving */ member in struct:phyint

Completed in 106 milliseconds