Functions | |
void | LcpResetOptions (NUTDEVICE *dev) |
void | LcpRxProtRej (NUTDEVICE *dev) |
void | LcpTxConfReq (NUTDEVICE *dev, u_char id, u_char rejected) |
void | LcpTxProtRej (NUTDEVICE *dev, u_short protocol, NETBUF *nb) |
void | NutLcpInput (NUTDEVICE *dev, NETBUF *nb) |
Handle incoming LCP packets. | |
int | NutLcpOutput (NUTDEVICE *dev, u_char code, u_char id, NETBUF *nb) |
Send a LCP packet. | |
Variables | |
u_long | new_magic |
u_long | new_magic |
Handle incoming LCP packets.
Packets not destined to us or packets with unsupported address type or item length are silently discarded.
dev | Identifies the device that received the packet. | |
nb | Pointer to a network buffer structure containing the ARP packet. |
Send a LCP 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. |