Searched refs:iopt (Results 1 – 1 of 1) sorted by relevance
/external/syslinux/com32/modules/ |
D | pxechn.c | 657 int pxechn_parse_setopt(struct dhcp_option opts[], struct dhcp_option *iopt, in pxechn_parse_setopt() argument 663 if (!opts || !iopt || !(iopt->data)) in pxechn_parse_setopt() 678 iopt->len = pxechn_parse_int(iopt->data, pos, 1); in pxechn_parse_setopt() 681 iopt->len = pxechn_parse_int(iopt->data, pos, 4); in pxechn_parse_setopt() 684 iopt->len = pxechn_parse_int(iopt->data, pos, 8); in pxechn_parse_setopt() 688 iopt->len = strlen(pos); in pxechn_parse_setopt() 689 if (iopt->len > DHCP_OPT_LEN_MAX) in pxechn_parse_setopt() 690 iopt->len = DHCP_OPT_LEN_MAX; in pxechn_parse_setopt() 691 memcpy(iopt->data, pos, iopt->len); in pxechn_parse_setopt() 692 dprintf_pc_so_s("s.len=%d\trv=%d\n", iopt->len, rv); in pxechn_parse_setopt() [all …]
|