Searched defs:PPPoEPacketStruct (Results 1 – 1 of 1) sorted by relevance
206 typedef struct PPPoEPacketStruct { struct207 struct ethhdr ethHdr; /* Ethernet header */209 unsigned int type:4; /* PPPoE Type (must be 1) */210 unsigned int ver:4; /* PPPoE Version (must be 1) */212 unsigned int ver:4; /* PPPoE Version (must be 1) */213 unsigned int type:4; /* PPPoE Type (must be 1) */215 unsigned int code:8; /* PPPoE code */216 unsigned int session:16; /* PPPoE session */217 unsigned int length:16; /* Payload length */218 unsigned char payload[ETH_DATA_LEN]; /* A bit of room to spare */