Lines Matching refs:q
1344 struct pbuf *q;
1367 q = p;
1368 while((q != NULL) && (options_idx >= q->len)) {
1369 options_idx -= q->len;
1370 options_idx_max -= q->len;
1371 q = q->next;
1373 if (q == NULL) {
1378 options = (u8_t*)q->payload;
1380 while((q != NULL) && (options[offset] != DHCP_OPTION_END) && (offset < offset_max)) {
1387 if (offset + 1 < q->len) {
1390 len = (q->next != NULL ? ((u8_t*)q->next->payload)[0] : 0);
1392 /* LWIP_DEBUGF(DHCP_DEBUG, ("msg_offset=%"U16_F", q->len=%"U16_F, msg_offset, q->len)); */
1456 pbuf_copy_partial(q, &value, copy_len, val_offset);
1476 if (offset >= q->len) {
1477 offset -= q->len;
1478 offset_max -= q->len;
1480 q = q->next;
1481 LWIP_ASSERT("next pbuf was null", q);
1482 options = (u8_t*)q->payload;