Lines Matching refs:MACSEC_SA_ATTR_PN
1639 [MACSEC_SA_ATTR_PN] = NLA_POLICY_MIN_LEN(4),
1705 if (attrs[MACSEC_SA_ATTR_PN] && in validate_add_rxsa()
1706 nla_get_u64(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_add_rxsa()
1762 if (tb_sa[MACSEC_SA_ATTR_PN] && in macsec_add_rxsa()
1763 nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_add_rxsa()
1765 nla_len(tb_sa[MACSEC_SA_ATTR_PN]), pn_len); in macsec_add_rxsa()
1805 if (tb_sa[MACSEC_SA_ATTR_PN]) { in macsec_add_rxsa()
1807 rx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_add_rxsa()
1942 !attrs[MACSEC_SA_ATTR_PN] || in validate_add_txsa()
1950 if (nla_get_u64(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_add_txsa()
2006 if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_add_txsa()
2008 nla_len(tb_sa[MACSEC_SA_ATTR_PN]), pn_len); in macsec_add_txsa()
2049 tx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_add_txsa()
2305 if (attrs[MACSEC_SA_ATTR_PN] && nla_get_u64(attrs[MACSEC_SA_ATTR_PN]) == 0) in validate_upd_sa()
2348 if (tb_sa[MACSEC_SA_ATTR_PN]) { in macsec_upd_txsa()
2352 if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_upd_txsa()
2354 nla_len(tb_sa[MACSEC_SA_ATTR_PN]), pn_len); in macsec_upd_txsa()
2361 tx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_upd_txsa()
2399 if (tb_sa[MACSEC_SA_ATTR_PN]) { in macsec_upd_txsa()
2446 if (tb_sa[MACSEC_SA_ATTR_PN]) { in macsec_upd_rxsa()
2450 if (nla_len(tb_sa[MACSEC_SA_ATTR_PN]) != pn_len) { in macsec_upd_rxsa()
2452 nla_len(tb_sa[MACSEC_SA_ATTR_PN]), pn_len); in macsec_upd_rxsa()
2459 rx_sa->next_pn = nla_get_u64(tb_sa[MACSEC_SA_ATTR_PN]); in macsec_upd_rxsa()
2492 if (tb_sa[MACSEC_SA_ATTR_PN]) { in macsec_upd_rxsa()
3132 nla_put(skb, MACSEC_SA_ATTR_PN, pn_len, &pn) || in dump_secy()
3237 nla_put(skb, MACSEC_SA_ATTR_PN, pn_len, &pn) || in dump_secy()