Lines Matching refs:icv_len
56 uint16_t icv_len; member
109 info->icv_len = DEFAULT_ICV_LEN; in macsec_alloc()
148 info->icv_len = nla_get_u8(tb[IFLA_MACSEC_ICV_LEN]); in macsec_parse()
278 info->cipher_suite, info->icv_len); in macsec_dump_details()
315 if (info->cipher_suite != MACSEC_DEFAULT_CIPHER_ID || info->icv_len != DEFAULT_ICV_LEN) { in macsec_put_attrs()
317 NLA_PUT_U8(msg, IFLA_MACSEC_ICV_LEN, info->icv_len); in macsec_put_attrs()
370 diff |= MACSEC_DIFF(ICV_LEN, a->icv_len != b->icv_len); in macsec_compare()
551 int rtnl_link_macsec_set_icv_len(struct rtnl_link *link, uint16_t icv_len) in rtnl_link_macsec_set_icv_len() argument
557 if (icv_len > MACSEC_STD_ICV_LEN) in rtnl_link_macsec_set_icv_len()
560 info->icv_len = icv_len; in rtnl_link_macsec_set_icv_len()
566 int rtnl_link_macsec_get_icv_len(struct rtnl_link *link, uint16_t *icv_len) in rtnl_link_macsec_get_icv_len() argument
575 if (icv_len) in rtnl_link_macsec_get_icv_len()
576 *icv_len = info->icv_len; in rtnl_link_macsec_get_icv_len()