Lines Matching refs:overload
1475 unsigned char *ret, *overload;
1481 /* look for overload option. */
1482 if (!(overload = option_find1(&mess->options[0] + sizeof(u32), ((unsigned char *)mess) + size, OPTION_OVERLOAD, 1)))
1486 if ((overload[2] & 1) &&
1491 if ((overload[2] & 2) &&
1552 unsigned char *overload;
1587 overload = find_overload(mess);
1589 if (overload && (option_uint(overload, 0, 1) & 1))
1598 if (overload && (option_uint(overload, 0, 1) & 2))
1635 /* not enough space in options area, try and use overload, if poss */
1637 unsigned char *overload;
1639 if (!(overload = find_overload(mess)) &&
1642 /* attempt to overload fname and sname areas, we've reserved space for the
1644 overload = p;
1652 if (overload)
1655 overload[2] |= 1;
1657 if (overload[2] & 1)
1668 overload[2] |= 2;
1670 if (overload[2] & 2)
2115 /* We don't want to do option-overload for BOOTP, so make the file and sname
2128 for option overload, reserve space for the overload option. */
2317 /* restore BOOTP anti-overload hack */