yumapro  20.10-12
YumaPro SDK
agt_ncxserver.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2008 - 2012, Andy Bierman, All Rights Reserved.
3  * Copyright (c) 2012 - 2021, YumaWorks, Inc., All Rights Reserved.
4  *
5  * Unless required by applicable law or agreed to in writing,
6  * software distributed under the License is distributed on an
7  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8  * KIND, either express or implied. See the License for the
9  * specific language governing permissions and limitations
10  * under the License.
11  */
12 #ifndef _H_agt_ncxserver
13 #define _H_agt_ncxserver
14 
15 /* FILE: agt_ncxserver.h
16 *********************************************************************
17 * *
18 * P U R P O S E *
19 * *
20 *********************************************************************/
21 
28 /*********************************************************************
29 * *
30 * C H A N G E H I S T O R Y *
31 * *
32 *********************************************************************
33 
34 date init comment
35 ----------------------------------------------------------------------
36 11-jan-07 abb Begun
37 
38 */
39 
40 #ifndef _H_agt
41 #include "agt.h"
42 #endif
43 
44 #ifndef _H_ncxtypes
45 #include "ncxtypes.h"
46 #endif
47 
48 #ifndef _H_ses
49 #include "ses.h"
50 #endif
51 
52 #ifndef _H_status_enum
53 #include "status_enum.h"
54 #endif
55 
56 #ifndef _H_pthread
57 #include "pthread.h"
58 #endif
59 
60 #ifdef __cplusplus
61 extern "C" {
62 #endif
63 
64 /********************************************************************
65 * *
66 * C O N S T A N T S *
67 * *
68 *********************************************************************/
69 
70 
71 /********************************************************************
72 * *
73 * T Y P E S *
74 * *
75 *********************************************************************/
76 
77 
78 /********************************************************************
79 * *
80 * V A R I A B L E S *
81 * *
82 *********************************************************************/
83 
84 /********************************************************************
85 * *
86 * F U N C T I O N S *
87 * *
88 *********************************************************************/
89 
90 
91 
109 extern status_t
110  agt_ncxserver_run (void);
111 
112 
124 extern status_t
125  agt_ncxserver_run_ycontrol (boolean ycontrol,
126  const xmlChar *txid_str);
127 
128 
144 extern status_t
145  agt_ncxserver_run_extloop (boolean ycontrol,
146  const xmlChar *txid_str,
147  boolean extloop_mode);
148 
149 
155 extern void
156  agt_ncxserver_clear_fd (int fd);
157 
158 
165 extern void
166  agt_ncxserver_exit_ycontrol_mode (const xmlChar *txid_str,
167  agt_exit_mode_t exitmode);
168 
169 
179 extern agt_exit_mode_t
180  agt_ncxserver_get_exit_mode (const xmlChar *txid_str);
181 
182 
183 
184 #ifdef PTHREADS
185 
191 extern thd_tcb_t *
193 
194 
195 #ifndef TEST_PTHREADS
196 
204 extern boolean
206  ses_id_t killedby,
207  ses_term_reason_t termreason);
208 
209 
219 extern void
220  agt_ncxserver_thd_ses_cleanup (thd_type_t thd_type);
221 
222 
232 extern boolean
233  agt_ncxserver_thread_cancel_cc (ses_id_t sid, ncx_confirm_event_t event);
234 
235 
236 #else // TEST_PTHREADS
237 /* Stub definitions for integ-test image build */
238 
239 extern bool agt_ncxserver_thread_clear_session (int sid,
240  int killedby,
241  int termreason);
242 
243 extern bool agt_ncxserver_thread_cancel_cc (int sid, int event);
244 
245 /* Stub definitions for integ-test image build */
246 #endif // TEST_PTHREADS
247 
248 #endif // PTHREADS
249 
250 
258 extern status_t
259  agt_ncxserver_inject_session (ses_cb_t *scb,
260  int newfd);
261 
262 
268 extern void
270 
271 
275 #ifdef __cplusplus
276 } /* end extern 'C' */
277 #endif
278 
279 #endif /* _H_agt_ncxserver */
def_reg_find_scb
ses_cb_t * def_reg_find_scb(int fd)
find one FD-to-SCB mapping in the registry
Definition: def_reg.c:506
ses.h
NETCONF Session Common definitions module.
THD_TYPE_BKGD
@ THD_TYPE_BKGD
Background.
Definition: thd.h:153
SES_TR_OTHER
@ SES_TR_OTHER
other
Definition: ses.h:393
agt_ypsnmp.h
Yuma Interface to net-snmp data structures. Agent interface.
cfg.h
agt_ncxserver_run
status_t agt_ncxserver_run(void)
IO server loop for the ncxserver socket.
Definition: agt_ncxserver.c:3266
NCX_CC_EVENT_TIMEOUT
@ NCX_CC_EVENT_TIMEOUT
timeout event
Definition: ncxtypes.h:1226
ses_msg_send_buffs
status_t ses_msg_send_buffs(ses_cb_t *scb, boolean *anyout)
Send multiple buffers to the session client socket Tries to send one packet at maximum MTU.
Definition: ses_msg.c:569
agt_ses.h
Server Session Management.
xml_strdup
xmlChar * xml_strdup(const xmlChar *copyFrom)
String duplicate for xmlChar.
Definition: xml_util.c:1553
SES_IS_YCONTROL
#define SES_IS_YCONTROL(S)
test if this is a YControl session
Definition: ses.h:138
ses_new_dummy_scb
ses_cb_t * ses_new_dummy_scb(void)
Create a new dummy session control block.
Definition: ses.c:2100
ERR_NCX_SELECT_FAILED
@ ERR_NCX_SELECT_FAILED
399
Definition: status_enum.h:442
SES_ST_IDLE
@ SES_ST_IDLE
adble to accept requests
Definition: ses.h:358
log_error
void log_error(const char *fstr,...) __attribute__((format(printf
Generate a new LOG_DEBUG_ERROR log entry.
agt_ncxserver_clear_fd
void agt_ncxserver_clear_fd(int fd)
Clear a dead session from the select loop.
Definition: agt_ncxserver.c:4021
agt_rpc_send_error_reply
void agt_rpc_send_error_reply(ses_cb_t *scb, status_t retres)
Operation failed or was never attempted.
Definition: agt_rpc.c:3633
agt_ncxserver_run_ycontrol
status_t agt_ncxserver_run_ycontrol(boolean ycontrol, const xmlChar *txid_str)
IO server loop for the ncxserver socket.
Definition: agt_ncxserver.c:3469
NCX_NCSSH_PORT
#define NCX_NCSSH_PORT
Default NETCONF over SSH port.
Definition: ncxconst.h:127
agt_db_api_check_load_config
void agt_db_api_check_load_config(void)
Check if the deferred load_config check is needed.
Definition: agt_db_api.c:1568
thd_check_shutdown_signal
void thd_check_shutdown_signal(sigset_t *sigmask, thd_tcb_t *tcb)
The agt_shutdown_requested == TRUE at this point.
Definition: thd.c:1769
agt_ses_fill_writeset
void agt_ses_fill_writeset(fd_set *fdset, int *maxfdnum)
Drain the ses_msg outreadyQ and set the specified fdset Used by agt_ncxserver write_fd_set.
Definition: agt_ses.c:1819
agt_rpc.h
NETCONF protocol remote procedure call server-side definitions.
agt_rpc_replay_config
status_t agt_rpc_replay_config(void)
Dispatch an internal <replay-config> request used for OP_EDITOP_LOAD to load the running from startup...
Definition: agt_rpc.c:3386
agt_start_replay
void agt_start_replay(void)
Start replay of the running config to SIL modules.
Definition: agt.c:4413
status_enum.h
global error status code enumerations
agt_ycontrol_drop_session
void agt_ycontrol_drop_session(ses_id_t sid)
Notify the agt_ycontrol module that a YControl session has been closed and needs to be cleaned up.
Definition: agt_ycontrol.c:1971
agt_ncxserver_run_extloop
status_t agt_ncxserver_run_extloop(boolean ycontrol, const xmlChar *txid_str, boolean extloop_mode)
IO server loop for the ncxserver socket (FULL MODE)
Definition: agt_ncxserver.c:3496
agt_ncxserver_thread_clear_session
boolean agt_ncxserver_thread_clear_session(ses_id_t sid, ses_id_t killedby, ses_term_reason_t termreason)
Signal session clear to the appropriate RX thread for session.
Definition: agt_ncxserver.c:3104
thd_set_ready
void thd_set_ready(void)
Netconfd will set thd_ready when initialization is complete, but before creating threads.
Definition: thd.c:524
agt_ncxserver.h
NCX Server Transport and IO Library.
thd_new_tcb
thd_tcb_t * thd_new_tcb(thd_type_t type)
Allocate a new thread control block.
Definition: thd.c:544
AGT_EXIT_MODE_DROPPED
@ AGT_EXIT_MODE_DROPPED
exit loop with session dropped
Definition: agt.h:658
ERR_NCX_READ_FAILED
@ ERR_NCX_READ_FAILED
240
Definition: status_enum.h:279
agt_ncx_cc_active
boolean agt_ncx_cc_active(void)
Check if a confirmed-commit is active, and the timeout may need to be processed.
Definition: agt_ncx.c:5623
SES_TRANSPORT_SSH
@ SES_TRANSPORT_SSH
NETCONF over SSH (RFC 4742 and 6242)
Definition: ses.h:332
ncxconst.h
Contains NCX constants.
ncxmod.h
NCX Module Load Manager.
agt_not.h
NETCONF Notifications DM module support.
agt_ses_free_session2
void agt_ses_free_session2(ses_cb_t *scb, boolean clear_locks)
Free a real session control block but with optional unlocking.
Definition: agt_ses.c:889
ses_msg.h
NETCONF Session Message Common definitions module.
ses_id_t
uint32 ses_id_t
Session ID.
Definition: ses.h:306
thd_yield_for_cdx
boolean thd_yield_for_cdx(int max_yield_count, uint usec, int ival, test_cdx_int_t sid_test_func)
Yield scheduler in loop until specified condition(s) are met or max loop count is exceeded.
Definition: thd.c:1618
agt_ses_process_first_ready
boolean agt_ses_process_first_ready(boolean ycontrol)
Check the readyQ and process the first message, if any.
Definition: agt_ses.c:1468
log_info
void void void void void log_info(const char *fstr,...) __attribute__((format(printf
Generate a new LOG_DEBUG_INFO log entry.
log_debug2
void void void void void void void void void log_debug2(const char *fstr,...) __attribute__((format(printf
Generate a new LOG_DEBUG_DEBUG2 log entry.
def_reg.h
Definition Registry module.
agt_ses_check_timeouts
void agt_ses_check_timeouts(ses_id_t sid)
Check if any sessions need to be dropped because they have been idle too long.
Definition: agt_ses.c:1631
errno_to_status
status_t errno_to_status(void)
Get the errno variable and convert it to a status_t.
Definition: status.c:968
agt_in_maintenance_mode
boolean agt_in_maintenance_mode(void)
Return true if in mainenance mode now.
Definition: agt.c:5184
agt_ses_thread_kill_session
void agt_ses_thread_kill_session(ses_cb_t *scb, ses_id_t killedby, ses_term_reason_t termreason)
Kill the specified session; called from session thread.
Definition: agt_ses.c:1118
agt_ses_kill_session
void agt_ses_kill_session(ses_cb_t *scb, ses_id_t killedby, ses_term_reason_t termreason)
Kill the specified session.
Definition: agt_ses.c:1213
NO_ERR
@ NO_ERR
000
Definition: status_enum.h:188
agt_openssl_cleanup
void agt_openssl_cleanup(void)
Cleanup the OpenSSL module.
Definition: agt_openssl.c:1049
ERR_NCX_SESSION_CLOSED
@ ERR_NCX_SESSION_CLOSED
1010
Definition: status_enum.h:499
agt_ses_new_session
ses_cb_t * agt_ses_new_session(ses_transport_t transport, int fd)
Create a real server session control block.
Definition: agt_ses.c:811
agt_request_shutdown
void agt_request_shutdown(ncx_shutdowntyp_t mode, int intnum)
Request some sort of server shutdown.
Definition: agt.c:4136
log_debug4
void void void void void void void void void void void void void log_debug4(const char *fstr,...) __attribute__((format(printf
Generate a new LOG_DEBUG_DEBUG4 log entry.
agt_ncx.h
NETCONF Server standard method routines.
ERR_NCX_OPERATION_FAILED
@ ERR_NCX_OPERATION_FAILED
274
Definition: status_enum.h:315
agt_sil.h
SIL Transaction APIs.
LOGDEBUG2
#define LOGDEBUG2
Check if at least log-level=debug2.
Definition: log.h:292
agt_yp_ha_check_standby_io
void agt_yp_ha_check_standby_io(void)
Check if the YP-SA Standby mode needs to check for input.
Definition: agt_yp_ha.c:1023
thd_get_next_tcb
thd_tcb_t * thd_get_next_tcb(thd_tcb_t *tcb)
Get the next thread control block from the specified entry.
Definition: thd.c:2023
dlq_createSQue
void dlq_createSQue(dlq_hdrT *queAddr)
create a static queue header
Definition: dlq.c:177
log_warn
void void void log_warn(const char *fstr,...) __attribute__((format(printf
Generate a new LOG_DEBUG_WARN log entry.
ERR_INTERNAL_VAL
@ ERR_INTERNAL_VAL
004
Definition: status_enum.h:194
heapchk.h
Internal Heap Checking Utilities.
thd_mark_tcb_deleted
void thd_mark_tcb_deleted(thd_tcb_t *tcb)
Cleanup (release resources associated with a TCB) and free it.
Definition: thd.c:654
dlq_remove
void dlq_remove(void *nodeP)
remove the queue entry from its queue list entry MUST have been enqueued somehow before this function...
Definition: dlq.c:519
thd_count_ses_threads
int thd_count_ses_threads(void)
Count the number of session threads.
Definition: thd.c:867
AGT_DEF_TLS_PORT
#define AGT_DEF_TLS_PORT
port assignment for netconf-tls in RFC 7589
Definition: agt.h:355
ERR_NCX_INVALID_VALUE
@ ERR_NCX_INVALID_VALUE
258
Definition: status_enum.h:299
ses_msg_make_outready
void ses_msg_make_outready(ses_cb_t *scb)
Put the session on the outreadyQ if it is not already there.
Definition: ses_msg.c:858
AGT_EXIT_MODE_NONE
@ AGT_EXIT_MODE_NONE
this value is used
Definition: agt.h:654
agt_ses_request_close
boolean agt_ses_request_close(ses_cb_t *scb, ses_id_t killedby, ses_term_reason_t termreason)
Start the close of the specified session.
Definition: agt_ses.c:1056
ERR_INTERNAL_MEM
@ ERR_INTERNAL_MEM
003
Definition: status_enum.h:193
SES_TR_DROPPED
@ SES_TR_DROPPED
dropped by remote peer
Definition: ses.h:391
get_error_string
const char * get_error_string(status_t res)
Get the error message for a specific internal error.
Definition: status.c:239
THD_TYPE_NONE
@ THD_TYPE_NONE
not set
Definition: thd.h:152
agt_openssl_start_session
status_t agt_openssl_start_session(ses_cb_t *scb)
Start a NETCONF over TLS session.
Definition: agt_openssl.c:1096
log_debug
void void void void void void void log_debug(const char *fstr,...) __attribute__((format(printf
Generate a new LOG_DEBUG_DEBUG log entry.
agt_replay_requested
boolean agt_replay_requested(void)
Check if config replay is pending.
Definition: agt.c:4383
agt_ses_new_session_tls
ses_cb_t * agt_ses_new_session_tls(ses_transport_t transport, int fd, const char *client_addr)
Create a real agent session control block for TLS.
Definition: agt_ses.c:836
agt_not_clean_eventlog
void agt_not_clean_eventlog(void)
Remove any delivered notifications when the replay buffer size is set to zero.
Definition: agt_not.c:5869
ncx_is_with_snmp
boolean ncx_is_with_snmp(void)
Get the with_snmp value.
Definition: ncx.c:13958
THD_TYPE_SES
@ THD_TYPE_SES
Session (rx_thread)
Definition: thd.h:156
LOGINFO
#define LOGINFO
Check if at least log-level=info.
Definition: log.h:279
dlq_nextEntry
#define dlq_nextEntry(nodeP)
get the next queue entry after the current entry
Definition: dlq.h:265
agt.h
Multi-Protocol Network Management Server.
NCX_PROTO_YCONTROL
@ NCX_PROTO_YCONTROL
YumaPro Internal Control 1.0.
Definition: ncxtypes.h:787
agt_ncxserver_cleanup_extloop
void agt_ncxserver_cleanup_extloop(void)
Cleanup sockets for extloop mode.
Definition: agt_ncxserver.c:4082
NCXSERVER_SOCKNAME
#define NCXSERVER_SOCKNAME
Default ncx-connect socket is AFLOCAL.
Definition: ncxconst.h:88
agt_shutdown_requested
boolean agt_shutdown_requested(void)
Check if some sort of server shutdown is in progress.
Definition: agt.c:4194
agt_ypsnmp_check_io
void agt_ypsnmp_check_io(void)
Check if any SNMP messages to process.
Definition: agt_ypsnmp.c:3436
agt_ncxserver_thread_cancel_cc
boolean agt_ncxserver_thread_cancel_cc(ses_id_t sid, ncx_confirm_event_t event)
Signal confirmed commit cancel to either the thread representing session or, if terminated,...
Definition: agt_ncxserver.c:3203
thd_get_first_tcb
thd_tcb_t * thd_get_first_tcb(void)
Get the first thread control block.
Definition: thd.c:2005
agt_timer_handler
void agt_timer_handler(void)
Handle an incoming server timer polling interval.
Definition: agt_timer.c:245
ses_dropped
boolean ses_dropped(const ses_cb_t *scb)
Check if the session has been dropped by the client.
Definition: ses.c:4860
agt_ypcoap.h
Yuma Interface to libcoap data structures. Agent interface.
SES_ST_SHUTDOWN_REQ
@ SES_ST_SHUTDOWN_REQ
session shutdown requested
Definition: ses.h:360
xml_strcmp
int xml_strcmp(const xmlChar *s1, const xmlChar *s2)
String compare for xmlChar.
Definition: xml_util.c:1746
SES_START_TLS
#define SES_START_TLS(S)
get the start TLS flag
Definition: ses.h:207
LOGDEBUG4
#define LOGDEBUG4
Check if at least log-level=debug4.
Definition: log.h:302
log.h
NCX System Logging Manager.
agt_finish_replay
void agt_finish_replay(void)
Finish replay of the running config to SIL modules.
Definition: agt.c:4446
log_flush
void log_flush(void)
Flush output buffers.
Definition: log.c:1880
ncxtypes.h
YANG module data structures Many internal representations of YANG module constructs.
LOGDEBUG
#define LOGDEBUG
Check if at least log-level=debug.
Definition: log.h:287
THD_TCB_STATE_ACTIVE
@ THD_TCB_STATE_ACTIVE
active
Definition: thd.h:141
NCXSERVER_FHS_SOCKNAME
#define NCXSERVER_FHS_SOCKNAME
Default ncx-connect socket when fileloc-fhs=true.
Definition: ncxconst.h:91
agt_ses_process_first_ready_by_sid
boolean agt_ses_process_first_ready_by_sid(ses_id_t sid)
Check the readyQ and process the first message matching session, if any.
Definition: agt_ses.c:1440
agt_sil_last_in_transaction
boolean agt_sil_last_in_transaction(const xmlChar *txid_str, ses_id_t sid)
Check if the session is the last in the current transaction.
Definition: agt_sil.c:9731
dlq_deque
void * dlq_deque(dlq_hdrT *listP)
remove the first queue node from the queue list
Definition: dlq.c:286
agt_ncx_cancel_confirmed_commit
void agt_ncx_cancel_confirmed_commit(ses_cb_t *scb, ncx_confirm_event_t event)
Cancel the confirmed-commit in progress and rollback to the backup-cfg.xml file.
Definition: agt_ncx.c:5775
THD_TYPE_CONN
@ THD_TYPE_CONN
Connection.
Definition: thd.h:154
dlq_empty
#define dlq_empty(listP)
check if queue list is empty
Definition: dlq.h:367
thd.h
Thread support (for now limited to netconfd)
ncx_get_pidfile_cleaned
boolean ncx_get_pidfile_cleaned(void)
Get the PID file cleaned flag.
Definition: ncx.c:14859
agt_ses_get_session_for_id
ses_cb_t * agt_ses_get_session_for_id(ses_id_t sid)
get the session for the supplied sid
Definition: agt_ses.c:2252
agt_get_profile
agt_profile_t * agt_get_profile(void)
Get the server profile struct.
Definition: agt.c:4118
dlq_firstEntry
#define dlq_firstEntry(listP)
get the first entry in the queue list
Definition: dlq.h:337
agt_ncxserver_get_timer_tcb
thd_tcb_t * agt_ncxserver_get_timer_tcb(void)
Get the timer TCB to hijack for the YP-HA standby SCB.
Definition: agt_ncxserver.c:3364
ncx.h
YANG module utility functions.
agt_ncxserver_get_exit_mode
agt_exit_mode_t agt_ncxserver_get_exit_mode(const xmlChar *txid_str)
Get the reason code for exiting YControl IO mode.
Definition: agt_ncxserver.c:3441
agt_yp_ha.h
YumaPro High Availability module (YP-HA)
agt_not_send_notifications
uint32 agt_not_send_notifications(thd_tcb_t *tcb)
Send notifications (PTHREADS VERSION)
Definition: agt_not.c:5715
agt_ncxserver_thd_ses_cleanup
void agt_ncxserver_thd_ses_cleanup(thd_type_t thd_type)
Clean sessions in fixed (safe) order to make sure that all active sessions will be closed in a partic...
Definition: agt_ncxserver.c:1300
agt_ycontrol.h
Handle the YumaPro Control Protocol <ycontrol> (top-level) element.
dlq_enque
void dlq_enque(REG void *newP, REG dlq_hdrT *listP)
add a queue node to the end of a queue list Add newP to listP
Definition: dlq.c:246
agt_ypcoap_check_io
void agt_ypcoap_check_io(void)
Check if any CoAP messages to process.
Definition: agt_ypcoap.c:2616
agt_timer.h
Handle timer services for the server.
thd_set_main_pthread_attr
void thd_set_main_pthread_attr(void)
Set/display main pthread attributes, to be inherited by all threads, unless otherwise noted.
Definition: thd.c:410
ses_free_scb
void ses_free_scb(ses_cb_t *scb)
Free a session control block.
Definition: ses.c:2221
agt_ncxserver_inject_session
status_t agt_ncxserver_inject_session(ses_cb_t *scb, int newfd)
Add a callhome session into the ncxserver IO processing.
Definition: agt_ncxserver.c:4043
agt_maintenance_mode_session_ok
boolean agt_maintenance_mode_session_ok(void)
Return true if in maintenance mode new sessions OK;.
Definition: agt.c:5227
SET_ERROR
#define SET_ERROR(E)
macro SET_ERROR
Definition: status_enum.h:103
AGT_SELECT_TIMEOUT_USEC
#define AGT_SELECT_TIMEOUT_USEC
number of microseconds for each select timeout set to 1/100th sec
Definition: agt.h:391
SES_ST_INIT
@ SES_ST_INIT
initialization state
Definition: ses.h:354
thd_find_tcb_by_capability
thd_tcb_t * thd_find_tcb_by_capability(uint cap)
Find a TCB supporting the specified capability.
Definition: thd.c:791
ses_accept_input
status_t ses_accept_input(ses_cb_t *scb)
The IO input handler for the ncxserver loop.
Definition: ses.c:3215
agt_ncxserver_exit_ycontrol_mode
void agt_ncxserver_exit_ycontrol_mode(const xmlChar *txid_str, agt_exit_mode_t exitmode)
Cause the ycontrol mode to terminate.
Definition: agt_ncxserver.c:3423
agt_openssl.h
OpenSSL support for netconf-tls.
agt_ses_free_session
void agt_ses_free_session(ses_cb_t *scb)
Free a real session control block.
Definition: agt_ses.c:870
xmlns.h
XML namespace support.
thd_rcv_signal_setup
boolean thd_rcv_signal_setup(sigset_t *sigmask, thd_tcb_t *tcb)
Init thread to receive omnibus signal.
Definition: thd.c:1712
ncx_socket_close
void ncx_socket_close(int fd)
Close a socket; check result.
Definition: ncx.c:13214
THD_TYPE_TMR
@ THD_TYPE_TMR
Timer.
Definition: thd.h:155
status.h
Global error messages for status code enumerations.
yangapi.h
YANG-API definitions (pre-RESTCONF)
agt_db_api.h
Server DB-API support module.
SES_TRANSPORT_NETCONF_TLS
@ SES_TRANSPORT_NETCONF_TLS
NETCONF over TLS.
Definition: ses.h:346
SES_ST_IN_MSG
@ SES_ST_IN_MSG
processing a request
Definition: ses.h:359
agt_ncx_check_restconf_cc_timeout
void agt_ncx_check_restconf_cc_timeout(void)
Check if a confirmed-commit has timed out, and needs to be canceled.
Definition: agt_ncx.c:5729
SES_REMOTE_WAIT
#define SES_REMOTE_WAIT(S)
get remote wait flag
Definition: ses.h:290
agt_openssl_init
status_t agt_openssl_init(void)
Initialize the OpenSSL module.
Definition: agt_openssl.c:819
thd_find_tcb_by_sid
thd_tcb_t * thd_find_tcb_by_sid(ses_id_t sid, boolean strict)
Lookup TCB by session ID.
Definition: thd.c:704