Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:vendor

79 	{"vendor",          required_argument, NULL, 'v'},
469 syslog(LOG_ERR, "invalid vendor format");
473 /* If vendor starts with , then it is not encapsulated */
476 s = parse_string((char *)ifo->vendor + 1,
479 syslog(LOG_ERR, "vendor: %m");
482 ifo->vendor[0] = (uint8_t)s;
487 /* Encapsulated vendor options */
490 ifo->vendor[0] = 0;
497 syslog(LOG_ERR, "vendor option should be between"
501 s = VENDOR_MAX_LEN - ifo->vendor[0] - 2;
507 memcpy(ifo->vendor + ifo->vendor[0] + 3,
510 s = parse_string((char *)ifo->vendor +
511 ifo->vendor[0] + 3, s, arg);
514 syslog(LOG_ERR, "vendor: %m");
518 ifo->vendor[ifo->vendor[0] + 1] = i;
519 ifo->vendor[ifo->vendor[0] + 2] = s;
520 ifo->vendor[0] += s + 2;
880 if (ifo && ifo->vendor[0] && !(ifo->options & DHCPCD_VENDORRAW)) {
881 ifo->vendor[0]++;
882 ifo->vendor[ifo->vendor[0]] = DHO_END;
900 if (r == 1 && ifo->vendor[0] && !(ifo->options & DHCPCD_VENDORRAW)) {
901 ifo->vendor[0]++;
902 ifo->vendor[ifo->vendor[0]] = DHO_END;