Hi all,
I need help with getting the subnet mask from bound interfaces protocol
date.
I can get the ip address by intercepting OID_GEN_NETWORK_LAYER_ADDRESS
coming from my protocol driver, but it eventually me something like
this struct:
typedef struct _NETWORK_ADDRESS_IP
{
USHORT sin_port;
ULONG in_addr;
UCHAR sin_zero[8];
} NETWORK_ADDRESS_IP, *PNETWORK_ADDRESS_IP;
Which is similar to something you can get through TDI:
typedef struct _TDI_ADDRESS_IP {
USHORT sin_port;
ULONG in_addr;
UCHAR sin_zero[8];
} TDI_ADDRESS_IP, *PTDI_ADDRESS_IP;
Which does not include mask info.
Any advice?