Lines Matching refs:upcall_fd
90 * List of lower links of the OVS ports, over which the upcall_fd(s)
114 int upcall_fd;
142 int upcall_fd; /* PF_PACKET fd for MISS event */
597 ovs_assert(lowerlink->handlers[i].upcall_fd != -1);
626 ovs_assert(lowerlink->handlers[i].upcall_fd != -1);
844 port->upcall_fd = -1;
2334 if (lowerlink->handlers[i].upcall_fd != -1)
2335 (void) close(lowerlink->handlers[i].upcall_fd);
2349 if (port->upcall_fd == -1)
2354 (void) setsockopt(port->upcall_fd, SOL_PACKET,
2356 port->upcall_fd = -1;
2431 fd = lowerlink->handlers[idx].upcall_fd;
2435 "%d upcall_fd %d", port->linkname, port->port_no, pf_port_no, fd);
2453 port->upcall_fd = fd;
2456 /* Inform the event_rfd that the port->upcall_fd has been changed */
2578 lowerlink->handlers[i].upcall_fd = -1;
2582 lowerlink->physname, &(lowerlink->handlers[i].upcall_fd));
2591 lowerlink->handlers[i].upcall_fd);
2677 /* Inform the event_rfd that all ports' upcall_fd has been changed */
2813 if ((fd = lowerlink->handlers[i].upcall_fd) == -1)
2944 if ((fd = lowerlink->handlers[i].upcall_fd) != -1) {
2968 if ((fd = lowerlink->handlers[i].upcall_fd) != -1) {