示例#1
0
static void
SendPhysicalNic (SE_HANDLE nic_handle, UINT num_packets, void **packets,
		 UINT *packet_sizes)
{
	if (true)
	{
		UINT i;
		for (i = 0;i < num_packets;i++)
		{
			void *data = packets[i];
			UINT size = packet_sizes[i];

			pro100_send_packet_to_line((PRO100_CTX *)nic_handle, data, size);
		}
	}
}
示例#2
0
static void
SendPhysicalNic (void *handle, unsigned int num_packets, void **packets,
		 unsigned int *packet_sizes, bool print_ok)
{
	if (true)
	{
		UINT i;
		for (i = 0;i < num_packets;i++)
		{
			void *data = packets[i];
			UINT size = packet_sizes[i];

			pro100_send_packet_to_line (handle, data, size);
		}
	}
}