⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pppoe.h

📁 NDIS 实现pppoe例子
💻 H
字号:
/*
    MikroTik PPPoE - MikroTik PPP over Ethernet client for Windows
    Copyright (C),  2001  MikroTikls

    The contents of this program are subject to the Mozilla Public License 
    Version 1.1; you may not use this program except in compliance with the 
    License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ 

    
    http://www.mikrotik.com
    mt@mt.lv
*/


#ifndef _PPPOE_PPPOE_H_
#define _PPPOE_PPPOE_H_

#include "adapter.h"
#include "packet.h"

void PppoeInitAdapter(PADAPTER a);
void PppoeInitialize(PADAPTER a);
NDIS_STATUS PppoeConnect(PADAPTER a, PCHAR address, ULONG alen);
void PppoeTerminate(PADAPTER a);
NDIS_STATUS PppoeTransmit(PADAPTER a, PNDIS_WAN_PACKET p);
NDIS_STATUS PppoeSendPacket(PADAPTER a, PPPOE_PACKET *, UINT);

void PppoeReceiveDiscovery(PADAPTER a, PPPOE_PACKET *packet, UINT size);
void PppoeReceiveSession(PADAPTER a, PPPOE_PACKET *packet, UINT size);

void MyFreeNdisPacket(PNDIS_PACKET p); // <-- A kur citur vinju likt?

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -