supplicant_misc.c
error_t ethAcceptMacAddr(NetInterface *interface, const MacAddr *macAddr)
Add a unicast/multicast address to the MAC filter table.
Definition: ethernet.c:601
void netUnlock(NetContext *context)
Release exclusive access to the core of the TCP/IP stack.
Definition: net.c:319
error_t supplicantAcceptPaeGroupAddr(SupplicantContext *context)
Add the PAE group address to the static MAC table.
Definition: supplicant_misc.c:124
void eapDumpHeader(const EapPacket *header)
Dump EAP header for debugging purpose.
Definition: eap_debug.c:105
Supplicant state machine.
Supplicant state machine procedures.
802.1X supplicant
bool_t supplicantGetLinkState(SupplicantContext *context)
Get link state.
Definition: supplicant_misc.c:84
error_t ethDropMacAddr(NetInterface *interface, const MacAddr *macAddr)
Remove a unicast/multicast address from the MAC filter table.
Definition: ethernet.c:673
error_t socketSendMsg(Socket *socket, const SocketMsg *message, uint_t flags)
Send a message to a connectionless socket.
Definition: socket.c:1666
void eapolDumpHeader(const EapolPdu *header)
Dump EAPOL header for debugging purpose.
Definition: eap_debug.c:85
NetInterface * nicGetPhysicalInterface(NetInterface *interface)
Retrieve physical interface.
Definition: nic.c:87
void supplicantFsm(SupplicantContext *context)
Supplicant state machine implementation.
Definition: supplicant_fsm.c:126
void supplicantTick(SupplicantContext *context)
Handle periodic operations.
Definition: supplicant_misc.c:54
error_t socketReceiveMsg(Socket *socket, SocketMsg *message, uint_t flags)
Receive a message from a connectionless socket.
Definition: socket.c:1926
error_t netGetMacAddr(NetInterface *interface, MacAddr *macAddr)
Retrieve MAC address.
Definition: net.c:605
error_t supplicantSendEapolPdu(SupplicantContext *context, const uint8_t *pdu, size_t length)
Send EAPOL PDU.
Definition: supplicant_misc.c:264
void supplicantProcessEapolPdu(SupplicantContext *context)
Process incoming EAPOL PDU.
Definition: supplicant_misc.c:312
Data logging functions for debugging purpose (EAP)
void supplicantProcessEapPacket(SupplicantContext *context, const EapPacket *packet, size_t length)
Process incoming EAP packet.
Definition: supplicant_misc.c:393
void netLock(NetContext *context)
Get exclusive access to the core of the TCP/IP stack.
Definition: net.c:307
void supplicantDecrementTimer(uint_t *x)
Decrement timer value.
Definition: supplicant_procedures.c:180
error_t supplicantDropPaeGroupAddr(SupplicantContext *context)
Remove the PAE group address from the static MAC table.
Definition: supplicant_misc.c:198
Debugging facilities.
Helper functions for 802.1X supplicant.
