Lines Matching refs:encoding_sa
59 uint8_t encoding_sa; member
153 info->encoding_sa = nla_get_u8(tb[IFLA_MACSEC_ENCODING_SA]); in macsec_parse()
255 sprintf(tmp, " %d", info->encoding_sa); in flags_str()
274 …ntohll(info->sci), values_on_off[info->protect], info->encoding_sa, values_on_off[info->encrypt], … in macsec_dump_details()
344 NLA_PUT_U8(msg, IFLA_MACSEC_ENCODING_SA, info->encoding_sa); in macsec_put_attrs()
381 diff |= MACSEC_DIFF(ENCODING_SA, a->encoding_sa != b->encoding_sa); in macsec_compare()
641 int rtnl_link_macsec_set_encoding_sa(struct rtnl_link *link, uint8_t encoding_sa) in rtnl_link_macsec_set_encoding_sa() argument
647 if (encoding_sa > 3) in rtnl_link_macsec_set_encoding_sa()
650 info->encoding_sa = encoding_sa; in rtnl_link_macsec_set_encoding_sa()
656 int rtnl_link_macsec_get_encoding_sa(struct rtnl_link *link, uint8_t *encoding_sa) in rtnl_link_macsec_get_encoding_sa() argument
665 if (encoding_sa) in rtnl_link_macsec_get_encoding_sa()
666 *encoding_sa = info->encoding_sa; in rtnl_link_macsec_get_encoding_sa()