Home | History | Annotate | Download | only in rp-pppoe

Lines Matching defs:cursor

99     unsigned char *cursor = packet.payload;
128 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE);
129 cursor += sizeof(pid) + TAG_HDR_SIZE;
140 memcpy(cursor, &err, elen + TAG_HDR_SIZE);
141 cursor += elen + TAG_HDR_SIZE;
147 CHECK_ROOM(cursor, packet.payload,
149 memcpy(cursor, &conn->cookie, ntohs(conn->cookie.length) + TAG_HDR_SIZE);
150 cursor += ntohs(conn->cookie.length) + TAG_HDR_SIZE;
155 CHECK_ROOM(cursor, packet.payload,
157 memcpy(cursor, &conn->relayId, ntohs(conn->relayId.length) + TAG_HDR_SIZE);
158 cursor += ntohs(conn->relayId.length) + TAG_HDR_SIZE;