• Home
  • Raw
  • Download

Lines Matching refs:assoc_num

144 	u8 assoc_num;  member
1128 macsec_skb_cb(skb)->assoc_num = hdr->tci_an & MACSEC_AN_MASK; in macsec_handle_frame()
1161 rx_sa = macsec_rxsa_get(rx_sc->sa[macsec_skb_cb(skb)->assoc_num]); in macsec_handle_frame()
1508 u8 *assoc_num) in get_txsa_from_nl() argument
1518 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_txsa_from_nl()
1524 if (*assoc_num >= MACSEC_NUM_AN) in get_txsa_from_nl()
1530 tx_sa = rtnl_dereference(tx_sc->sa[*assoc_num]); in get_txsa_from_nl()
1578 u8 *assoc_num) in get_rxsa_from_nl() argument
1586 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_rxsa_from_nl()
1587 if (*assoc_num >= MACSEC_NUM_AN) in get_rxsa_from_nl()
1594 rx_sa = rtnl_dereference(rx_sc->sa[*assoc_num]); in get_rxsa_from_nl()
1719 unsigned char assoc_num; in macsec_add_rxsa() local
1744 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_rxsa()
1777 rx_sa = rtnl_dereference(rx_sc->sa[assoc_num]); in macsec_add_rxsa()
1819 ctx.sa.assoc_num = assoc_num; in macsec_add_rxsa()
1838 rcu_assign_pointer(rx_sc->sa[assoc_num], rx_sa); in macsec_add_rxsa()
1963 unsigned char assoc_num; in macsec_add_txsa() local
1988 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_txsa()
2020 tx_sa = rtnl_dereference(tx_sc->sa[assoc_num]); in macsec_add_txsa()
2048 if (assoc_num == tx_sc->encoding_sa && tx_sa->active) in macsec_add_txsa()
2062 ctx.sa.assoc_num = assoc_num; in macsec_add_txsa()
2081 rcu_assign_pointer(tx_sc->sa[assoc_num], tx_sa); in macsec_add_txsa()
2101 u8 assoc_num; in macsec_del_rxsa() local
2117 &dev, &secy, &rx_sc, &assoc_num); in macsec_del_rxsa()
2139 ctx.sa.assoc_num = assoc_num; in macsec_del_rxsa()
2148 RCU_INIT_POINTER(rx_sc->sa[assoc_num], NULL); in macsec_del_rxsa()
2230 u8 assoc_num; in macsec_del_txsa() local
2242 &dev, &secy, &tx_sc, &assoc_num); in macsec_del_txsa()
2264 ctx.sa.assoc_num = assoc_num; in macsec_del_txsa()
2273 RCU_INIT_POINTER(tx_sc->sa[assoc_num], NULL); in macsec_del_txsa()
2315 u8 assoc_num; in macsec_upd_txsa() local
2334 &dev, &secy, &tx_sc, &assoc_num); in macsec_upd_txsa()
2362 if (assoc_num == tx_sc->encoding_sa) in macsec_upd_txsa()
2376 ctx.sa.assoc_num = assoc_num; in macsec_upd_txsa()
2409 u8 assoc_num; in macsec_upd_rxsa() local
2432 &dev, &secy, &rx_sc, &assoc_num); in macsec_upd_rxsa()
2470 ctx.sa.assoc_num = assoc_num; in macsec_upd_rxsa()
2684 ctx.sa.assoc_num = an; in get_tx_sa_stats()
2728 ctx.sa.assoc_num = an; in get_rx_sa_stats()