Lines Matching refs:ipc_conn

654 	if(xfrd->ipc_conn->is_reading==2) {  in xfrd_handle_ipc_read()
659 int ret = conn_read(xfrd->ipc_conn); in xfrd_handle_ipc_read()
662 xfrd->ipc_conn->is_reading = 0; in xfrd_handle_ipc_read()
667 buffer_flip(xfrd->ipc_conn->packet); in xfrd_handle_ipc_read()
668 xfrd->ipc_pass = xfrd->ipc_conn->packet; in xfrd_handle_ipc_read()
669 xfrd->ipc_conn->packet = tmp; in xfrd_handle_ipc_read()
670 xfrd->ipc_conn->is_reading = 0; in xfrd_handle_ipc_read()
673 xfrd_handle_passed_packet(xfrd->ipc_conn->packet, acl_num, acl_xfr); in xfrd_handle_ipc_read()
676 if(xfrd->ipc_conn->is_reading) { in xfrd_handle_ipc_read()
679 int ret = conn_read(xfrd->ipc_conn); in xfrd_handle_ipc_read()
682 xfrd->ipc_conn->is_reading = 0; in xfrd_handle_ipc_read()
687 buffer_flip(xfrd->ipc_conn->packet); in xfrd_handle_ipc_read()
690 xfrd->ipc_conn->is_reading=2; in xfrd_handle_ipc_read()
691 xfrd->ipc_pass = xfrd->ipc_conn->packet; in xfrd_handle_ipc_read()
692 xfrd->ipc_conn->packet = tmp; in xfrd_handle_ipc_read()
693 xfrd->ipc_conn->total_bytes = sizeof(xfrd->ipc_conn->msglen); in xfrd_handle_ipc_read()
694 xfrd->ipc_conn->msglen = 2*sizeof(uint32_t); in xfrd_handle_ipc_read()
695 buffer_clear(xfrd->ipc_conn->packet); in xfrd_handle_ipc_read()
696 buffer_set_limit(xfrd->ipc_conn->packet, xfrd->ipc_conn->msglen); in xfrd_handle_ipc_read()
752 xfrd->ipc_conn->is_reading = 1; in xfrd_handle_ipc_read()
773 if(xfrd->ipc_conn->is_reading) { in xfrd_handle_ipc_read()
775 xfrd->ipc_conn->total_bytes = 0; in xfrd_handle_ipc_read()
776 xfrd->ipc_conn->msglen = 0; in xfrd_handle_ipc_read()
777 buffer_clear(xfrd->ipc_conn->packet); in xfrd_handle_ipc_read()