Home | History | Annotate | Download | only in pppd

Lines Matching defs:routes

1568  * cifaddr - Clear the interface IP addresses, and delete routes
1617 int routes;
1626 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) {
1660 if (write(routes, &rtmsg, sizeof(rtmsg)) < 0) {
1664 close(routes);
1668 close(routes);
1760 int routes;
1772 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) {
1790 if (write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) < 0) {
1792 close(routes);
1796 close(routes);
1808 int routes;
1817 if ((routes = socket(PF_ROUTE, SOCK_RAW, AF_INET)) < 0) {
1823 if (write(routes, &arpmsg, arpmsg.hdr.rtm_msglen) < 0) {
1826 close(routes);
1830 close(routes);
2100 * For demand mode to work properly, we have to ignore routes