Functions | |
void | NutPapInput (NUTDEVICE *dev, NETBUF *nb) |
Handle incoming PAP packets. | |
int | NutPapOutput (NUTDEVICE *dev, u_char code, u_char id, NETBUF *nb) |
Send a PAP packet. | |
void | PapRxAuthAck (NUTDEVICE *dev, u_char id, NETBUF *nb) |
void | PapRxAuthNak (NUTDEVICE *dev, u_char id, NETBUF *nb) |
void | PapRxAuthReq (NUTDEVICE *dev, u_char id, NETBUF *nb) |
void | PapTxAuthReq (NUTDEVICE *dev, u_char id) |
Handle incoming PAP packets.
dev | Identifies the device that received the packet. | |
nb | Pointer to a network buffer structure containing the PAP packet. |
Send a PAP packet.
dev | Identifies the device to use. | |
code | Type subcode. | |
id | Exchange identifier. | |
nb | Network buffer structure containing the packet to send or null if the packet contains no information. The structure must have been allocated by a previous call NutNetBufAlloc() and will be freed when this function returns. |