Lines Matching refs:p_context
18 int CoAPNetwork_read(NetworkContext *p_context, NetworkAddr *p_remote, in CoAPNetwork_read() argument
26 if (NULL == p_context || NULL == p_remote || NULL == p_data) { in CoAPNetwork_read()
30 network = (NetworkConf *)p_context; in CoAPNetwork_read()
45 int CoAPNetwork_write(NetworkContext *p_context, NetworkAddr *p_remote, in CoAPNetwork_write() argument
53 if (NULL == p_context || NULL == p_remote || NULL == p_data) { in CoAPNetwork_write()
57 network = (NetworkConf *)p_context; in CoAPNetwork_write()
111 void CoAPNetwork_deinit(NetworkContext *p_context) in CoAPNetwork_deinit() argument
114 if (NULL == p_context) { in CoAPNetwork_deinit()
118 network = (NetworkConf *)p_context; in CoAPNetwork_deinit()
125 coap_free(p_context); in CoAPNetwork_deinit()
126 p_context = NULL; in CoAPNetwork_deinit()