Lines Matching refs:macsec_priv
115 static struct macsec_dev *macsec_priv(const struct net_device *dev) in macsec_priv() function
493 struct macsec_dev *macsec = macsec_priv(skb->dev); in macsec_msdu_len()
529 struct macsec_dev *macsec = macsec_priv(dev); in macsec_encrypt_done()
592 struct macsec_dev *macsec = macsec_priv(dev); in macsec_encrypt()
646 if (skb->len - ETH_HLEN > macsec_priv(dev)->real_dev->mtu) { in macsec_encrypt()
831 struct macsec_dev *macsec = macsec_priv(dev); in macsec_decrypt_done()
1163 macsec = macsec_priv(dev); in macsec_handle_frame()
1419 struct net_device *real_dev = macsec_priv(dev)->real_dev; in create_rx_sc()
1442 secy = &macsec_priv(dev)->secy; in create_rx_sc()
1549 secy = &macsec_priv(dev)->secy; in get_txsa_from_nl()
1577 secy = &macsec_priv(dev)->secy; in get_rxsc_from_nl()
1898 secy = &macsec_priv(dev)->secy; in macsec_add_rxsc()
1993 secy = &macsec_priv(dev)->secy; in macsec_add_txsa()
2194 secy = &macsec_priv(dev)->secy; in macsec_del_rxsc()
2594 macsec = macsec_priv(dev); in macsec_update_offload()
2656 macsec = macsec_priv(dev); in macsec_upd_offload()
2676 struct macsec_dev *macsec = macsec_priv(dev); in get_tx_sa_stats()
2689 ctx.secy = &macsec_priv(dev)->secy; in get_tx_sa_stats()
2720 struct macsec_dev *macsec = macsec_priv(dev); in get_rx_sa_stats()
2733 ctx.secy = &macsec_priv(dev)->secy; in get_rx_sa_stats()
2773 struct macsec_dev *macsec = macsec_priv(dev); in get_rx_sc_stats()
2784 ctx.secy = &macsec_priv(dev)->secy; in get_rx_sc_stats()
2855 struct macsec_dev *macsec = macsec_priv(dev); in get_tx_sc_stats()
2866 ctx.secy = &macsec_priv(dev)->secy; in get_tx_sc_stats()
2877 stats = per_cpu_ptr(macsec_priv(dev)->secy.tx_sc.stats, cpu); in get_tx_sc_stats()
2911 struct macsec_dev *macsec = macsec_priv(dev); in get_secy_stats()
2922 ctx.secy = &macsec_priv(dev)->secy; in get_secy_stats()
2933 stats = per_cpu_ptr(macsec_priv(dev)->stats, cpu); in get_secy_stats()
3288 secy = &macsec_priv(dev)->secy; in macsec_dump_txsc()
3440 struct macsec_dev *macsec = macsec_priv(dev); in macsec_dev_init()
3475 struct macsec_dev *macsec = macsec_priv(dev); in macsec_dev_uninit()
3484 struct macsec_dev *macsec = macsec_priv(dev); in macsec_fix_features()
3496 struct macsec_dev *macsec = macsec_priv(dev); in macsec_dev_open()
3548 struct macsec_dev *macsec = macsec_priv(dev); in macsec_dev_stop()
3581 struct net_device *real_dev = macsec_priv(dev)->real_dev; in macsec_dev_change_rx_flags()
3596 struct net_device *real_dev = macsec_priv(dev)->real_dev; in macsec_dev_set_rx_mode()
3604 struct macsec_dev *macsec = macsec_priv(dev); in macsec_set_mac_address()
3641 struct macsec_dev *macsec = macsec_priv(dev); in macsec_change_mtu()
3667 return macsec_priv(dev)->real_dev->ifindex; in macsec_get_iflink()
3708 struct macsec_dev *macsec = macsec_priv(dev); in macsec_free_netdev()
3739 secy = &macsec_priv(dev)->secy; in macsec_changelink_common()
3813 struct macsec_dev *macsec = macsec_priv(dev); in macsec_changelink()
3898 struct macsec_dev *macsec = macsec_priv(dev); in macsec_common_dellink()
3923 struct macsec_dev *macsec = macsec_priv(dev); in macsec_dellink()
3938 struct macsec_dev *macsec = macsec_priv(dev); in register_macsec_dev()
3982 struct macsec_dev *macsec = macsec_priv(dev); in macsec_add_dev()
4030 struct macsec_dev *macsec = macsec_priv(dev); in macsec_newlink()
4230 return dev_net(macsec_priv(dev)->real_dev); in macsec_get_link_net()
4235 return macsec_priv(dev)->real_dev; in macsec_get_real_dev()
4241 return macsec_is_offloaded(macsec_priv(dev)); in macsec_netdev_is_offloaded()
4271 macsec = macsec_priv(dev); in macsec_fill_info()