| /Zephyr-latest/subsys/net/ip/ | 
| D | 6lo.c | 837 static inline uint8_t *uncompress_tfl(uint16_t iphc, uint8_t *cursor,  in uncompress_tfl()  argument847 		tcl = *cursor;  in uncompress_tfl()
 848 		cursor++;  in uncompress_tfl()
 852 		ipv6->tcflow = ((tcl & 0x0F) << 4) | (*cursor & 0x0F);  in uncompress_tfl()
 853 		cursor++;  in uncompress_tfl()
 855 		memmove(&ipv6->flow, cursor, sizeof(ipv6->flow));  in uncompress_tfl()
 856 		cursor += sizeof(ipv6->flow);  in uncompress_tfl()
 861 		tcl = ((*cursor & 0xF0) >> 6);  in uncompress_tfl()
 862 		ipv6->tcflow = ((tcl & 0x0F) << 4) | (*cursor & 0x0F);  in uncompress_tfl()
 863 		cursor++;  in uncompress_tfl()
 [all …]
 
 | 
| D | net_pkt.c | 1760 	pkt->cursor.buf = pkt->buffer;1761 	if (pkt->cursor.buf) {
 1762 		pkt->cursor.pos = pkt->cursor.buf->data;
 1764 		pkt->cursor.pos = NULL;
 1770 	struct net_pkt_cursor *cursor = &pkt->cursor;  local
 1772 	cursor->buf = cursor->buf->frags;
 1773 	while (cursor->buf) {
 1775 			write ? net_buf_max_len(cursor->buf) : cursor->buf->len;
 1778 			cursor->buf = cursor->buf->frags;
 1784 	if (cursor->buf) {
 [all …]
 
 | 
| D | Kconfig.debug | 37 	bool "Reduce r/w fragility by resetting the packet cursor when freed"41 	  reset the pkt cursor when it's freed, so any subsequent r/w operations
 
 | 
| D | utils.c | 642 	struct net_pkt_cursor *cur = &pkt->cursor;  in pkt_calc_chksum()711 	sum = calc_chksum(sum, pkt->cursor.pos, len);  in net_calc_chksum()
 
 | 
| /Zephyr-latest/samples/drivers/led/led_strip/src/ | 
| D | main.c | 58 		for (size_t cursor = 0; cursor < ARRAY_SIZE(pixels); cursor++) {  in main()  local60 			memcpy(&pixels[cursor], &colors[color], sizeof(struct led_rgb));  in main()
 
 | 
| /Zephyr-latest/subsys/net/lib/lwm2m/ | 
| D | lwm2m_pull_context.c | 99 	char *cursor;  in transfer_request()  local129 		cursor = COAP2HTTP_PROXY_URI_PATH;  in transfer_request()
 131 		cursor = COAP2COAP_PROXY_URI_PATH;  in transfer_request()
 138 	ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, cursor, strlen(cursor));  in transfer_request()
 140 		LOG_ERR("Error adding URI_PATH '%s'", cursor);  in transfer_request()
 155 	cursor = context.uri + off;  in transfer_request()
 158 	while (len > 0 && (next_slash = strchr(cursor, '/')) != NULL) {  in transfer_request()
 159 		if (next_slash != cursor) {  in transfer_request()
 160 			ret = coap_packet_append_option(&msg->cpkt, COAP_OPTION_URI_PATH, cursor,  in transfer_request()
 161 							next_slash - cursor);  in transfer_request()
 [all …]
 
 | 
| /Zephyr-latest/samples/net/sockets/http_server/src/ | 
| D | main.c | 179 	static size_t cursor;  in led_handler()  local184 		cursor = 0;  in led_handler()
 188 	if (request_ctx->data_len + cursor > sizeof(post_payload_buf)) {  in led_handler()
 189 		cursor = 0;  in led_handler()
 197 	memcpy(post_payload_buf + cursor, request_ctx->data, request_ctx->data_len);  in led_handler()
 198 	cursor += request_ctx->data_len;  in led_handler()
 201 		parse_led_post(post_payload_buf, cursor);  in led_handler()
 202 		cursor = 0;  in led_handler()
 
 | 
| /Zephyr-latest/doc/_static/css/ | 
| D | gcs.css | 40 .gsc-results .gsc-cursor-box .gsc-cursor-page,41 .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
 87   cursor: pointer;
 
 | 
| /Zephyr-latest/subsys/net/l2/ppp/ | 
| D | options.c | 30 	struct net_pkt_cursor cursor;  in ppp_parse_options()  local56 		net_pkt_cursor_backup(pkt, &cursor);  in ppp_parse_options()
 67 		net_pkt_cursor_restore(pkt, &cursor);  in ppp_parse_options()
 180 	struct net_pkt_cursor cursor;  in ppp_config_info_req()  local
 183 	net_pkt_cursor_backup(pkt, &cursor);  in ppp_config_info_req()
 196 	net_pkt_cursor_restore(pkt, &cursor);  in ppp_config_info_req()
 209 	net_pkt_cursor_restore(pkt, &cursor);  in ppp_config_info_req()
 
 | 
| /Zephyr-latest/subsys/net/lib/http/ | 
| D | http_server_http2.c | 675 	char *ptr = client->cursor;  in dynamic_post_put_req_v2()697 		client->cursor += data_len;  in dynamic_post_put_req_v2()
 848 	client->cursor += sizeof(HTTP2_PREFACE) - 1;  in enter_http2_request()
 932 		client->header_capture_ctx.cursor = 0;  in enter_http_frame_headers_state()
 991 	ret = parse_http_frame_header(client, client->cursor, client->data_len);  in handle_http_frame_header()
 996 	client->cursor += HTTP2_FRAME_HEADER_SIZE;  in handle_http_frame_header()
 1147 		client->cursor += client->data_len;  in handle_http1_to_http2_upgrade()
 1170 	frame->padding_len = *client->cursor;  in parse_http_frame_padded_field()
 1171 	client->cursor++;  in parse_http_frame_padded_field()
 1204 	client->cursor += HTTP2_HEADERS_FRAME_PRIORITY_LEN;  in parse_http_frame_priority_field()
 [all …]
 
 | 
| D | http_server_http1.c | 388 	char *ptr = client->cursor;  in dynamic_post_put_req()659 	char *dest = &ctx->buffer[ctx->cursor];  in check_user_request_headers()
 660 	size_t remaining = sizeof(ctx->buffer) - ctx->cursor;  in check_user_request_headers()
 684 			ctx->cursor += (header_len + 1);  in check_user_request_headers()
 749 	remaining = sizeof(ctx->buffer) - ctx->cursor;  in populate_user_request_header()
 758 	dest = &ctx->buffer[ctx->cursor];  in populate_user_request_header()
 760 	ctx->cursor += (value_len + 1);  in populate_user_request_header()
 921 				     client->cursor, client->data_len);  in handle_http1_request()
 936 		client->cursor += parsed;  in handle_http1_request()
 958 		client->cursor += frag_headers_len;  in handle_http1_request()
 [all …]
 
 | 
| D | http_server_core.c | 448 		client->header_capture_ctx.cursor = 0;  in handle_http_preface()452 	if (strncmp(client->cursor, HTTP2_PREFACE, sizeof(HTTP2_PREFACE) - 1) != 0) {  in handle_http_preface()
 481 	client->cursor = client->buffer;  in handle_http_request()
 536 		memmove(client->buffer, client->cursor, client->data_len);  in handle_http_request()
 
 | 
| /Zephyr-latest/tests/net/lib/mdns_responder/src/ | 
| D | main.c | 368 	res = net_buf_data_match(pkt->cursor.buf, pkt->cursor.pos - pkt->cursor.buf->data,  in check_service_type_enum_resp()379 	res = net_buf_data_match(pkt->cursor.buf, pkt->cursor.pos - pkt->cursor.buf->data, payload,  in check_service_type_enum_resp()
 
 | 
| /Zephyr-latest/doc/connectivity/networking/api/ | 
| D | net_pkt.rst | 182 Data movement into the buffer is made through a cursor maintained184 cursor. Note as well that read or write functions are strict on their
 198 net_pkt is on write mode, and its cursor points to the beginning of
 228 point, it will fail because there is nothing to read at the cursor
 230 to read what has been already written by resetting the cursor of the
 238 This will reset the cursor of the pkt to the beginning of the buffer
 239 and then let you read the actual 15 bytes present. The cursor is then
 253 and its cursor reset:
 276 If you want to place the cursor at a known position use the function
 334 At this point, the cursor of the net_pkt points at the beginning of
 [all …]
 
 | 
| /Zephyr-latest/drivers/auxdisplay/ | 
| D | auxdisplay_jhd1313.c | 67 	bool cursor;  member156 	if (data->cursor) {  in auxdisplay_jhd1313_update_display_state()
 177 	data->cursor = enabled;  in auxdisplay_jhd1313_cursor_set_enabled()
 367 		.cursor = false,								\
 
 | 
| D | auxdisplay_pt6314.c | 57 	bool cursor;  member96 	inst = (data->power ? PT6314_DO_DISPLAY_ON : 0) | (data->cursor ? PT6314_DO_CURSOR_ON : 0) |  in auxdisplay_pt6314_display_on_off()
 147 	data->cursor = enable;  in auxdisplay_pt6314_cursor_set_enabled()
 322 		.cursor = false,                                                                   \
 
 | 
| D | auxdisplay_serlcd.c | 73 	bool cursor;  member131 	if (data->cursor) {  in auxdisplay_serlcd_send_display_state()
 163 	data->cursor = enable;  in auxdisplay_serlcd_cursor_set_enabled()
 
 | 
| /Zephyr-latest/include/zephyr/net/http/ | 
| D | server.h | 391 	size_t cursor;  member420 	unsigned char *cursor;  member
 
 | 
| /Zephyr-latest/tests/net/dhcpv4/server/src/ | 
| D | main.c | 410 	struct net_pkt_cursor cursor;  in verify_no_option()  local412 	net_pkt_cursor_backup(pkt, &cursor);  in verify_no_option()
 432 	net_pkt_cursor_restore(pkt, &cursor);  in verify_no_option()
 438 	struct net_pkt_cursor cursor;  in verify_option()  local
 440 	net_pkt_cursor_backup(pkt, &cursor);  in verify_option()
 463 			net_pkt_cursor_restore(pkt, &cursor);  in verify_option()
 
 | 
| /Zephyr-latest/tests/net/net_pkt/src/ | 
| D | main.c | 95 	if (!pkt || !pkt->cursor.buf || !pkt->cursor.pos) {  in pkt_print_cursor()99 		       pkt->cursor.pos - pkt->cursor.buf->data,  in pkt_print_cursor()
 100 		       pkt->cursor.pos, pkt->cursor.buf,  in pkt_print_cursor()
 101 		       pkt->cursor.buf->data);  in pkt_print_cursor()
 
 | 
| /Zephyr-latest/doc/services/shell/ | 
| D | index.rst | 27 * Support for ANSI escape codes: ``VT100`` and ``ESC[n~`` for cursor control625      - Moves the cursor to the beginning of the line.
 627      - Moves the cursor backward one character.
 632      - Deletes the character under the cursor.
 634      - Moves the cursor to the end of the line.
 636      - Moves the cursor forward one character.
 638      - Deletes from the cursor to the end of the line.
 649      - Removes the word or part of the word to the left of the cursor. Words
 652      - Moves the cursor backward one word.
 654      - Moves the cursor forward one word.
 [all …]
 
 | 
| /Zephyr-latest/doc/_extensions/zephyr/domain/static/css/ | 
| D | board-catalog.css | 104   cursor: pointer;117   cursor: pointer;
 
 | 
| /Zephyr-latest/include/zephyr/net/ | 
| D | net_pkt.h | 108 	struct net_pkt_cursor cursor;  member2173 	backup->buf = pkt->cursor.buf;  in net_pkt_cursor_backup()
 2174 	backup->pos = pkt->cursor.pos;  in net_pkt_cursor_backup()
 2186 	pkt->cursor.buf = backup->buf;  in net_pkt_cursor_restore()
 2187 	pkt->cursor.pos = backup->pos;  in net_pkt_cursor_restore()
 2199 	return pkt->cursor.pos;  in net_pkt_cursor_get_pos()
 
 | 
| /Zephyr-latest/doc/_doxygen/ | 
| D | doxygen-awesome-sidebar-only.css | 82         cursor: default;
 | 
| /Zephyr-latest/tests/net/lib/http_server/core/src/ | 
| D | main.c | 2455 	ctx_client1.cursor = ctx_client1.buffer;  in ZTEST()2458 	ctx_client2.cursor = ctx_client2.buffer;  in ZTEST()
 2462 	int parser1 = parse_http_frame_header(&ctx_client1, ctx_client1.cursor,  in ZTEST()
 2477 	int parser2 = parse_http_frame_header(&ctx_client2, ctx_client2.cursor,  in ZTEST()
 
 |