Lines Matching +defs:dev +defs:attrs
118 static struct macsec_dev *macsec_priv(const struct net_device *dev) in macsec_priv()
123 static struct macsec_rxh_data *macsec_data_rcu(const struct net_device *dev) in macsec_data_rcu()
128 static struct macsec_rxh_data *macsec_data_rtnl(const struct net_device *dev) in macsec_data_rtnl()
485 static void macsec_encrypt_finish(struct sk_buff *skb, struct net_device *dev) in macsec_encrypt_finish()
522 static void count_tx(struct net_device *dev, int ret, int len) in count_tx()
531 struct net_device *dev = skb->dev; in macsec_encrypt_done() local
582 struct net_device *dev) in macsec_encrypt()
806 static void macsec_reset_skb(struct sk_buff *skb, struct net_device *dev) in macsec_reset_skb()
825 static void count_rx(struct net_device *dev, int len) in count_rx()
833 struct net_device *dev = skb->dev; in macsec_decrypt_done() local
870 struct net_device *dev, in macsec_decrypt()
1090 struct net_device *dev = skb->dev; in macsec_handle_frame() local
1417 static struct macsec_rx_sc *create_rx_sc(struct net_device *dev, sci_t sci, in create_rx_sc()
1486 struct nlattr **attrs) in get_dev_from_nl()
1489 struct net_device *dev; in get_dev_from_nl() local
1528 struct nlattr **attrs, in get_txsa_from_nl()
1535 struct net_device *dev; in get_txsa_from_nl() local
1566 struct nlattr **attrs, in get_rxsc_from_nl()
1571 struct net_device *dev; in get_rxsc_from_nl() local
1597 struct nlattr **attrs, in get_rxsa_from_nl()
1676 static int parse_sa_config(struct nlattr **attrs, struct nlattr **tb_sa) in parse_sa_config()
1687 static int parse_rxsc_config(struct nlattr **attrs, struct nlattr **tb_rxsc) in parse_rxsc_config()
1698 static bool validate_add_rxsa(struct nlattr **attrs) in validate_add_rxsa()
1725 struct net_device *dev; in macsec_add_rxsa() local
1726 struct nlattr **attrs = info->attrs; in macsec_add_rxsa() local
1861 static bool validate_add_rxsc(struct nlattr **attrs) in validate_add_rxsc()
1876 struct net_device *dev; in macsec_add_rxsc() local
1878 struct nlattr **attrs = info->attrs; in macsec_add_rxsc() local
1942 static bool validate_add_txsa(struct nlattr **attrs) in validate_add_txsa()
1969 struct net_device *dev; in macsec_add_txsa() local
1970 struct nlattr **attrs = info->attrs; in macsec_add_txsa() local
2107 struct nlattr **attrs = info->attrs; in macsec_del_rxsa() local
2108 struct net_device *dev; in macsec_del_rxsa() local
2173 struct nlattr **attrs = info->attrs; in macsec_del_rxsc() local
2174 struct net_device *dev; in macsec_del_rxsc() local
2236 struct nlattr **attrs = info->attrs; in macsec_del_txsa() local
2237 struct net_device *dev; in macsec_del_txsa() local
2296 static bool validate_upd_sa(struct nlattr **attrs) in validate_upd_sa()
2321 struct nlattr **attrs = info->attrs; in macsec_upd_txsa() local
2322 struct net_device *dev; in macsec_upd_txsa() local
2415 struct nlattr **attrs = info->attrs; in macsec_upd_rxsa() local
2416 struct net_device *dev; in macsec_upd_rxsa() local
2507 struct nlattr **attrs = info->attrs; in macsec_upd_rxsc() local
2508 struct net_device *dev; in macsec_upd_rxsc() local
2596 static void macsec_set_head_tail_room(struct net_device *dev) in macsec_set_head_tail_room()
2616 static int macsec_update_offload(struct net_device *dev, enum macsec_offload offload) in macsec_update_offload()
2667 struct nlattr **attrs = info->attrs; in macsec_upd_offload() local
2670 struct net_device *dev; in macsec_upd_offload() local
2707 static void get_tx_sa_stats(struct net_device *dev, int an, in get_tx_sa_stats()
2750 static void get_rx_sa_stats(struct net_device *dev, in get_rx_sa_stats()
2804 static void get_rx_sc_stats(struct net_device *dev, in get_rx_sc_stats()
2887 static void get_tx_sc_stats(struct net_device *dev, in get_tx_sc_stats()
2944 static void get_secy_stats(struct net_device *dev, struct macsec_dev_stats *sum) in get_secy_stats()
3067 dump_secy(struct macsec_secy *secy, struct net_device *dev, in dump_secy()
3304 struct net_device *dev; in macsec_dump_txsc() local
3418 struct net_device *dev) in macsec_insert_tx_tag()
3452 struct net_device *dev) in macsec_start_xmit()
3516 static int macsec_dev_init(struct net_device *dev) in macsec_dev_init()
3548 static void macsec_dev_uninit(struct net_device *dev) in macsec_dev_uninit()
3556 static netdev_features_t macsec_fix_features(struct net_device *dev, in macsec_fix_features()
3569 static int macsec_dev_open(struct net_device *dev) in macsec_dev_open()
3621 static int macsec_dev_stop(struct net_device *dev) in macsec_dev_stop()
3654 static void macsec_dev_change_rx_flags(struct net_device *dev, int change) in macsec_dev_change_rx_flags()
3669 static void macsec_dev_set_rx_mode(struct net_device *dev) in macsec_dev_set_rx_mode()
3677 static int macsec_set_mac_address(struct net_device *dev, void *p) in macsec_set_mac_address()
3728 static int macsec_change_mtu(struct net_device *dev, int new_mtu) in macsec_change_mtu()
3741 static void macsec_get_stats64(struct net_device *dev, in macsec_get_stats64()
3754 static int macsec_get_iflink(const struct net_device *dev) in macsec_get_iflink()
3795 static void macsec_free_netdev(struct net_device *dev) in macsec_free_netdev()
3808 static void macsec_setup(struct net_device *dev) in macsec_setup()
3822 static int macsec_changelink_common(struct net_device *dev, in macsec_changelink_common()
3898 static int macsec_changelink(struct net_device *dev, struct nlattr *tb[], in macsec_changelink()
3985 static void macsec_common_dellink(struct net_device *dev, struct list_head *head) in macsec_common_dellink()
4010 static void macsec_dellink(struct net_device *dev, struct list_head *head) in macsec_dellink()
4025 struct net_device *dev) in register_macsec_dev()
4051 static bool sci_exists(struct net_device *dev, sci_t sci) in sci_exists()
4064 static sci_t dev_to_sci(struct net_device *dev, __be16 port) in dev_to_sci()
4069 static int macsec_add_dev(struct net_device *dev, sci_t sci, u8 icv_len) in macsec_add_dev()
4115 static int macsec_newlink(struct net *net, struct net_device *dev, in macsec_newlink()
4320 static struct net *macsec_get_link_net(const struct net_device *dev) in macsec_get_link_net()
4325 struct net_device *macsec_get_real_dev(const struct net_device *dev) in macsec_get_real_dev()
4331 bool macsec_netdev_is_offloaded(struct net_device *dev) in macsec_netdev_is_offloaded()
4337 static size_t macsec_get_size(const struct net_device *dev) in macsec_get_size()
4356 const struct net_device *dev) in macsec_fill_info()
4421 static bool is_macsec_master(struct net_device *dev) in is_macsec_master()
4444 struct net_device *dev = m->secy.netdev; in macsec_notify() local
4471 struct net_device *dev = m->secy.netdev; in macsec_notify() local