Lines Matching refs:nlattr

1491 					  struct nlattr **attrs)  in get_dev_from_nl()
1506 static enum macsec_offload nla_get_offload(const struct nlattr *nla) in nla_get_offload()
1511 static sci_t nla_get_sci(const struct nlattr *nla) in nla_get_sci()
1522 static ssci_t nla_get_ssci(const struct nlattr *nla) in nla_get_ssci()
1533 struct nlattr **attrs, in get_txsa_from_nl()
1534 struct nlattr **tb_sa, in get_txsa_from_nl()
1571 struct nlattr **attrs, in get_rxsc_from_nl()
1572 struct nlattr **tb_rxsc, in get_rxsc_from_nl()
1602 struct nlattr **attrs, in get_rxsa_from_nl()
1603 struct nlattr **tb_rxsc, in get_rxsa_from_nl()
1604 struct nlattr **tb_sa, in get_rxsa_from_nl()
1681 static int parse_sa_config(struct nlattr **attrs, struct nlattr **tb_sa) in parse_sa_config()
1692 static int parse_rxsc_config(struct nlattr **attrs, struct nlattr **tb_rxsc) in parse_rxsc_config()
1703 static bool validate_add_rxsa(struct nlattr **attrs) in validate_add_rxsa()
1731 struct nlattr **attrs = info->attrs; in macsec_add_rxsa()
1737 struct nlattr *tb_rxsc[MACSEC_RXSC_ATTR_MAX + 1]; in macsec_add_rxsa()
1738 struct nlattr *tb_sa[MACSEC_SA_ATTR_MAX + 1]; in macsec_add_rxsa()
1866 static bool validate_add_rxsc(struct nlattr **attrs) in validate_add_rxsc()
1883 struct nlattr **attrs = info->attrs; in macsec_add_rxsc()
1885 struct nlattr *tb_rxsc[MACSEC_RXSC_ATTR_MAX + 1]; in macsec_add_rxsc()
1947 static bool validate_add_txsa(struct nlattr **attrs) in validate_add_txsa()
1975 struct nlattr **attrs = info->attrs; in macsec_add_txsa()
1981 struct nlattr *tb_sa[MACSEC_SA_ATTR_MAX + 1]; in macsec_add_txsa()
2112 struct nlattr **attrs = info->attrs; in macsec_del_rxsa()
2118 struct nlattr *tb_rxsc[MACSEC_RXSC_ATTR_MAX + 1]; in macsec_del_rxsa()
2119 struct nlattr *tb_sa[MACSEC_SA_ATTR_MAX + 1]; in macsec_del_rxsa()
2178 struct nlattr **attrs = info->attrs; in macsec_del_rxsc()
2183 struct nlattr *tb_rxsc[MACSEC_RXSC_ATTR_MAX + 1]; in macsec_del_rxsc()
2241 struct nlattr **attrs = info->attrs; in macsec_del_txsa()
2247 struct nlattr *tb_sa[MACSEC_SA_ATTR_MAX + 1]; in macsec_del_txsa()
2301 static bool validate_upd_sa(struct nlattr **attrs) in validate_upd_sa()
2326 struct nlattr **attrs = info->attrs; in macsec_upd_txsa()
2332 struct nlattr *tb_sa[MACSEC_SA_ATTR_MAX + 1]; in macsec_upd_txsa()
2420 struct nlattr **attrs = info->attrs; in macsec_upd_rxsa()
2426 struct nlattr *tb_rxsc[MACSEC_RXSC_ATTR_MAX + 1]; in macsec_upd_rxsa()
2427 struct nlattr *tb_sa[MACSEC_SA_ATTR_MAX + 1]; in macsec_upd_rxsa()
2512 struct nlattr **attrs = info->attrs; in macsec_upd_rxsc()
2516 struct nlattr *tb_rxsc[MACSEC_RXSC_ATTR_MAX + 1]; in macsec_upd_rxsc()
2639 struct nlattr *tb_offload[MACSEC_OFFLOAD_ATTR_MAX + 1]; in macsec_upd_offload()
2640 struct nlattr **attrs = info->attrs; in macsec_upd_offload()
2992 struct nlattr *secy_nest = nla_nest_start_noflag(skb, in nla_put_secy()
3050 struct nlattr *txsa_list, *rxsc_list; in dump_secy()
3052 struct nlattr *attr; in dump_secy()
3102 struct nlattr *txsa_nest; in dump_secy()
3160 struct nlattr *rxsa_list; in dump_secy()
3161 struct nlattr *rxsc_nest = nla_nest_start_noflag(skb, j++); in dump_secy()
3202 struct nlattr *rxsa_nest; in dump_secy()
3742 struct nlattr *data[]) in macsec_changelink_common()
3817 static int macsec_changelink(struct net_device *dev, struct nlattr *tb[], in macsec_changelink()
3818 struct nlattr *data[], in macsec_changelink()
4035 struct nlattr *tb[], struct nlattr *data[], in macsec_newlink()
4160 static int macsec_validate_attr(struct nlattr *tb[], struct nlattr *data[], in macsec_validate_attr()