Home
last modified time | relevance | path

Searched refs:session (Results 1 – 23 of 23) sorted by relevance

/components/lwp/
A Dlwp_session.c52 return session; in lwp_session_find()
72 if (session != RT_NULL) in lwp_session_create()
80 session->foreground_pgid = session->sid; in lwp_session_create()
83 return session; in lwp_session_create()
135 rt_free(session); in lwp_session_delete()
152 group->session = session; in lwp_session_insert()
157 SESS_UNLOCK(session); in lwp_session_insert()
211 SESS_LOCK(session); in lwp_session_move()
247 group->session = session; in lwp_session_update_children_info()
269 SESS_LOCK(session); in lwp_session_set_foreground()
[all …]
A Dlwp_jobctrl.c47 rt_session_t session; in lwp_jobctrl_on_exit() local
52 session = pgrp->session; in lwp_jobctrl_on_exit()
53 RT_ASSERT(session); in lwp_jobctrl_on_exit()
59 SESS_LOCK(session); in lwp_jobctrl_on_exit()
60 if (session->sid == lwp->pid) in lwp_jobctrl_on_exit()
62 tp = session->ctty; in lwp_jobctrl_on_exit()
63 session->leader = 0; in lwp_jobctrl_on_exit()
69 if (tp->t_session == session) in lwp_jobctrl_on_exit()
76 rt_list_for_each_entry(pgrp, &session->processgroup, pgrp_list_node) in lwp_jobctrl_on_exit()
82 SESS_UNLOCK(session); in lwp_jobctrl_on_exit()
A Dlwp_pgrp.c107 group->session = RT_NULL; in lwp_pgrp_create()
123 rt_session_t session = RT_NULL; in lwp_pgrp_delete() local
139 if (session) in lwp_pgrp_delete()
141 ctty = session->ctty; in lwp_pgrp_delete()
152 SESS_LOCK(session); in lwp_pgrp_delete()
154 if (group->session == session && session->ctty == ctty) in lwp_pgrp_delete()
167 SESS_UNLOCK(session); in lwp_pgrp_delete()
328 rt_session_t session; in sys_setpgid() local
407 session = lwp_session_find(sid); in sys_setpgid()
408 if (session == RT_NULL) in sys_setpgid()
[all …]
A Dlwp.h112 struct rt_session *session; member
304 rt_inline pid_t lwp_sid_get_bysession(rt_session_t session) in lwp_sid_get_bysession() argument
306 return session ? session->sid : 0; in lwp_sid_get_bysession()
321 int lwp_session_delete(rt_session_t session);
334 int lwp_session_insert(rt_session_t session, rt_processgroup_t group);
335 int lwp_session_remove(rt_session_t session, rt_processgroup_t group);
336 int lwp_session_move(rt_session_t session, rt_processgroup_t group);
337 int lwp_session_update_children_info(rt_session_t session, pid_t sid);
338 int lwp_session_set_foreground(rt_session_t session, pid_t pgid);
A Dlwp.c422 rt_session_t session; in lwp_execve() local
443 session = RT_NULL; in lwp_execve()
452 session = lwp_session_create(lwp); in lwp_execve()
453 lwp_session_insert(session, group); in lwp_execve()
457 session = lwp_session_find(lwp_sid_get_byprocess(self_lwp)); in lwp_execve()
458 lwp_session_insert(session, group); in lwp_execve()
/components/net/sal/impl/
A Dproto_mbedtls.c44 MbedTLSSession *session = RT_NULL; in mebdtls_socket() local
53 if (session == RT_NULL) in mebdtls_socket()
59 session->buffer = tls_calloc(1, session->buffer_len); in mebdtls_socket()
60 if (session->buffer == RT_NULL) in mebdtls_socket()
62 tls_free(session); in mebdtls_socket()
63 session = RT_NULL; in mebdtls_socket()
74 session->server_fd.fd = socket; in mebdtls_socket()
76 return (void *)session; in mebdtls_socket()
184 rt_memset(session->buffer, 0x00, session->buffer_len); in mbedtls_connect()
185 mbedtls_x509_crt_verify_info((char *)session->buffer, session->buffer_len, " ! ", ret); in mbedtls_connect()
[all …]
/components/net/lwip/lwip-1.4.1/src/netif/ppp/
A Dppp_oe.c219 if (session == 0) { in pppoe_find_softc_by_session()
225 && sc->sc_session == session) { in pppoe_find_softc_by_session()
288 u16_t session, plen; in pppoe_dispatch_disc_pkt() local
320 session = 0; in pppoe_dispatch_disc_pkt()
331 session = ntohs(ph->session); in pppoe_dispatch_disc_pkt()
521 sc->sc_session = session; in pppoe_dispatch_disc_pkt()
537 (u16_t)ph->code, session)); in pppoe_dispatch_disc_pkt()
563 u16_t session, plen; in pppoe_data_input() local
601 session = ntohs(ph->session); in pppoe_data_input()
602 sc = pppoe_find_softc_by_session(session, netif); in pppoe_data_input()
[all …]
/components/net/lwip/lwip-2.0.3/doc/
A Dppp.txt106 printf("status_cb: Unable to open PPP session\n");
180 * Creating a new PPPoS session
215 * Creating a new PPPoE session
238 * Creating a new PPPoL2TP session
273 * Basic PPP client configuration. Can only be set if PPP session is in the
288 * if PPP session is in the dead state (i.e. disconnected).
331 * Only for PPPoS, the PPP session should be up and waiting for input.
343 * be called if PPP session is in the dead state (i.e. disconnected).
354 * Initiate the end of the PPP session, without carrier lost signal
371 * Free the PPP control block, can only be called if PPP session is in the
[all …]
/components/net/lwip/lwip-2.1.2/doc/
A Dppp.txt106 printf("status_cb: Unable to open PPP session\n");
180 * Creating a new PPPoS session
215 * Creating a new PPPoE session
238 * Creating a new PPPoL2TP session
273 * Basic PPP client configuration. Can only be set if PPP session is in the
288 * if PPP session is in the dead state (i.e. disconnected).
331 * Only for PPPoS, the PPP session should be up and waiting for input.
343 * be called if PPP session is in the dead state (i.e. disconnected).
354 * Initiate the end of the PPP session, without carrier lost signal
371 * Free the PPP control block, can only be called if PPP session is in the
[all …]
/components/net/lwip/lwip-2.1.2/src/netif/ppp/
A Dpppoe.c328 && sc->sc_session == session in pppoe_find_softc_by_session()
376 u16_t session, plen; in pppoe_disc_input() local
408 session = 0; in pppoe_disc_input()
420 session = lwip_ntohs(ph->session); in pppoe_disc_input()
616 sc->sc_session = session; in pppoe_disc_input()
639 (u16_t)ph->code, session)); in pppoe_disc_input()
654 u16_t session, plen; in pppoe_data_input() local
685 session = lwip_ntohs(ph->session); in pppoe_data_input()
686 sc = pppoe_find_softc_by_session(session, netif); in pppoe_data_input()
690 pppoe_send_padt(netif, session, shost); in pppoe_data_input()
[all …]
/components/net/lwip/lwip-2.0.3/src/netif/ppp/
A Dpppoe.c327 && sc->sc_session == session in pppoe_find_softc_by_session()
375 u16_t session, plen; in pppoe_disc_input() local
411 session = 0; in pppoe_disc_input()
422 session = lwip_ntohs(ph->session); in pppoe_disc_input()
614 sc->sc_session = session; in pppoe_disc_input()
637 (u16_t)ph->code, session)); in pppoe_disc_input()
652 u16_t session, plen; in pppoe_data_input() local
683 session = lwip_ntohs(ph->session); in pppoe_data_input()
684 sc = pppoe_find_softc_by_session(session, netif); in pppoe_data_input()
688 pppoe_send_padt(netif, session, shost); in pppoe_data_input()
[all …]
/components/lwp/terminal/
A Dtty_ctty.c38 sess = pgrp->session; in ctty_readlink()
46 if (lwp->pgrp == pgrp && pgrp->session == sess && sess->ctty == tp) in ctty_readlink()
A Dtty_internal.h64 return p->pgrp->session == tp->t_session && p->term_ctrlterm; in tty_is_ctty()
/components/lwp/terminal/freebsd/
A Dtty.c923 struct rt_session *session; in tty_drop_ctty() local
950 session = p->pgrp->session; in tty_drop_ctty()
951 if (session->ctty == NULL || session->ctty != tp) in tty_drop_ctty()
963 SESS_LOCK(session); in tty_drop_ctty()
965 vp = session->s_ttyvp; in tty_drop_ctty()
967 session->ctty = NULL; in tty_drop_ctty()
969 session->s_ttyvp = NULL; in tty_drop_ctty()
970 session->s_ttydp = NULL; in tty_drop_ctty()
972 SESS_UNLOCK(session); in tty_drop_ctty()
A Dtty_compat.c60 if (tp->t_session && tp->t_session == pgrp->session) in _is_already_binding()
74 rt_session_t sess = p->pgrp->session; in _is_tty_or_sess_busy()
172 tp->t_session = p->pgrp->session; in lwp_tty_set_ctrl_proc()
/components/net/lwip/lwip-2.1.2/src/apps/smtp/
A Dsmtp.c152 #define SMTP_USERNAME(session) (session)->username argument
153 #define SMTP_PASS(session) (session)->pass argument
154 #define SMTP_AUTH_PLAIN_DATA(session) (session)->auth_plain argument
155 #define SMTP_AUTH_PLAIN_LEN(session) (session)->auth_plain_len argument
157 #define SMTP_USERNAME(session) smtp_username argument
158 #define SMTP_PASS(session) smtp_pass argument
159 #define SMTP_AUTH_PLAIN_DATA(session) smtp_auth_plain argument
160 #define SMTP_AUTH_PLAIN_LEN(session) smtp_auth_plain_len argument
/components/net/lwip/lwip-2.0.3/src/include/netif/ppp/
A Dpppoe.h86 PACK_STRUCT_FIELD(u16_t session);
/components/net/lwip/lwip-2.1.2/src/include/netif/ppp/
A Dpppoe.h90 PACK_STRUCT_FIELD(u16_t session);
/components/net/lwip/lwip-1.4.1/src/include/netif/
A Dppp_oe.h86 PACK_STRUCT_FIELD(u16_t session);
/components/vbus/
A Dvbus.c1309 FINSH_FUNCTION_EXPORT_ALIAS(rt_vbus_sess_dump, vbses, dump vbus session status);
/components/net/lwip/lwip-2.0.3/
A DCHANGELOG457 the PPP stack to support more than one PPP session (pppd only support
458 one session per process).
1063 * ppp.c: fixed pbuf leak when PPP session is aborted through pppSigHUP()
/components/net/lwip/lwip-2.1.2/
A DCHANGELOG710 the PPP stack to support more than one PPP session (pppd only support
711 one session per process).
1316 * ppp.c: fixed pbuf leak when PPP session is aborted through pppSigHUP()
/components/net/lwip/lwip-1.4.1/
A DCHANGELOG107 * ppp.c: fixed pbuf leak when PPP session is aborted through pppSigHUP()

Completed in 52 milliseconds