Searched refs:ip_sockfd (Results 1 - 3 of 3) sorted by relevance

/macosx-10.9.5/ipsec-258.100.1/ipsec-tools/racoon/
H A Dipsec_interface.c109 int ip_sockfd; local
111 ip_sockfd = socket(AF_INET, SOCK_DGRAM, 0);
112 if (ip_sockfd < 0) {
119 ioctl(ip_sockfd, SIOCSIFMTU, (caddr_t) &ifr);
121 close(ip_sockfd);
142 int ip_sockfd; local
148 ip_sockfd = socket(AF_INET, SOCK_DGRAM, 0);
149 if (ip_sockfd < 0) {
169 if (ioctl(ip_sockfd, SIOCAIFADDR, (caddr_t) &ifra) < 0) {
172 close(ip_sockfd);
[all...]
/macosx-10.9.5/ppp-727.90.1/Helpers/pppd/
H A Dsys-MacOSX.c201 static int ip_sockfd; /* socket for doing interface ioctls */ variable
626 ip_sockfd = socket(AF_INET, SOCK_DGRAM, 0);
627 if (ip_sockfd < 0)
752 if (ioctl(ip_sockfd, SIOCGIFFLAGS, &ifr) >= 0
755 ioctl(ip_sockfd, SIOCSIFFLAGS, &ifr);
838 if (ip_sockfd != -1) {
839 close(ip_sockfd);
840 ip_sockfd = -1;
1653 if (ioctl(ip_sockfd, SIOCSIFMTU, (caddr_t) &ifr) < 0)
1667 if (ioctl(ip_sockfd, SIOCGIFMT
[all...]
/macosx-10.9.5/ppp-727.90.1/Controller/
H A Dscnc_utils.c1132 int ip_sockfd; local
1134 ip_sockfd = socket(AF_INET, SOCK_DGRAM, 0);
1135 if (ip_sockfd < 0) {
1143 ioctl(ip_sockfd, SIOCSIFMTU, (caddr_t) &ifr);
1145 close(ip_sockfd);
1155 int ip_sockfd; local
1157 ip_sockfd = socket(AF_INET, SOCK_DGRAM, 0);
1158 if (ip_sockfd < 0) {
1179 if (ioctl(ip_sockfd, SIOCAIFADDR, (caddr_t) &ifra) < 0) {
1182 close(ip_sockfd);
1199 int ip_sockfd; local
[all...]

Completed in 99 milliseconds