Lines Matching refs:ip
63 char *ip; /* this unit's IP address (as extracted from /etc/hosts) */
149 if (units[chassis][geoslot].ip != NULL)
150 printf("%d:%d %2d %s\n", chassis, geoslot, units[chassis][geoslot].fd, units[chassis][geoslot].ip);
227 if (units[chassis][geoslot].ip != NULL) {
228 free(units[chassis][geoslot].ip); /* get rid of the malloc'ed space that holds the IP address */
229 units[chassis][geoslot].ip = 0; /* then set the pointer to NULL */
244 if (units[chassis][geoslot].ip != NULL) {
302 u->ip = ptr2; /* and remember the whole shebang */
313 char *ip;
325 ip = u->ip;
329 u->serv_addr->sin_addr.s_addr = inet_addr(ip);
333 fprintf(stderr, "pcap can't open a socket for connecting to IOP at %s\n", ip);
337 fprintf(stderr, "pcap can't connect to IOP at %s\n", ip);
802 if (u->ip && (open_with_IOP(u, FIND))) { /* connect to the remote IOP */
847 if (u->ip != NULL) {