src/Cedar/VLanWin32.c
// Get the packet adapter of the VLAN

Get the packet adapter of the VLAN
Get the packet adapter of the VLAN
PACKET_ADAPTER *VLanGetPacketAdapter()
{
	PACKET_ADAPTER *pa;
	pa = NewPacketAdapter(VLanPaInit, VLanPaGetCancel,
		VLanPaGetNextPacket, VLanPaPutPacket, VLanPaFree);
	if (pa == NULL)
	{
		return NULL;
	}
	pa->Id = PACKET_ADAPTER_ID_VLAN_WIN32;
	return pa;
}
PACKET_ADAPTER * VLanGetPacketAdapter ( ) { PACKET_ADAPTER * pa ; pa = NewPacketAdapter ( VLanPaInit , VLanPaGetCancel , VLanPaGetNextPacket , VLanPaPutPacket , VLanPaFree ) ; if ( pa == NULL ) { return NULL ; } pa -> Id = PACKET_ADAPTER_ID_VLAN_WIN32 ; return pa ; }
Get the packet adapter of the VLAN
Get the packet adapter of the VLAN