Home | History | Annotate | Download | only in src

Lines Matching defs:ip

37 #include <netinet/ip.h>
77 #include "ip.h"
259 struct in_addr ip;
330 r->ip.s_addr = r->mask.s_addr = INADDR_NONE;
336 r->ip = rad_cvt_addr(data);
338 " IP %s\n", inet_ntoa(r->ip));
402 ip.s_addr = INADDR_ANY;
403 ncpaddr_setip4(&gw, ip);
404 ncprange_setip4host(&dest, ip);
421 ncprange_getip4addr(&dest, &ip);
422 ncprange_setip4mask(&dest, addr2mask(ip));
770 r->ip.s_addr = INADDR_ANY;
1072 /* Fetch IP, netmask from IPCP */
1078 memcpy(&ac->peer.ip.addr, peer_ip, sizeof(ac->peer.ip.addr));
1079 memcpy(&ac->peer.ip.mask, netmask, sizeof(ac->peer.ip.mask));
1165 ac->peer.ip.addr) != 0 ||
1167 ac->peer.ip.mask) != 0) {
1305 prompt_Printf(p, "\n IP: %s\n", inet_ntoa(r->ip));