Home
last modified time | relevance | path

Searched refs:sci (Results 1 – 5 of 5) sorted by relevance

/hostap-latest/src/drivers/
Ddriver_macsec_linux.c125 static int nla_put_rxsc_config(struct nl_msg *msg, u64 sci) in nla_put_rxsc_config() argument
132 NLA_PUT_U64(msg, MACSEC_RXSC_ATTR_SCI, sci); in nla_put_rxsc_config()
741 err = do_dump(drv, 0xff, mka_sci_u64(&sa->sc->sci), sa->an, in macsec_drv_get_receive_lowest_pn()
772 if (nla_put_rxsc_config(msg, mka_sci_u64(&sa->sc->sci))) in macsec_drv_set_receive_lowest_pn()
884 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port), in macsec_drv_create_receive_sc()
891 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci))) in macsec_drv_create_receive_sc()
921 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port)); in macsec_drv_delete_receive_sc()
927 if (nla_put_rxsc_config(msg, mka_sci_u64(&sc->sci))) in macsec_drv_delete_receive_sc()
961 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port), in macsec_drv_create_receive_sa()
973 if (nla_put_rxsc_config(msg, mka_sci_u64(&sa->sc->sci))) in macsec_drv_create_receive_sa()
[all …]
Ddriver_macsec_qca.c63 struct ieee802_1x_mka_sci sci; member
519 struct ieee802_1x_mka_sci *sci, in macsec_qca_lookup_channel() argument
525 if (os_memcmp(&map[i].sci, sci, in macsec_qca_lookup_channel()
537 struct ieee802_1x_mka_sci *sci, in macsec_qca_register_channel() argument
540 os_memcpy(&map[channel].sci, sci, sizeof(struct ieee802_1x_mka_sci)); in macsec_qca_register_channel()
548 return macsec_qca_lookup_channel(drv->receive_channel_map, &sc->sci, in macsec_qca_lookup_receive_channel()
557 macsec_qca_register_channel(drv->receive_channel_map, &sc->sci, in macsec_qca_register_receive_channel()
566 return macsec_qca_lookup_channel(drv->transmit_channel_map, &sc->sci, in macsec_qca_lookup_transmit_channel()
575 macsec_qca_register_channel(drv->transmit_channel_map, &sc->sci, in macsec_qca_register_transmit_channel()
686 const u8 *sci_addr = sc->sci.addr; in macsec_qca_create_receive_sc()
[all …]
/hostap-latest/src/pae/
Dieee802_1x_kay.c116 static const char * sci_txt(const struct ieee802_1x_mka_sci *sci) in sci_txt() argument
121 MAC2STR(sci->addr), be_to_host16(sci->port)); in sci_txt()
426 u64 mka_sci_u64(struct ieee802_1x_mka_sci *sci) in mka_sci_u64() argument
430 os_memcpy(tmp.addr, sci->addr, ETH_ALEN); in mka_sci_u64()
431 tmp.port = sci->port; in mka_sci_u64()
449 const struct ieee802_1x_mka_sci *sci) in ieee802_1x_kay_get_peer_sci() argument
455 if (sci_equal(&peer->sci, sci)) in ieee802_1x_kay_get_peer_sci()
461 if (sci_equal(&peer->sci, sci)) in ieee802_1x_kay_get_peer_sci()
542 os_memcpy(&psc->sci, psci, sizeof(psc->sci)); in ieee802_1x_kay_init_receive_sc()
549 sci_txt(&psc->sci)); in ieee802_1x_kay_init_receive_sc()
[all …]
Dieee802_1x_kay.h81 struct ieee802_1x_mka_sci sci; /* const SCI sci */ member
112 struct ieee802_1x_mka_sci sci; /* const SCI sci */ member
240 u64 mka_sci_u64(struct ieee802_1x_mka_sci *sci);
Dieee802_1x_kay_i.h45 struct ieee802_1x_mka_sci sci; member