Searched defs:rtsock_fd (Results 1 - 2 of 2) sorted by relevance

/solaris-userland/components/openvswitch/files/lib/
H A Droute-table-solaris.c71 int rtsock_fd; local
80 rtsock_fd = socket(PF_ROUTE, SOCK_RAW, 0);
81 if (rtsock_fd == -1)
107 if ((rlen = write(rtsock_fd, (char *)&m_rtmsg, l)) < l) {
108 close(rtsock_fd);
113 ssz = read(rtsock_fd, &m_rtmsg, sizeof (m_rtmsg));
115 close(rtsock_fd);
H A Dnetdev-solaris.c2128 int rtsock_fd; local
2134 rtsock_fd = socket(PF_ROUTE, SOCK_RAW, 0);
2135 if (rtsock_fd == -1) {
2169 if (write(rtsock_fd, (char *)&m_rtmsg, l) != l) {
2176 close(rtsock_fd);
2194 int rtsock_fd; local
2216 rtsock_fd = socket(PF_ROUTE, SOCK_RAW, 0);
2217 if (rtsock_fd == -1) {
2240 if ((rlen = write(rtsock_fd, (char *)&m_rtmsg, l)) < l) {
2243 close(rtsock_fd);
[all...]

Completed in 19 milliseconds