Good day.
When each WAN connection coming up/down, NDIS_WAN_LINE_UP/_NDIS_WAN_LINE_DOWN event fires in ndis. Each WAN connection has it’s own virtual ethernet-like MAC’s (local/remote). How can i receive this virtual local/remote MAC addresses after firing SetWanEvent of NDISWAN adapter? Better if all elements of structure would be avaible.
typedef struct _NDIS_WAN_LINE_UP {
IN ULONG LinkSpeed;
IN ULONG MaximumTotalSize;
IN NDIS_WAN_QUALITY Quality;
IN USHORT SendWindow;
IN UCHAR RemoteAddress[6];
IN OUT UCHAR LocalAddress[6];
IN ULONG ProtocolBufferLength;
IN PUCHAR ProtocolBuffer;
IN USHORT ProtocolType;
IN OUT NDIS_STRING DeviceName;
} NDIS_WAN_LINE_UP, *PNDIS_WAN_LINE_UP;
typedef struct _NDIS_WAN_LINE_DOWN {
IN UCHAR RemoteAddress[6];
IN UCHAR LocalAddress[6];
} NDIS_WAN_LINE_DOWN, *PNDIS_WAN_LINE_DOWN;
Thank you.
Best regards.