vcpe/srcs/include/pppoe_session.h

30 lines
506 B
C

//
// Created by xajhuang on 2022/5/11.
//
#ifndef VCPE_PROJECT_PPPOE_SESSION_H
#define VCPE_PROJECT_PPPOE_SESSION_H
#ifdef __cplusplus
extern "C" {
#endif
#include <uthash/uthash.h>
#include <lwip/netif.h>
#include "user_info.h"
typedef struct {
unsigned int userid;
struct netif *nicif;
struct netif *pppif;
USER_INFO user_info;
UT_hash_handle hh;
} PPPOE_SESSION, *PPPPOE_SESSION;
int pppoe_session_init();
#ifdef __cplusplus
}
#endif
#endif//VCPE_PROJECT_PPPOE_SESSION_H