HelenOS sources

udp                52 uspace/app/netecho/comm.c static udp_t *udp;
udp               128 uspace/app/netecho/comm.c 	rc = udp_create(&udp);
udp               132 uspace/app/netecho/comm.c 	rc = udp_assoc_create(udp, &epp, &comm_udp_cb, NULL, &assoc);
udp               139 uspace/app/netecho/comm.c 	udp_destroy(udp);
udp               160 uspace/app/netecho/comm.c 	rc = udp_create(&udp);
udp               164 uspace/app/netecho/comm.c 	rc = udp_assoc_create(udp, &epp, &comm_udp_cb, NULL, &assoc);
udp               171 uspace/app/netecho/comm.c 	udp_destroy(udp);
udp               180 uspace/app/netecho/comm.c 	if (udp != NULL)
udp               181 uspace/app/netecho/comm.c 		udp_destroy(udp);
udp                53 uspace/lib/inet/include/inet/udp.h 	struct udp *udp;
udp                65 uspace/lib/inet/include/inet/udp.h 	struct udp *udp;
udp                50 uspace/lib/inet/src/udp.c static errno_t udp_callback_create(udp_t *udp)
udp                52 uspace/lib/inet/src/udp.c 	async_exch_t *exch = async_exchange_begin(udp->sess);
udp                58 uspace/lib/inet/src/udp.c 	    udp_cb_conn, udp, &port);
udp                79 uspace/lib/inet/src/udp.c 	udp_t *udp;
udp                83 uspace/lib/inet/src/udp.c 	udp = calloc(1, sizeof(udp_t));
udp                84 uspace/lib/inet/src/udp.c 	if (udp == NULL) {
udp                89 uspace/lib/inet/src/udp.c 	list_initialize(&udp->assoc);
udp                90 uspace/lib/inet/src/udp.c 	fibril_mutex_initialize(&udp->lock);
udp                91 uspace/lib/inet/src/udp.c 	fibril_condvar_initialize(&udp->cv);
udp               100 uspace/lib/inet/src/udp.c 	udp->sess = loc_service_connect(udp_svcid, INTERFACE_UDP,
udp               102 uspace/lib/inet/src/udp.c 	if (udp->sess == NULL) {
udp               107 uspace/lib/inet/src/udp.c 	rc = udp_callback_create(udp);
udp               113 uspace/lib/inet/src/udp.c 	*rudp = udp;
udp               116 uspace/lib/inet/src/udp.c 	free(udp);
udp               124 uspace/lib/inet/src/udp.c void udp_destroy(udp_t *udp)
udp               126 uspace/lib/inet/src/udp.c 	if (udp == NULL)
udp               129 uspace/lib/inet/src/udp.c 	async_hangup(udp->sess);
udp               131 uspace/lib/inet/src/udp.c 	fibril_mutex_lock(&udp->lock);
udp               132 uspace/lib/inet/src/udp.c 	while (!udp->cb_done)
udp               133 uspace/lib/inet/src/udp.c 		fibril_condvar_wait(&udp->cv, &udp->lock);
udp               134 uspace/lib/inet/src/udp.c 	fibril_mutex_unlock(&udp->lock);
udp               136 uspace/lib/inet/src/udp.c 	free(udp);
udp               162 uspace/lib/inet/src/udp.c errno_t udp_assoc_create(udp_t *udp, inet_ep2_t *epp, udp_cb_t *cb, void *arg,
udp               173 uspace/lib/inet/src/udp.c 	exch = async_exchange_begin(udp->sess);
udp               191 uspace/lib/inet/src/udp.c 	assoc->udp = udp;
udp               196 uspace/lib/inet/src/udp.c 	list_append(&assoc->ludp, &udp->assoc);
udp               221 uspace/lib/inet/src/udp.c 	exch = async_exchange_begin(assoc->udp->sess);
udp               238 uspace/lib/inet/src/udp.c 	exch = async_exchange_begin(assoc->udp->sess);
udp               260 uspace/lib/inet/src/udp.c 	exch = async_exchange_begin(assoc->udp->sess);
udp               332 uspace/lib/inet/src/udp.c 	exch = async_exchange_begin(rmsg->udp->sess);
udp               391 uspace/lib/inet/src/udp.c static errno_t udp_rmsg_info(udp_t *udp, udp_rmsg_t *rmsg)
udp               397 uspace/lib/inet/src/udp.c 	exch = async_exchange_begin(udp->sess);
udp               412 uspace/lib/inet/src/udp.c 	rmsg->udp = udp;
udp               424 uspace/lib/inet/src/udp.c static errno_t udp_rmsg_discard(udp_t *udp)
udp               428 uspace/lib/inet/src/udp.c 	exch = async_exchange_begin(udp->sess);
udp               443 uspace/lib/inet/src/udp.c static errno_t udp_assoc_get(udp_t *udp, sysarg_t id, udp_assoc_t **rassoc)
udp               445 uspace/lib/inet/src/udp.c 	list_foreach(udp->assoc, ludp, udp_assoc_t, assoc) {
udp               464 uspace/lib/inet/src/udp.c static void udp_ev_data(udp_t *udp, ipc_call_t *icall)
udp               471 uspace/lib/inet/src/udp.c 		rc = udp_rmsg_info(udp, &rmsg);
udp               476 uspace/lib/inet/src/udp.c 		rc = udp_assoc_get(udp, rmsg.assoc_id, &assoc);
udp               484 uspace/lib/inet/src/udp.c 		rc = udp_rmsg_discard(udp);
udp               501 uspace/lib/inet/src/udp.c 	udp_t *udp = (udp_t *)arg;
udp               515 uspace/lib/inet/src/udp.c 			udp_ev_data(udp, &call);
udp               524 uspace/lib/inet/src/udp.c 	fibril_mutex_lock(&udp->lock);
udp               525 uspace/lib/inet/src/udp.c 	udp->cb_done = true;
udp               526 uspace/lib/inet/src/udp.c 	fibril_mutex_unlock(&udp->lock);
udp               527 uspace/lib/inet/src/udp.c 	fibril_condvar_broadcast(&udp->cv);
udp               131 uspace/srv/net/dhcp/transport.c 	udp_t *udp = NULL;
udp               143 uspace/srv/net/dhcp/transport.c 	rc = udp_create(&udp);
udp               149 uspace/srv/net/dhcp/transport.c 	rc = udp_assoc_create(udp, &epp, &dhcp_transport_cb, dt, &assoc);
udp               161 uspace/srv/net/dhcp/transport.c 	dt->udp = udp;
udp               169 uspace/srv/net/dhcp/transport.c 	udp_destroy(udp);
udp               176 uspace/srv/net/dhcp/transport.c 	udp_destroy(dt->udp);
udp                51 uspace/srv/net/dhcp/transport.h 	udp_t *udp;
HelenOS homepage, sources at GitHub