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.c649 len = read(lcconf->rtsock, msg, sizeof(msg)); in update_myaddrs()
666 len = read(lcconf->rtsock, msg, sizeof(msg)); in update_myaddrs()
682 close(lcconf->rtsock); in update_myaddrs()
683 lcconf->rtsock = -1; in update_myaddrs()
848 lcconf->rtsock = socket(PF_ROUTE, SOCK_RAW, PF_UNSPEC); in initmyaddr()
849 if (lcconf->rtsock < 0) { in initmyaddr()
865 if (bind(lcconf->rtsock, (struct sockaddr*)&nl, sizeof(nl)) < 0) { in initmyaddr()
872 if (getsockname(lcconf->rtsock, (struct sockaddr*)&nl, &addr_len) < 0) { in initmyaddr()
Dlocalconf.h82 int rtsock; /* routing socket */ member