Home
last modified time | relevance | path

Searched refs:lcp (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/subsys/net/l2/ppp/
Dlcp.c57 return ppp_fsm_input(&ctx->lcp.fsm, PPP_LCP, pkt); in lcp_handle()
117 lcp.fsm); in lcp_config_info_req()
132 ctx->lcp.peer_options.auth_proto = data.auth_proto; in lcp_config_info_req()
145 ppp_fsm_lower_down(&ctx->lcp.fsm); in lcp_lower_down()
152 ctx->lcp.my_options.mru = net_if_get_mtu(ctx->iface); in lcp_lower_up()
155 ppp_fsm_lower_up(&ctx->lcp.fsm); in lcp_lower_up()
160 ppp_fsm_open(&ctx->lcp.fsm); in lcp_open()
169 ppp_fsm_close(&ctx->lcp.fsm, reason); in lcp_close()
175 lcp.fsm); in lcp_down()
177 memset(&ctx->lcp.peer_options.auth_proto, 0, in lcp_down()
[all …]
DCMakeLists.txt14 lcp.c
Dfsm.c29 return CONTAINER_OF(fsm, struct ppp_context, lcp.fsm); in ppp_fsm_ctx()
407 len = MIN(len, ctx->lcp.my_options.mru); in ppp_send_pkt()
498 lcp.fsm); in ppp_send_pkt()
499 if (ctx->lcp.magic) { in ppp_send_pkt()
500 ctx->lcp.magic = sys_rand32_get(); in ppp_send_pkt()
503 ret = net_pkt_write_be32(pkt, ctx->lcp.magic); in ppp_send_pkt()
508 data_len = MIN(data_len, ctx->lcp.my_options.mru); in ppp_send_pkt()
1056 if (length > ctx->lcp.my_options.mru) { in ppp_fsm_input()
1146 lcp.fsm); in ppp_fsm_recv_echo_reply()
Dlink.c77 auth_proto = ctx->lcp.peer_options.auth_proto; in do_auth()
Dppp_l2.c366 ret = ppp_send_pkt(&ctx->lcp.fsm, iface, PPP_ECHO_REQ, 0, in net_ppp_ping()
/Zephyr-latest/tests/subsys/fs/littlefs/src/
Dtest_lfs_perf.c27 const struct lfs_config *lcp = &((const struct fs_littlefs *)mp->fs_data)->cfg; in write_read() local
62 lcp->read_size, lcp->prog_size, lcp->cache_size, lcp->lookahead_size); in write_read()
175 struct lfs_config *lcp = &data.cfg; in custom_write_test() local
178 if (lcp->cache_size == 0) { in custom_write_test()
179 lcp->cache_size = CONFIG_FS_LITTLEFS_CACHE_SIZE; in custom_write_test()
181 if (lcp->lookahead_size == 0) { in custom_write_test()
182 lcp->lookahead_size = CONFIG_FS_LITTLEFS_LOOKAHEAD_SIZE; in custom_write_test()
185 lcp->read_buffer = malloc(lcp->cache_size); in custom_write_test()
186 lcp->prog_buffer = malloc(lcp->cache_size); in custom_write_test()
187 lcp->lookahead_buffer = malloc(lcp->lookahead_size); in custom_write_test()
[all …]
/Zephyr-latest/subsys/fs/
Dlittlefs_fs.c722 struct lfs_config *lcp = &fs->cfg; in littlefs_init_cfg() local
724 lfs_size_t read_size = lcp->read_size; in littlefs_init_cfg()
730 lfs_size_t prog_size = lcp->prog_size; in littlefs_init_cfg()
737 lfs_size_t block_size = lcp->block_size; in littlefs_init_cfg()
770 int32_t block_cycles = lcp->block_cycles; in littlefs_init_cfg()
780 lfs_size_t cache_size = lcp->cache_size; in littlefs_init_cfg()
786 lfs_size_t lookahead_size = lcp->lookahead_size; in littlefs_init_cfg()
793 uint32_t disk_version = lcp->disk_version; in littlefs_init_cfg()
844 lcp->context = fs->backend; in littlefs_init_cfg()
850 lcp->read = lfs_api_read_blk; in littlefs_init_cfg()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dppp.c81 ppp_state_str(ctx->lcp.fsm.state), ctx->lcp.fsm.state); in cmd_net_ppp_status()
82 PR("LCP retransmits : %u\n", ctx->lcp.fsm.retransmits); in cmd_net_ppp_status()
83 PR("LCP NACK loops : %u\n", ctx->lcp.fsm.nack_loops); in cmd_net_ppp_status()
84 PR("LCP NACKs recv : %u\n", ctx->lcp.fsm.recv_nack_loops); in cmd_net_ppp_status()
85 PR("LCP current id : %d\n", ctx->lcp.fsm.id); in cmd_net_ppp_status()
86 PR("LCP ACK received : %s\n", ctx->lcp.fsm.ack_received ? in cmd_net_ppp_status()
/Zephyr-latest/include/zephyr/net/
Dppp.h428 } lcp; member
/Zephyr-latest/doc/releases/
Drelease-notes-2.0.rst638 * :github:`18399` - [Coverity CID :203457]Control flow issues in /subsys/net/l2/ppp/lcp.c