Home
last modified time | relevance | path

Searched refs:rtsock (Results 1 – 3 of 3) sorted by relevance

/external/ipsec-tools/src/racoon/
Dsession.c225 if (lcconf->rtsock >= 0 && FD_ISSET(lcconf->rtsock, &rfds)) { in session()
294 if (lcconf->rtsock >= 0) { in initfds()
295 if (lcconf->rtsock >= FD_SETSIZE) { in initfds()
299 FD_SET(lcconf->rtsock, &mask0); in initfds()
300 nfds = (nfds > lcconf->rtsock ? nfds : lcconf->rtsock); in initfds()
Dgrabmyaddr.c628 len = read(lcconf->rtsock, msg, sizeof(msg)); in update_myaddrs()
645 len = read(lcconf->rtsock, msg, sizeof(msg)); in update_myaddrs()
661 close(lcconf->rtsock); in update_myaddrs()
662 lcconf->rtsock = -1; in update_myaddrs()
827 lcconf->rtsock = socket(PF_ROUTE, SOCK_RAW, PF_UNSPEC); in initmyaddr()
828 if (lcconf->rtsock < 0) { in initmyaddr()
844 if (bind(lcconf->rtsock, (struct sockaddr*)&nl, sizeof(nl)) < 0) { in initmyaddr()
851 if (getsockname(lcconf->rtsock, (struct sockaddr*)&nl, &addr_len) < 0) { in initmyaddr()
Dlocalconf.h82 int rtsock; /* routing socket */ member