Searched refs:mac_state (Results 1 – 1 of 1) sorted by relevance
95 enum cookie_mac_state mac_state; in wg_receive_handshake_packet() local121 mac_state = wg_cookie_validate_packet(&wg->cookie_checker, skb, in wg_receive_handshake_packet()123 if ((under_load && mac_state == VALID_MAC_WITH_COOKIE) || in wg_receive_handshake_packet()124 (!under_load && mac_state == VALID_MAC_BUT_NO_COOKIE)) { in wg_receive_handshake_packet()126 } else if (under_load && mac_state == VALID_MAC_BUT_NO_COOKIE) { in wg_receive_handshake_packet()