Searched refs:rtsock (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 67 i_ipadm_rtioctl4(int rtsock, argument 129 cc = write(rtsock, &w, w.w_rtm.rtm_msglen); 146 i_ipadm_rtioctl6(int rtsock, argument 205 cc = write(rtsock, &w, w.w_rtm.rtm_msglen); 313 i_ipadm_create_ngz_route(int rtsock, char *link, uint8_t *buf, size_t buflen) argument 321 if (rtsock == -1) 330 i_ipadm_rtioctl6(rtsock, RTM_ADD, ipv6_all_zeros, 334 i_ipadm_rtioctl4(rtsock, RTM_ADD, INADDR_ANY, 380 int rtsock = iph->iph_rtsock; local 429 i_ipadm_create_ngz_route(rtsock, lin [all...] |
H A D | libipadm.c | 235 * Failure to open rtsock is ignored as this is 341 int rtsock) 353 fds[0].fd = rtsock; 369 if (read(rtsock, &msg, sizeof (msg)) <= 0) 402 int rtsock = -1; local 417 rtsock = socket(PF_ROUTE, SOCK_RAW, af); 426 if (rtsock != -1) 427 (void) close(rtsock); 430 if (rtsock == -1) { 434 ret = i_ipadm_dad_wait(iph, lifname, af, rtsock); 340 i_ipadm_dad_wait(ipadm_handle_t handle, const char *lifname, sa_family_t af, int rtsock) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | 6to4relay.c | 105 int rtsock; local 116 if ((rtsock = socket(AF_ROUTE, SOCK_RAW, AF_INET)) < 0) { 147 rlen = write(rtsock, &rt_msg, rt_msg.rt_hdr.rtm_msglen); 158 (void) close(rtsock);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | defs.h | 80 extern int rtsock;
|
H A D | main.c | 89 int rtsock = -1; /* Routing socket */ variable 1580 process_rtsock(int rtsock) argument 1595 /* Empty the rtsock and coealesce all the work that we have */ 1597 n = read(rtsock, msg, sizeof (msg)); 2040 rtsock = setup_rtsock(); 2061 if (pollfds[i].fd == rtsock) { 2062 process_rtsock(rtsock);
|
H A D | tables.c | 2247 rlen = write(rtsock, rt_msg, rt_msg->rtm_msglen); 2291 rlen = write(rtsock, rt_msg, rt_msg->rtm_msglen);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | tables.c | 57 static int rtsock; /* Routing socket */ variable 224 rlen = write(rtsock, rt_msg, RIPNG_RTM_MSGLEN); 633 rtsock = socket(PF_ROUTE, SOCK_RAW, AF_INET6); 634 if (rtsock < 0) { 640 if (setsockopt(rtsock, SOL_SOCKET, SO_USELOOPBACK, (char *)&off,
|
Completed in 71 milliseconds