Home | History | Annotate | Download | only in pae

Lines Matching refs:kay

20 int secy_cp_control_validate_frames(struct ieee802_1x_kay *kay,
23 kay->vf = vf;
28 int secy_cp_control_protect_frames(struct ieee802_1x_kay *kay, Boolean enabled)
32 if (!kay) {
33 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
37 ops = kay->ctx;
40 "KaY: secy enable_protect_frames operation not supported");
48 int secy_cp_control_replay(struct ieee802_1x_kay *kay, Boolean enabled, u32 win)
52 if (!kay) {
53 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
57 ops = kay->ctx;
60 "KaY: secy set_replay_protect operation not supported");
68 int secy_cp_control_current_cipher_suite(struct ieee802_1x_kay *kay,
73 if (!kay) {
74 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
78 ops = kay->ctx;
81 "KaY: secy set_current_cipher_suite operation not supported");
89 int secy_cp_control_confidentiality_offset(struct ieee802_1x_kay *kay,
92 kay->co = co;
97 int secy_cp_control_enable_port(struct ieee802_1x_kay *kay, Boolean enabled)
101 if (!kay) {
102 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
106 ops = kay->ctx;
109 "KaY: secy enable_controlled_port operation not supported");
117 int secy_get_receive_lowest_pn(struct ieee802_1x_kay *kay,
122 if (!kay || !rxsa) {
123 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
127 ops = kay->ctx;
130 "KaY: secy get_receive_lowest_pn operation not supported");
141 int secy_get_transmit_next_pn(struct ieee802_1x_kay *kay,
146 if (!kay || !txsa) {
147 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
151 ops = kay->ctx;
154 "KaY: secy get_receive_lowest_pn operation not supported");
165 int secy_set_transmit_next_pn(struct ieee802_1x_kay *kay,
170 if (!kay || !txsa) {
171 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
175 ops = kay->ctx;
178 "KaY: secy get_receive_lowest_pn operation not supported");
189 int secy_get_available_receive_sc(struct ieee802_1x_kay *kay, u32 *channel)
193 if (!kay) {
194 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
198 ops = kay->ctx;
201 "KaY: secy get_available_receive_sc operation not supported");
209 int secy_create_receive_sc(struct ieee802_1x_kay *kay, struct receive_sc *rxsc)
213 if (!kay || !rxsc) {
214 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
218 ops = kay->ctx;
221 "KaY: secy create_receive_sc operation not supported");
226 kay->vf, kay->co);
230 int secy_delete_receive_sc(struct ieee802_1x_kay *kay, struct receive_sc *rxsc)
234 if (!kay || !rxsc) {
235 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
239 ops = kay->ctx;
242 "KaY: secy delete_receive_sc operation not supported");
250 int secy_create_receive_sa(struct ieee802_1x_kay *kay, struct receive_sa *rxsa)
254 if (!kay || !rxsa) {
255 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
259 ops = kay->ctx;
262 "KaY: secy create_receive_sa operation not supported");
271 int secy_enable_receive_sa(struct ieee802_1x_kay *kay, struct receive_sa *rxsa)
275 if (!kay || !rxsa) {
276 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
280 ops = kay->ctx;
283 "KaY: secy enable_receive_sa operation not supported");
293 int secy_disable_receive_sa(struct ieee802_1x_kay *kay, struct receive_sa *rxsa)
297 if (!kay || !rxsa) {
298 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
302 ops = kay->ctx;
305 "KaY: secy disable_receive_sa operation not supported");
315 int secy_get_available_transmit_sc(struct ieee802_1x_kay *kay, u32 *channel)
319 if (!kay) {
320 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
324 ops = kay->ctx;
327 "KaY: secy get_available_transmit_sc operation not supported");
335 int secy_create_transmit_sc(struct ieee802_1x_kay *kay,
340 if (!kay || !txsc) {
341 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
345 ops = kay->ctx;
348 "KaY: secy create_transmit_sc operation not supported");
353 kay->co);
357 int secy_delete_transmit_sc(struct ieee802_1x_kay *kay,
362 if (!kay || !txsc) {
363 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
367 ops = kay->ctx;
370 "KaY: secy delete_transmit_sc operation not supported");
378 int secy_create_transmit_sa(struct ieee802_1x_kay *kay,
383 if (!kay || !txsa) {
384 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
388 ops = kay->ctx;
391 "KaY: secy create_transmit_sa operation not supported");
401 int secy_enable_transmit_sa(struct ieee802_1x_kay *kay,
406 if (!kay || !txsa) {
407 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
411 ops = kay->ctx;
414 "KaY: secy enable_transmit_sa operation not supported");
424 int secy_disable_transmit_sa(struct ieee802_1x_kay *kay,
429 if (!kay || !txsa) {
430 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
434 ops = kay->ctx;
437 "KaY: secy disable_transmit_sa operation not supported");
447 int secy_init_macsec(struct ieee802_1x_kay *kay)
453 if (!kay) {
454 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
458 ops = kay->ctx;
461 "KaY: secy macsec_init operation not supported");
475 int secy_deinit_macsec(struct ieee802_1x_kay *kay)
479 if (!kay) {
480 wpa_printf(MSG_ERROR, "KaY: %s params invalid", __func__);
484 ops = kay->ctx;
487 "KaY: secy macsec_deinit operation not supported");