Lines Matching defs:rtsock_fd
2128 int rtsock_fd;
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;
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);
2251 ssz = read(rtsock_fd, &m_rtmsg, sizeof (m_rtmsg));
2254 close(rtsock_fd);