Lines Matching +defs:val +defs:service
71 static char *service = ""; /* saved service name from command line */
623 (void) poe_add_str(poep, POETT_SERVICE, service);
822 * offered services in the PADO based on the user's requested service
823 * name. If the server offered "wildcard" service, then we ask for
824 * this only if we can't find the user's requested service.
866 if (service[0] == '\0' ||
867 (tlen == strlen(service) &&
868 memcmp(service, POET_DATA(tagp), tlen) == 0)) {
895 if (haswild && service[0] == '\0')
1077 uint32_t val;
1116 * and the service. If there are multiple instances of either
1118 * non-null service.
1122 serv_len = strlen(service);
1134 service = (char *)POET_DATA(tagp);
1145 remove_eol(service, serv_len);
1163 service);
1164 (void) fprintf(fp, "%.*s\n", serv_len, service);
1176 (void) memcpy(&val, POET_DATA(tagp), 4);
1178 (unsigned long)ntohl(val));
1326 * If no service mentioned in offer, then we can't use it.
1336 * If the user has requested a specific service, then
1341 if (service[0] == '\0' || (strlen(service) == tlen &&
1342 memcmp(service, POET_DATA(tagp), tlen) == 0))
1351 logerr("%s: Discard unusable offer from %s; service "
1352 "'%s' not seen\n", myname, ehost(pap), service);
1576 "\t%s [-os#] [-v] <dev> [<service> [<server> [only]]]\n\n"
1665 /* Pick the service, if any. */
1667 service = argv[optind++];