Home
last modified time | relevance | path

Searched refs:vivco (Results 1 – 5 of 5) sorted by relevance

/external/dhcpcd-6.8.2/
Dif-options.h146 struct vivco { struct
200 struct vivco *vivco; member
Dif-options.c648 struct vivco *vivco; in parse_option() local
1774 vivco = realloc(ifo->vivco, sizeof(*ifo->vivco) * in parse_option()
1776 if (vivco == NULL) { in parse_option()
1780 ifo->vivco = vivco; in parse_option()
1782 vivco = &ifo->vivco[ifo->vivco_len++]; in parse_option()
1783 vivco->len = dl; in parse_option()
1784 vivco->data = (uint8_t *)np; in parse_option()
2357 struct vivco *vo;
2389 for (vo = ifo->vivco;
2393 free(ifo->vivco);
Ddhcp6.c165 const struct vivco *vivco; in dhcp6_makevendor() local
171 for (i = 0, vivco = ifo->vivco; in dhcp6_makevendor()
173 i++, vivco++) in dhcp6_makevendor()
174 len += sizeof(uint16_t) + vivco->len; in dhcp6_makevendor()
198 for (i = 0, vivco = ifo->vivco; in dhcp6_makevendor()
200 i++, vivco++) in dhcp6_makevendor()
202 u16 = htons((uint16_t)vivco->len); in dhcp6_makevendor()
205 memcpy(p, vivco->data, vivco->len); in dhcp6_makevendor()
206 p += vivco->len; in dhcp6_makevendor()
Ddhcpcd-definitions.conf200 define 124 binhex vivco
338 define6 16 binhex vivco
Ddhcp.c729 const struct vivco *vivco; in make_message() local
948 for (i = 0, vivco = ifo->vivco; in make_message()
950 i++, vivco++) in make_message()
952 len = (size_t)(p - m) + vivco->len + 1; in make_message()
955 if (vivco->len + 2 + *lp > 255) { in make_message()
962 *p++ = (uint8_t)vivco->len; in make_message()
963 memcpy(p, vivco->data, vivco->len); in make_message()
964 p += vivco->len; in make_message()
965 *lp = (uint8_t)(*lp + vivco->len + 1); in make_message()