Lines Matching refs:fc

1423 	struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1,  in comm_point_create_local()  local
1424 sizeof(*fc)); in comm_point_create_local()
1425 if(!fc) return NULL; in comm_point_create_local()
1426 fc->typecode = FAKE_COMMPOINT_TYPECODE; in comm_point_create_local()
1427 return (struct comm_point*)fc; in comm_point_create_local()
1436 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1, in comm_point_create_raw() local
1437 sizeof(*fc)); in comm_point_create_raw()
1438 if(!fc) return NULL; in comm_point_create_raw()
1439 fc->typecode = FAKE_COMMPOINT_TYPECODE; in comm_point_create_raw()
1440 return (struct comm_point*)fc; in comm_point_create_raw()
1457 struct fake_commpoint* fc = (struct fake_commpoint*)c; in comm_point_delete() local
1459 log_assert(fc->typecode == FAKE_COMMPOINT_TYPECODE); in comm_point_delete()
1460 if(fc->type_tcp_out) { in comm_point_delete()
1462 pending_list_delete(fc->runtime, fc->pending); in comm_point_delete()
1760 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1, in outnet_comm_point_for_udp() local
1761 sizeof(*fc)); in outnet_comm_point_for_udp()
1762 if(!fc) return NULL; in outnet_comm_point_for_udp()
1763 fc->typecode = FAKE_COMMPOINT_TYPECODE; in outnet_comm_point_for_udp()
1764 fc->type_udp_out = 1; in outnet_comm_point_for_udp()
1765 fc->cb = cb; in outnet_comm_point_for_udp()
1766 fc->cb_arg = cb_arg; in outnet_comm_point_for_udp()
1767 fc->runtime = runtime; in outnet_comm_point_for_udp()
1769 return (struct comm_point*)fc; in outnet_comm_point_for_udp()
1780 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1, in outnet_comm_point_for_tcp() local
1781 sizeof(*fc)); in outnet_comm_point_for_tcp()
1784 if(!fc || !pend) { in outnet_comm_point_for_tcp()
1785 free(fc); in outnet_comm_point_for_tcp()
1789 fc->typecode = FAKE_COMMPOINT_TYPECODE; in outnet_comm_point_for_tcp()
1790 fc->type_tcp_out = 1; in outnet_comm_point_for_tcp()
1791 fc->cb = cb; in outnet_comm_point_for_tcp()
1792 fc->cb_arg = cb_arg; in outnet_comm_point_for_tcp()
1793 fc->runtime = runtime; in outnet_comm_point_for_tcp()
1794 fc->pending = pend; in outnet_comm_point_for_tcp()
1800 free(fc); in outnet_comm_point_for_tcp()
1842 return (struct comm_point*)fc; in outnet_comm_point_for_tcp()
1852 struct fake_commpoint* fc = (struct fake_commpoint*)calloc(1, in outnet_comm_point_for_http() local
1853 sizeof(*fc)); in outnet_comm_point_for_http()
1854 if(!fc) { in outnet_comm_point_for_http()
1857 fc->typecode = FAKE_COMMPOINT_TYPECODE; in outnet_comm_point_for_http()
1858 fc->type_http_out = 1; in outnet_comm_point_for_http()
1859 fc->cb = cb; in outnet_comm_point_for_http()
1860 fc->cb_arg = cb_arg; in outnet_comm_point_for_http()
1861 fc->runtime = runtime; in outnet_comm_point_for_http()
1873 return (struct comm_point*)fc; in outnet_comm_point_for_http()
1879 struct fake_commpoint* fc = (struct fake_commpoint*)c; in comm_point_send_udp_msg() local
1880 struct replay_runtime* runtime = fc->runtime; in comm_point_send_udp_msg()
1887 fc->pending = pend; in comm_point_send_udp_msg()
1916 pend->callback = fc->cb; in comm_point_send_udp_msg()
1917 pend->cb_arg = fc->cb_arg; in comm_point_send_udp_msg()