Lines Matching refs:packet_index
37 int packet_index;
85 if (pc->packet_index != pc->packet_start)
89 pc->packet_index - pc->packet_start);
94 pc->packet_index = 0;
109 if (pc->packet_index != pc->packet_start)
112 pc->packet_index - pc->packet_start);
114 pc->packet_index -= pc->packet_start;
118 pc->packet_index = 0;
123 if (buf_size - buf_pos + pc->packet_index > PARSE_BUF_SIZE)
130 memcpy(pc->packet_buf + pc->packet_index, buf + buf_pos, buf_size - buf_pos);
131 pc->packet_index += buf_size - buf_pos;
134 p_end = pc->packet_buf + pc->packet_index;
160 pc->packet_index = p - pc->packet_buf;
166 pc->packet_index = p - pc->packet_buf;