Lines Matching refs:nla_get_u8

1500 	return (__force enum macsec_offload)nla_get_u8(nla);  in nla_get_offload()
1540 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_txsa_from_nl()
1608 *assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in get_rxsa_from_nl()
1702 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_rxsa()
1710 if (nla_get_u8(attrs[MACSEC_SA_ATTR_ACTIVE]) > 1) in validate_add_rxsa()
1752 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_rxsa()
1812 rx_sa->active = !!nla_get_u8(tb_sa[MACSEC_SA_ATTR_ACTIVE]); in macsec_add_rxsa()
1864 if (nla_get_u8(attrs[MACSEC_RXSC_ATTR_ACTIVE]) > 1) in validate_add_rxsc()
1902 active = nla_get_u8(tb_rxsc[MACSEC_RXSC_ATTR_ACTIVE]); in macsec_add_rxsc()
1947 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_add_txsa()
1954 if (nla_get_u8(attrs[MACSEC_SA_ATTR_ACTIVE]) > 1) in validate_add_txsa()
1996 assoc_num = nla_get_u8(tb_sa[MACSEC_SA_ATTR_AN]); in macsec_add_txsa()
2053 tx_sa->active = !!nla_get_u8(tb_sa[MACSEC_SA_ATTR_ACTIVE]); in macsec_add_txsa()
2302 if (nla_get_u8(attrs[MACSEC_SA_ATTR_AN]) >= MACSEC_NUM_AN) in validate_upd_sa()
2309 if (nla_get_u8(attrs[MACSEC_SA_ATTR_ACTIVE]) > 1) in validate_upd_sa()
2367 tx_sa->active = nla_get_u8(tb_sa[MACSEC_SA_ATTR_ACTIVE]); in macsec_upd_txsa()
2465 rx_sa->active = nla_get_u8(tb_sa[MACSEC_SA_ATTR_ACTIVE]); in macsec_upd_rxsa()
2532 bool new = !!nla_get_u8(tb_rxsc[MACSEC_RXSC_ATTR_ACTIVE]); in macsec_upd_rxsc()
2663 offload = nla_get_u8(tb_offload[MACSEC_OFFLOAD_ATTR_TYPE]); in macsec_upd_offload()
3745 tx_sc->encoding_sa = nla_get_u8(data[IFLA_MACSEC_ENCODING_SA]); in macsec_changelink_common()
3752 tx_sc->encrypt = !!nla_get_u8(data[IFLA_MACSEC_ENCRYPT]); in macsec_changelink_common()
3755 secy->protect_frames = !!nla_get_u8(data[IFLA_MACSEC_PROTECT]); in macsec_changelink_common()
3758 tx_sc->send_sci = !!nla_get_u8(data[IFLA_MACSEC_INC_SCI]); in macsec_changelink_common()
3761 tx_sc->end_station = !!nla_get_u8(data[IFLA_MACSEC_ES]); in macsec_changelink_common()
3764 tx_sc->scb = !!nla_get_u8(data[IFLA_MACSEC_SCB]); in macsec_changelink_common()
3767 secy->replay_protect = !!nla_get_u8(data[IFLA_MACSEC_REPLAY_PROTECT]); in macsec_changelink_common()
3770 secy->validate_frames = nla_get_u8(data[IFLA_MACSEC_VALIDATION]); in macsec_changelink_common()
3840 offload = nla_get_u8(data[IFLA_MACSEC_OFFLOAD]); in macsec_changelink()
4063 u8 send_sci = !!nla_get_u8(data[IFLA_MACSEC_INC_SCI]); in macsec_newlink()
4070 icv_len = nla_get_u8(data[IFLA_MACSEC_ICV_LEN]); in macsec_newlink()
4167 icv_len = nla_get_u8(data[IFLA_MACSEC_ICV_LEN]); in macsec_validate_attr()
4196 if (nla_get_u8(data[IFLA_MACSEC_ENCODING_SA]) >= MACSEC_NUM_AN) in macsec_validate_attr()
4204 if (nla_get_u8(data[flag]) > 1) in macsec_validate_attr()
4209 es = data[IFLA_MACSEC_ES] ? nla_get_u8(data[IFLA_MACSEC_ES]) : false; in macsec_validate_attr()
4210 sci = data[IFLA_MACSEC_INC_SCI] ? nla_get_u8(data[IFLA_MACSEC_INC_SCI]) : false; in macsec_validate_attr()
4211 scb = data[IFLA_MACSEC_SCB] ? nla_get_u8(data[IFLA_MACSEC_SCB]) : false; in macsec_validate_attr()
4217 nla_get_u8(data[IFLA_MACSEC_VALIDATION]) > MACSEC_VALIDATE_MAX) in macsec_validate_attr()
4221 nla_get_u8(data[IFLA_MACSEC_REPLAY_PROTECT])) && in macsec_validate_attr()