24 if (((*(
u8_t*)
p->payload) & 0xF0) == 0x40)
84 ULONG OperationalStatus;
160 netif_set_addr(IF->
TCPContext, &ipaddr, &netmask, &gw);
162 if (ipaddr.addr != 0)
#define NT_SUCCESS(StatCode)
PIP_PACKET IPInitializePacket(PIP_PACKET IPPacket, ULONG Type)
PNEIGHBOR_CACHE_ENTRY RouteGetRouteToDestination(PIP_ADDRESS Destination)
VOID TCPUnregisterInterface(PIP_INTERFACE IF)
err_t TCPSendDataCallback(struct netif *netif, struct pbuf *p, const ip4_addr_t *dest)
VOID TCPUpdateInterfaceIPInformation(PIP_INTERFACE IF)
VOID TCPUpdateInterfaceLinkStatus(PIP_INTERFACE IF)
err_t TCPInterfaceInit(struct netif *netif)
VOID TCPRegisterInterface(PIP_INTERFACE IF)
err_t tcpip_input(struct pbuf *p, struct netif *inp)
#define NETIF_FLAG_BROADCAST
void netif_set_link_down(struct netif *netif)
void netif_set_down(struct netif *netif)
void netif_remove(struct netif *netif)
struct netif * netif_add(struct netif *netif, void *state, netif_init_fn init, netif_input_fn input)
void netif_set_default(struct netif *netif)
void netif_set_link_up(struct netif *netif)
void netif_set_up(struct netif *netif)
#define MIB_IF_OPER_STATUS_OPERATIONAL
void GetDataPtr(PNDIS_PACKET Packet, UINT Offset, PCHAR *DataOut, PUINT Size)
#define AllocatePacketWithBuffer(x, y, z)
_In_ NDIS_HANDLE _In_ PNDIS_PACKET Packet
#define NDIS_STATUS_SUCCESS
NTSTATUS GetInterfaceIPv4Address(PIP_INTERFACE Interface, ULONG Type, PULONG Address)
VOID GetInterfaceConnectionStatus(PIP_INTERFACE Interface, PULONG OperStatus)
_In_ ULONG _In_ ULONG _In_ ULONG Length
u8_t hwaddr[NETIF_MAX_HWADDR_LEN]
NTSTATUS IPSendDatagram(PIP_PACKET IPPacket, PNEIGHBOR_CACHE_ENTRY NCE)
#define RtlCopyMemory(Destination, Source, Length)
_Must_inspect_result_ _In_ ULONG _In_ PSOCKADDR LocalAddress
_Must_inspect_result_ _In_ ULONG _In_ PSOCKADDR _In_ PSOCKADDR RemoteAddress