Searched refs:cursor (Results 1 – 11 of 11) sorted by relevance
/subsys/net/ip/ |
A D | 6lo.c | 846 cursor++; in uncompress_tfl() 851 cursor++; in uncompress_tfl() 861 cursor++; in uncompress_tfl() 871 cursor++; in uncompress_tfl() 898 cursor++; in uncompress_hoplimit() 1423 cursor = uncompress_tfl(iphc, cursor, ipv6); in uncompress_IPHC_header() 1431 cursor = uncompress_hoplimit(iphc, cursor, ipv6); in uncompress_IPHC_header() 1455 cursor = uncompress_sa(iphc, cursor, ipv6, pkt); in uncompress_IPHC_header() 1467 cursor = uncompress_da_mcast(iphc, cursor, ipv6); in uncompress_IPHC_header() 1483 cursor = uncompress_da(iphc, cursor, ipv6, pkt); in uncompress_IPHC_header() [all …]
|
A D | net_pkt.c | 1770 pkt->cursor.pos = pkt->cursor.buf->data; 1778 struct net_pkt_cursor *cursor = &pkt->cursor; local 1780 cursor->buf = cursor->buf->frags; 1786 cursor->buf = cursor->buf->frags; 1793 cursor->pos = cursor->buf->data; 1801 struct net_pkt_cursor *cursor = &pkt->cursor; local 1809 if ((cursor->pos - cursor->buf->data) == len) { 1817 struct net_pkt_cursor *cursor = &pkt->cursor; local 2273 if (!pkt->cursor.buf || !pkt->cursor.pos) { 2300 if (pkt->cursor.buf && pkt->cursor.pos) { [all …]
|
A 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
|
A 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()
|
A D | tcp.c | 102 struct net_buf *buf, *first = pkt->cursor.buf, *second = first->frags; in tcp_pkt_linearize() 126 len1 = first->len - (pkt->cursor.pos - pkt->cursor.buf->data); in tcp_pkt_linearize()
|
/subsys/net/lib/lwm2m/ |
A D | lwm2m_pull_context.c | 99 char *cursor; in transfer_request() local 129 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() 161 next_slash - cursor); in transfer_request() 169 len -= (next_slash - cursor) + 1; in transfer_request() [all …]
|
/subsys/net/l2/ppp/ |
A D | options.c | 30 struct net_pkt_cursor cursor; in ppp_parse_options() local 56 net_pkt_cursor_backup(pkt, &cursor); in ppp_parse_options() 67 net_pkt_cursor_restore(pkt, &cursor); in ppp_parse_options() 148 struct net_pkt_cursor cursor; in ppp_parse_option_conf_req_supported() local 155 net_pkt_cursor_backup(pkt, &cursor); in ppp_parse_option_conf_req_supported() 158 net_pkt_cursor_restore(pkt, &cursor); in ppp_parse_option_conf_req_supported() 204 struct net_pkt_cursor cursor; in ppp_config_info_req() local 207 net_pkt_cursor_backup(pkt, &cursor); in ppp_config_info_req() 220 net_pkt_cursor_restore(pkt, &cursor); in ppp_config_info_req() 237 net_pkt_cursor_restore(pkt, &cursor); in ppp_config_info_req()
|
/subsys/net/lib/http/ |
A 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() 932 client->header_capture_ctx.cursor = 0; in enter_http_frame_headers_state() 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() 1586 client->cursor += ret; in handle_http_frame_headers() 1741 client->cursor += bytes_consumed; in handle_http_frame_settings() 1771 client->cursor += bytes_consumed; in handle_http_frame_goaway() 1793 client->cursor += bytes_consumed; in handle_http_frame_window_update() [all …]
|
A D | http_server_http1.c | 388 char *ptr = client->cursor; in dynamic_post_put_req() 667 char *dest = &ctx->buffer[ctx->cursor]; in check_user_request_headers() 668 size_t remaining = sizeof(ctx->buffer) - ctx->cursor; in check_user_request_headers() 692 ctx->cursor += (header_len + 1); in check_user_request_headers() 757 remaining = sizeof(ctx->buffer) - ctx->cursor; in populate_user_request_header() 766 dest = &ctx->buffer[ctx->cursor]; in populate_user_request_header() 768 ctx->cursor += (value_len + 1); in populate_user_request_header() 929 client->cursor, client->data_len); in handle_http1_request() 944 client->cursor += parsed; in handle_http1_request() 966 client->cursor += frag_headers_len; in handle_http1_request() [all …]
|
A D | http_server_core.c | 458 client->header_capture_ctx.cursor = 0; in handle_http_preface() 462 if (strncmp(client->cursor, HTTP2_PREFACE, sizeof(HTTP2_PREFACE) - 1) != 0) { in handle_http_preface() 491 client->cursor = client->buffer; in handle_http_request() 546 memmove(client->buffer, client->cursor, client->data_len); in handle_http_request()
|
/subsys/shell/ |
A D | Kconfig | 182 Enables VT100 commands in shell (e.g. cursor position, clear screen etc.).
|
Completed in 85 milliseconds