Lines Matching full:body

85 static void set_mka_param_body_len(void *body, unsigned int len)  in set_mka_param_body_len()  argument
87 struct ieee802_1x_mka_hdr *hdr = body; in set_mka_param_body_len()
93 static unsigned int get_mka_param_body_len(const void *body) in get_mka_param_body_len() argument
95 const struct ieee802_1x_mka_hdr *hdr = body; in get_mka_param_body_len()
100 static u8 get_mka_param_body_type(const void *body) in get_mka_param_body_type() argument
102 const struct ieee802_1x_mka_hdr *hdr = body; in get_mka_param_body_type()
139 ieee802_1x_mka_dump_basic_body(struct ieee802_1x_mka_basic_body *body) in ieee802_1x_mka_dump_basic_body() argument
143 if (!body) in ieee802_1x_mka_dump_basic_body()
147 body_len = get_mka_param_body_len(body); in ieee802_1x_mka_dump_basic_body()
149 wpa_printf(MSG_DEBUG, "\tMKA Version Identifier: %d", body->version); in ieee802_1x_mka_dump_basic_body()
150 wpa_printf(MSG_DEBUG, "\tKey Server Priority: %d", body->priority); in ieee802_1x_mka_dump_basic_body()
151 wpa_printf(MSG_DEBUG, "\tKey Server: %d", body->key_server); in ieee802_1x_mka_dump_basic_body()
152 wpa_printf(MSG_DEBUG, "\tMACsec Desired: %d", body->macsec_desired); in ieee802_1x_mka_dump_basic_body()
154 body->macsec_capability); in ieee802_1x_mka_dump_basic_body()
155 wpa_printf(MSG_DEBUG, "\tParameter set body length: %zu", body_len); in ieee802_1x_mka_dump_basic_body()
156 wpa_printf(MSG_DEBUG, "\tSCI: %s", sci_txt(&body->actor_sci)); in ieee802_1x_mka_dump_basic_body()
158 mi_txt(body->actor_mi)); in ieee802_1x_mka_dump_basic_body()
160 be_to_host32(body->actor_mn)); in ieee802_1x_mka_dump_basic_body()
162 algo_agility_txt(body->algo_agility)); in ieee802_1x_mka_dump_basic_body()
163 wpa_hexdump(MSG_DEBUG, "\tCAK Name", body->ckn, in ieee802_1x_mka_dump_basic_body()
164 body_len + MKA_HDR_LEN - sizeof(*body)); in ieee802_1x_mka_dump_basic_body()
172 ieee802_1x_mka_dump_peer_body(struct ieee802_1x_mka_peer_body *body) in ieee802_1x_mka_dump_peer_body() argument
179 if (body == NULL) in ieee802_1x_mka_dump_peer_body()
183 body_len = get_mka_param_body_len(body); in ieee802_1x_mka_dump_peer_body()
184 if (body->type == MKA_LIVE_PEER_LIST) { in ieee802_1x_mka_dump_peer_body()
187 } else if (body->type == MKA_POTENTIAL_PEER_LIST) { in ieee802_1x_mka_dump_peer_body()
193 mi = body->peer + i; in ieee802_1x_mka_dump_peer_body()
205 ieee802_1x_mka_dump_dist_sak_body(struct ieee802_1x_mka_dist_sak_body *body) in ieee802_1x_mka_dump_dist_sak_body() argument
209 if (body == NULL) in ieee802_1x_mka_dump_dist_sak_body()
213 body_len = get_mka_param_body_len(body); in ieee802_1x_mka_dump_dist_sak_body()
215 wpa_printf(MSG_DEBUG, "\tDistributed AN........: %d", body->dan); in ieee802_1x_mka_dump_dist_sak_body()
217 body->confid_offset); in ieee802_1x_mka_dump_dist_sak_body()
223 be_to_host32(body->kn)); in ieee802_1x_mka_dump_dist_sak_body()
226 body->sak, 24); in ieee802_1x_mka_dump_dist_sak_body()
227 } else if (body_len > CS_ID_LEN - sizeof(body->kn)) { in ieee802_1x_mka_dump_dist_sak_body()
229 body->sak, CS_ID_LEN); in ieee802_1x_mka_dump_dist_sak_body()
231 body->sak + CS_ID_LEN, in ieee802_1x_mka_dump_dist_sak_body()
232 body_len - CS_ID_LEN - sizeof(body->kn)); in ieee802_1x_mka_dump_dist_sak_body()
247 ieee802_1x_mka_dump_sak_use_body(struct ieee802_1x_mka_sak_use_body *body) in ieee802_1x_mka_dump_sak_use_body() argument
251 if (body == NULL) in ieee802_1x_mka_dump_sak_use_body()
255 body_len = get_mka_param_body_len(body); in ieee802_1x_mka_dump_sak_use_body()
257 wpa_printf(MSG_DEBUG, "\tLatest Key AN....: %d", body->lan); in ieee802_1x_mka_dump_sak_use_body()
258 wpa_printf(MSG_DEBUG, "\tLatest Key Tx....: %s", yes_no(body->ltx)); in ieee802_1x_mka_dump_sak_use_body()
259 wpa_printf(MSG_DEBUG, "\tLatest Key Rx....: %s", yes_no(body->lrx)); in ieee802_1x_mka_dump_sak_use_body()
260 wpa_printf(MSG_DEBUG, "\tOld Key AN.......: %d", body->oan); in ieee802_1x_mka_dump_sak_use_body()
261 wpa_printf(MSG_DEBUG, "\tOld Key Tx.......: %s", yes_no(body->otx)); in ieee802_1x_mka_dump_sak_use_body()
262 wpa_printf(MSG_DEBUG, "\tOld Key Rx.......: %s", yes_no(body->orx)); in ieee802_1x_mka_dump_sak_use_body()
263 wpa_printf(MSG_DEBUG, "\tPlain Tx.........: %s", yes_no(body->ptx)); in ieee802_1x_mka_dump_sak_use_body()
264 wpa_printf(MSG_DEBUG, "\tPlain Rx.........: %s", yes_no(body->prx)); in ieee802_1x_mka_dump_sak_use_body()
266 yes_no(body->delay_protect)); in ieee802_1x_mka_dump_sak_use_body()
271 wpa_printf(MSG_DEBUG, "\tKey Server MI....: %s", mi_txt(body->lsrv_mi)); in ieee802_1x_mka_dump_sak_use_body()
273 be_to_host32(body->lkn)); in ieee802_1x_mka_dump_sak_use_body()
275 be_to_host32(body->llpn)); in ieee802_1x_mka_dump_sak_use_body()
276 wpa_printf(MSG_DEBUG, "\tOld Key Server MI: %s", mi_txt(body->osrv_mi)); in ieee802_1x_mka_dump_sak_use_body()
278 be_to_host32(body->okn)); in ieee802_1x_mka_dump_sak_use_body()
280 be_to_host32(body->olpn)); in ieee802_1x_mka_dump_sak_use_body()
747 struct ieee802_1x_mka_basic_body *body; in ieee802_1x_mka_encode_basic_body() local
752 body = wpabuf_put(buf, MKA_ALIGN_LENGTH(length)); in ieee802_1x_mka_encode_basic_body()
754 body->version = kay->mka_version; in ieee802_1x_mka_encode_basic_body()
755 body->priority = kay->actor_priority; in ieee802_1x_mka_encode_basic_body()
759 body->key_server = participant->is_key_server; in ieee802_1x_mka_encode_basic_body()
761 body->key_server = participant->can_be_key_server; in ieee802_1x_mka_encode_basic_body()
763 body->macsec_desired = kay->macsec_desired; in ieee802_1x_mka_encode_basic_body()
764 body->macsec_capability = kay->macsec_capable; in ieee802_1x_mka_encode_basic_body()
765 set_mka_param_body_len(body, length - MKA_HDR_LEN); in ieee802_1x_mka_encode_basic_body()
767 os_memcpy(body->actor_sci.addr, kay->actor_sci.addr, in ieee802_1x_mka_encode_basic_body()
769 body->actor_sci.port = kay->actor_sci.port; in ieee802_1x_mka_encode_basic_body()
771 os_memcpy(body->actor_mi, participant->mi, sizeof(body->actor_mi)); in ieee802_1x_mka_encode_basic_body()
773 body->actor_mn = host_to_be32(participant->mn); in ieee802_1x_mka_encode_basic_body()
774 os_memcpy(body->algo_agility, kay->algo_agility, in ieee802_1x_mka_encode_basic_body()
775 sizeof(body->algo_agility)); in ieee802_1x_mka_encode_basic_body()
777 os_memcpy(body->ckn, participant->ckn.name, participant->ckn.len); in ieee802_1x_mka_encode_basic_body()
779 ieee802_1x_mka_dump_basic_body(body); in ieee802_1x_mka_encode_basic_body()
804 const struct ieee802_1x_mka_basic_body *body; in ieee802_1x_mka_decode_basic_body() local
809 body = (const struct ieee802_1x_mka_basic_body *) mka_msg; in ieee802_1x_mka_decode_basic_body()
811 if (body->version > MKA_VERSION_ID) { in ieee802_1x_mka_decode_basic_body()
814 body->version, MKA_VERSION_ID); in ieee802_1x_mka_decode_basic_body()
816 if (kay->is_obliged_key_server && body->key_server) { in ieee802_1x_mka_decode_basic_body()
821 body_len = get_mka_param_body_len(body); in ieee802_1x_mka_decode_basic_body()
823 wpa_printf(MSG_DEBUG, "KaY: Too small body length %zu", in ieee802_1x_mka_decode_basic_body()
829 participant = ieee802_1x_kay_get_participant(kay, body->ckn, ckn_len); in ieee802_1x_mka_decode_basic_body()
837 if (os_memcmp(body->actor_mi, participant->mi, MI_LEN) == 0) { in ieee802_1x_mka_decode_basic_body()
845 os_memcpy(participant->current_peer_id.mi, body->actor_mi, MI_LEN); in ieee802_1x_mka_decode_basic_body()
846 participant->current_peer_id.mn = body->actor_mn; in ieee802_1x_mka_decode_basic_body()
847 os_memcpy(participant->current_peer_sci.addr, body->actor_sci.addr, in ieee802_1x_mka_decode_basic_body()
849 participant->current_peer_sci.port = body->actor_sci.port; in ieee802_1x_mka_decode_basic_body()
852 peer = ieee802_1x_kay_get_peer(participant, body->actor_mi); in ieee802_1x_mka_decode_basic_body()
874 &body->actor_sci); in ieee802_1x_mka_decode_basic_body()
889 participant, body->actor_mi, in ieee802_1x_mka_decode_basic_body()
890 be_to_host32(body->actor_mn)); in ieee802_1x_mka_decode_basic_body()
897 peer->macsec_desired = body->macsec_desired; in ieee802_1x_mka_decode_basic_body()
898 peer->macsec_capability = body->macsec_capability; in ieee802_1x_mka_decode_basic_body()
899 peer->is_key_server = body->key_server; in ieee802_1x_mka_decode_basic_body()
900 peer->key_server_priority = body->priority; in ieee802_1x_mka_decode_basic_body()
901 } else if (peer->mn < be_to_host32(body->actor_mn)) { in ieee802_1x_mka_decode_basic_body()
902 peer->mn = be_to_host32(body->actor_mn); in ieee802_1x_mka_decode_basic_body()
903 peer->macsec_desired = body->macsec_desired; in ieee802_1x_mka_decode_basic_body()
904 peer->macsec_capability = body->macsec_capability; in ieee802_1x_mka_decode_basic_body()
905 peer->is_key_server = body->key_server; in ieee802_1x_mka_decode_basic_body()
906 peer->key_server_priority = body->priority; in ieee802_1x_mka_decode_basic_body()
954 struct ieee802_1x_mka_peer_body *body; in ieee802_1x_mka_encode_live_peer_body() local
960 body = wpabuf_put(buf, sizeof(struct ieee802_1x_mka_peer_body)); in ieee802_1x_mka_encode_live_peer_body()
962 body->type = MKA_LIVE_PEER_LIST; in ieee802_1x_mka_encode_live_peer_body()
963 set_mka_param_body_len(body, length - MKA_HDR_LEN); in ieee802_1x_mka_encode_live_peer_body()
973 ieee802_1x_mka_dump_peer_body(body); in ieee802_1x_mka_encode_live_peer_body()
1014 struct ieee802_1x_mka_peer_body *body; in ieee802_1x_mka_encode_potential_peer_body() local
1020 body = wpabuf_put(buf, sizeof(struct ieee802_1x_mka_peer_body)); in ieee802_1x_mka_encode_potential_peer_body()
1022 body->type = MKA_POTENTIAL_PEER_LIST; in ieee802_1x_mka_encode_potential_peer_body()
1023 set_mka_param_body_len(body, length - MKA_HDR_LEN); in ieee802_1x_mka_encode_potential_peer_body()
1033 ieee802_1x_mka_dump_peer_body(body); in ieee802_1x_mka_encode_potential_peer_body()
1062 …"KaY: MKA Peer Packet Body Length (%zu bytes) is less than the Parameter Set Header Length (%zu by… in ieee802_1x_mka_i_in_peerlist()
1075 "KaY: MKA Peer Packet Body Length (%zu bytes) should be a multiple of 16 octets", in ieee802_1x_mka_i_in_peerlist()
1136 "KaY: MKA Peer Packet Body Length (%zu bytes) should be a multiple of 16 octets", in ieee802_1x_mka_decode_live_peer_body()
1190 "KaY: MKA Peer Packet Body Length (%zu bytes) should be a multiple of 16 octets", in ieee802_1x_mka_decode_potential_peer_body()
1295 struct ieee802_1x_mka_sak_use_body *body; in ieee802_1x_mka_encode_sak_use_body() local
1301 body = wpabuf_put(buf, length); in ieee802_1x_mka_encode_sak_use_body()
1303 body->type = MKA_SAK_USE; in ieee802_1x_mka_encode_sak_use_body()
1304 set_mka_param_body_len(body, length - MKA_HDR_LEN); in ieee802_1x_mka_encode_sak_use_body()
1307 body->ptx = true; in ieee802_1x_mka_encode_sak_use_body()
1308 body->prx = true; in ieee802_1x_mka_encode_sak_use_body()
1309 body->lan = 0; in ieee802_1x_mka_encode_sak_use_body()
1310 body->lrx = false; in ieee802_1x_mka_encode_sak_use_body()
1311 body->ltx = false; in ieee802_1x_mka_encode_sak_use_body()
1312 body->delay_protect = false; in ieee802_1x_mka_encode_sak_use_body()
1317 body->delay_protect = kay->mka_hello_time <= MKA_BOUNDED_HELLO_TIME; in ieee802_1x_mka_encode_sak_use_body()
1320 body->olpn = host_to_be32(olpn); in ieee802_1x_mka_encode_sak_use_body()
1322 body->llpn = host_to_be32(llpn); in ieee802_1x_mka_encode_sak_use_body()
1344 body->ptx = !kay->macsec_protect; in ieee802_1x_mka_encode_sak_use_body()
1345 body->prx = kay->macsec_validate != Strict; in ieee802_1x_mka_encode_sak_use_body()
1348 body->lan = participant->lan; in ieee802_1x_mka_encode_sak_use_body()
1349 os_memcpy(body->lsrv_mi, participant->lki.mi, sizeof(body->lsrv_mi)); in ieee802_1x_mka_encode_sak_use_body()
1350 body->lkn = host_to_be32(participant->lki.kn); in ieee802_1x_mka_encode_sak_use_body()
1351 body->lrx = participant->lrx; in ieee802_1x_mka_encode_sak_use_body()
1352 body->ltx = participant->ltx; in ieee802_1x_mka_encode_sak_use_body()
1355 body->oan = participant->oan; in ieee802_1x_mka_encode_sak_use_body()
1358 body->otx = true; in ieee802_1x_mka_encode_sak_use_body()
1359 body->orx = true; in ieee802_1x_mka_encode_sak_use_body()
1360 os_memcpy(body->osrv_mi, participant->oki.mi, in ieee802_1x_mka_encode_sak_use_body()
1361 sizeof(body->osrv_mi)); in ieee802_1x_mka_encode_sak_use_body()
1362 body->okn = host_to_be32(participant->oki.kn); in ieee802_1x_mka_encode_sak_use_body()
1364 body->otx = false; in ieee802_1x_mka_encode_sak_use_body()
1365 body->orx = false; in ieee802_1x_mka_encode_sak_use_body()
1369 if (body->ltx) { in ieee802_1x_mka_encode_sak_use_body()
1373 if (body->lrx) in ieee802_1x_mka_encode_sak_use_body()
1376 ieee802_1x_mka_dump_sak_use_body(body); in ieee802_1x_mka_encode_sak_use_body()
1390 struct ieee802_1x_mka_sak_use_body *body; in ieee802_1x_mka_decode_sak_use_body() local
1414 body = (struct ieee802_1x_mka_sak_use_body *) mka_msg; in ieee802_1x_mka_decode_sak_use_body()
1415 ieee802_1x_mka_dump_sak_use_body(body); in ieee802_1x_mka_decode_sak_use_body()
1419 "KaY: MKA Use SAK Packet Body Length (%zu bytes) should be 0, 40, or more octets", in ieee802_1x_mka_decode_sak_use_body()
1433 if (body->prx) in ieee802_1x_mka_decode_sak_use_body()
1436 if (body->ptx) in ieee802_1x_mka_decode_sak_use_body()
1439 if (body->delay_protect && in ieee802_1x_mka_decode_sak_use_body()
1440 (!be_to_host32(body->llpn) || !be_to_host32(body->olpn))) { in ieee802_1x_mka_decode_sak_use_body()
1446 olpn = be_to_host32(body->olpn); in ieee802_1x_mka_decode_sak_use_body()
1447 llpn = be_to_host32(body->llpn); in ieee802_1x_mka_decode_sak_use_body()
1465 if (body->lrx) { in ieee802_1x_mka_decode_sak_use_body()
1466 os_memcpy(ki.mi, body->lsrv_mi, sizeof(ki.mi)); in ieee802_1x_mka_decode_sak_use_body()
1467 ki.kn = be_to_host32(body->lkn); in ieee802_1x_mka_decode_sak_use_body()
1470 os_memcpy(ki.mi, body->osrv_mi, sizeof(ki.mi)); in ieee802_1x_mka_decode_sak_use_body()
1471 ki.kn = be_to_host32(body->okn); in ieee802_1x_mka_decode_sak_use_body()
1514 if (body->ltx) { in ieee802_1x_mka_decode_sak_use_body()
1536 if (body->delay_protect) { in ieee802_1x_mka_decode_sak_use_body()
1620 struct ieee802_1x_mka_dist_sak_body *body; in ieee802_1x_mka_encode_dist_sak_body() local
1627 body = wpabuf_put(buf, length); in ieee802_1x_mka_encode_dist_sak_body()
1628 body->type = MKA_DISTRIBUTED_SAK; in ieee802_1x_mka_encode_dist_sak_body()
1629 set_mka_param_body_len(body, length - MKA_HDR_LEN); in ieee802_1x_mka_encode_dist_sak_body()
1631 body->confid_offset = 0; in ieee802_1x_mka_encode_dist_sak_body()
1632 body->dan = 0; in ieee802_1x_mka_encode_dist_sak_body()
1642 body->confid_offset = sak->confidentiality_offset; in ieee802_1x_mka_encode_dist_sak_body()
1643 body->dan = sak->an; in ieee802_1x_mka_encode_dist_sak_body()
1644 body->kn = host_to_be32(sak->key_identifier.kn); in ieee802_1x_mka_encode_dist_sak_body()
1653 os_memcpy(body->sak, &cs, CS_ID_LEN); in ieee802_1x_mka_encode_dist_sak_body()
1658 sak->key, body->sak + sak_pos)) { in ieee802_1x_mka_encode_dist_sak_body()
1663 ieee802_1x_mka_dump_dist_sak_body(body); in ieee802_1x_mka_encode_dist_sak_body()
1692 struct ieee802_1x_mka_dist_sak_body *body; in ieee802_1x_mka_decode_dist_sak_body() local
1706 "KaY: MKA Use SAK Packet Body Length (%zu bytes) should be 0, 28, 36, or more octets", in ieee802_1x_mka_decode_dist_sak_body()
1759 body = (struct ieee802_1x_mka_dist_sak_body *)mka_msg; in ieee802_1x_mka_decode_dist_sak_body()
1760 ieee802_1x_mka_dump_dist_sak_body(body); in ieee802_1x_mka_decode_dist_sak_body()
1765 sa_key->key_identifier.kn == be_to_host32(body->kn)) { in ieee802_1x_mka_decode_dist_sak_body()
1774 wrap_sak = body->sak; in ieee802_1x_mka_decode_dist_sak_body()
1780 cs = ieee802_1x_kay_get_cipher_suite(participant, body->sak, in ieee802_1x_mka_decode_dist_sak_body()
1788 wrap_sak = body->sak + CS_ID_LEN; in ieee802_1x_mka_decode_dist_sak_body()
1814 sa_key->key_identifier.kn = be_to_host32(body->kn); in ieee802_1x_mka_decode_dist_sak_body()
1819 sa_key->confidentiality_offset = body->confid_offset; in ieee802_1x_mka_decode_dist_sak_body()
1820 sa_key->an = body->dan; in ieee802_1x_mka_decode_dist_sak_body()
1828 ieee802_1x_cp_set_offset(kay->cp, body->confid_offset); in ieee802_1x_mka_decode_dist_sak_body()
1831 ieee802_1x_cp_set_distributedan(kay->cp, body->dan); in ieee802_1x_mka_decode_dist_sak_body()
1891 struct ieee802_1x_mka_icv_body *body; in ieee802_1x_mka_encode_icv_body() local
1899 body = wpabuf_put(buf, MKA_HDR_LEN); in ieee802_1x_mka_encode_icv_body()
1900 body->type = MKA_ICV_INDICATOR; in ieee802_1x_mka_encode_icv_body()
1902 set_mka_param_body_len(body, length); in ieee802_1x_mka_encode_icv_body()
1926 const struct ieee802_1x_mka_icv_body *body; in ieee802_1x_mka_decode_icv_body() local
1948 body = (const struct ieee802_1x_mka_icv_body *) pos; in ieee802_1x_mka_decode_icv_body()
1953 return body->icv; in ieee802_1x_mka_decode_icv_body()
1975 "KaY: MKA Use CAK Packet Body Length (%zu bytes) should be 28 or more octets", in ieee802_1x_mka_decode_dist_cak_body()
1999 "KaY: MKA Use KMD Packet Body Length (%zu bytes) should be 5 or more octets", in ieee802_1x_mka_decode_kmd_body()
2485 "KaY: Common EAPOL PDU structure: Protocol Version=%u Packet Type=%u Packet Body Length=%u", in ieee802_1x_kay_encode_mkpdu()
3108 struct ieee802_1x_mka_basic_body *body; in ieee802_1x_kay_mkpdu_validity_check() local
3135 "KaY: Common EAPOL PDU structure: Protocol Version=%u Packet Type=%u Packet Body Length=%u", in ieee802_1x_kay_mkpdu_validity_check()
3152 wpa_hexdump(MSG_MSGDUMP, "KaY: EAPOL-MKA Packet Body (MKPDU)", in ieee802_1x_kay_mkpdu_validity_check()
3156 body = (struct ieee802_1x_mka_basic_body *) mka_hdr; in ieee802_1x_kay_mkpdu_validity_check()
3157 body_len = get_mka_param_body_len(body); in ieee802_1x_kay_mkpdu_validity_check()
3158 /* EAPOL-MKA body should comprise basic parameter set and ICV */ in ieee802_1x_kay_mkpdu_validity_check()
3161 … EAPOL-MKA Packet Body Length (%zu bytes) is less than the Basic Parameter Set Header Length (%zu … in ieee802_1x_kay_mkpdu_validity_check()
3168 wpa_printf(MSG_DEBUG, "KaY: Too small body length %zu", in ieee802_1x_kay_mkpdu_validity_check()
3181 ieee802_1x_mka_dump_basic_body(body); in ieee802_1x_kay_mkpdu_validity_check()
3184 participant = ieee802_1x_kay_get_participant(kay, body->ckn, ckn_len); in ieee802_1x_kay_mkpdu_validity_check()
3191 if (os_memcmp(body->algo_agility, mka_algo_agility, in ieee802_1x_kay_mkpdu_validity_check()
3192 sizeof(body->algo_agility)) != 0) { in ieee802_1x_kay_mkpdu_validity_check()
3195 algo_agility_txt(body->algo_agility)); in ieee802_1x_kay_mkpdu_validity_check()
3201 * The ICV will comprise the final octets of the packet body, whatever in ieee802_1x_kay_mkpdu_validity_check()
3203 * packet body length. in ieee802_1x_kay_mkpdu_validity_check()
3324 …"KaY: MKA Peer Packet Body Length (%zu bytes) is less than the Parameter Set Header Length (%zu by… in ieee802_1x_kay_decode_mkpdu()
3332 "KaY: Ignore duplicated body type %u", in ieee802_1x_kay_decode_mkpdu()
3362 "KaY: The body type %d is not supported in this MKA version %d", in ieee802_1x_kay_decode_mkpdu()
3466 "KaY: Ignore extra octets following the Packey Body field", in kay_l2_receive()