Lines Matching refs:ce_mask
500 if (sa->ce_mask & XFRM_SA_ATTR_TFCPAD) in xfrm_sa_dump_line()
503 if (sa->ce_mask & XFRM_SA_ATTR_COADDR) in xfrm_sa_dump_line()
506 if (sa->ce_mask & XFRM_SA_ATTR_MARK) in xfrm_sa_dump_line()
509 if (sa->ce_mask & XFRM_SA_ATTR_SECCTX) in xfrm_sa_dump_line()
516 if (sa->ce_mask & XFRM_SA_ATTR_REPLAY_STATE) in xfrm_sa_dump_line()
681 sa->ce_mask |= XFRM_SA_ATTR_EXPIRE; in xfrmnl_sa_parse()
720 sa->ce_mask |= XFRM_SA_ATTR_SEL; in xfrmnl_sa_parse()
728 sa->ce_mask |= (XFRM_SA_ATTR_DADDR | XFRM_SA_ATTR_SPI | XFRM_SA_ATTR_PROTO); in xfrmnl_sa_parse()
734 sa->ce_mask |= XFRM_SA_ATTR_SADDR; in xfrmnl_sa_parse()
744 sa->ce_mask |= XFRM_SA_ATTR_LTIME_CFG; in xfrmnl_sa_parse()
750 sa->ce_mask |= XFRM_SA_ATTR_LTIME_CUR; in xfrmnl_sa_parse()
755 sa->ce_mask |= XFRM_SA_ATTR_STATS; in xfrmnl_sa_parse()
763 sa->ce_mask |= (XFRM_SA_ATTR_SEQ | XFRM_SA_ATTR_REQID | in xfrmnl_sa_parse()
776 sa->ce_mask |= XFRM_SA_ATTR_ALG_AEAD; in xfrmnl_sa_parse()
788 sa->ce_mask |= XFRM_SA_ATTR_ALG_AUTH; in xfrmnl_sa_parse()
802 sa->ce_mask |= XFRM_SA_ATTR_ALG_AUTH; in xfrmnl_sa_parse()
814 sa->ce_mask |= XFRM_SA_ATTR_ALG_CRYPT; in xfrmnl_sa_parse()
826 sa->ce_mask |= XFRM_SA_ATTR_ALG_COMP; in xfrmnl_sa_parse()
844 sa->ce_mask |= XFRM_SA_ATTR_ENCAP; in xfrmnl_sa_parse()
849 sa->ce_mask |= XFRM_SA_ATTR_TFCPAD; in xfrmnl_sa_parse()
863 sa->ce_mask |= XFRM_SA_ATTR_COADDR; in xfrmnl_sa_parse()
870 sa->ce_mask |= XFRM_SA_ATTR_MARK; in xfrmnl_sa_parse()
882 sa->ce_mask |= XFRM_SA_ATTR_SECCTX; in xfrmnl_sa_parse()
887 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_MAXAGE; in xfrmnl_sa_parse()
892 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_MAXDIFF; in xfrmnl_sa_parse()
904 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_STATE; in xfrmnl_sa_parse()
912 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_STATE; in xfrmnl_sa_parse()
1105 if (!(tmpl->ce_mask & XFRM_SA_ATTR_DADDR) || in build_xfrm_sa_message()
1106 !(tmpl->ce_mask & XFRM_SA_ATTR_SPI) || in build_xfrm_sa_message()
1107 !(tmpl->ce_mask & XFRM_SA_ATTR_PROTO)) in build_xfrm_sa_message()
1111 if (tmpl->ce_mask & XFRM_SA_ATTR_SEL) in build_xfrm_sa_message()
1133 if (tmpl->ce_mask & XFRM_SA_ATTR_SADDR) in build_xfrm_sa_message()
1136 if (tmpl->ce_mask & XFRM_SA_ATTR_LTIME_CFG) in build_xfrm_sa_message()
1152 if (tmpl->ce_mask & XFRM_SA_ATTR_REQID) in build_xfrm_sa_message()
1155 if (tmpl->ce_mask & XFRM_SA_ATTR_FAMILY) in build_xfrm_sa_message()
1158 if (tmpl->ce_mask & XFRM_SA_ATTR_MODE) in build_xfrm_sa_message()
1161 if (tmpl->ce_mask & XFRM_SA_ATTR_REPLAY_WIN) in build_xfrm_sa_message()
1164 if (tmpl->ce_mask & XFRM_SA_ATTR_FLAGS) in build_xfrm_sa_message()
1174 if (tmpl->ce_mask & XFRM_SA_ATTR_ALG_AEAD) { in build_xfrm_sa_message()
1179 if (tmpl->ce_mask & XFRM_SA_ATTR_ALG_AUTH) { in build_xfrm_sa_message()
1207 if (tmpl->ce_mask & XFRM_SA_ATTR_ALG_CRYPT) { in build_xfrm_sa_message()
1212 if (tmpl->ce_mask & XFRM_SA_ATTR_ALG_COMP) { in build_xfrm_sa_message()
1217 if (tmpl->ce_mask & XFRM_SA_ATTR_ENCAP) { in build_xfrm_sa_message()
1232 if (tmpl->ce_mask & XFRM_SA_ATTR_TFCPAD) { in build_xfrm_sa_message()
1236 if (tmpl->ce_mask & XFRM_SA_ATTR_COADDR) { in build_xfrm_sa_message()
1240 if (tmpl->ce_mask & XFRM_SA_ATTR_MARK) { in build_xfrm_sa_message()
1244 if (tmpl->ce_mask & XFRM_SA_ATTR_SECCTX) { in build_xfrm_sa_message()
1249 if (tmpl->ce_mask & XFRM_SA_ATTR_REPLAY_MAXAGE) { in build_xfrm_sa_message()
1253 if (tmpl->ce_mask & XFRM_SA_ATTR_REPLAY_MAXDIFF) { in build_xfrm_sa_message()
1257 if (tmpl->ce_mask & XFRM_SA_ATTR_REPLAY_STATE) { in build_xfrm_sa_message()
1334 if (!(tmpl->ce_mask & XFRM_SA_ATTR_DADDR) || in build_xfrm_sa_delete_message()
1335 !(tmpl->ce_mask & XFRM_SA_ATTR_SPI) || in build_xfrm_sa_delete_message()
1336 !(tmpl->ce_mask & XFRM_SA_ATTR_PROTO)) in build_xfrm_sa_delete_message()
1352 if (tmpl->ce_mask & XFRM_SA_ATTR_MARK) { in build_xfrm_sa_delete_message()
1400 if (sa->ce_mask & XFRM_SA_ATTR_SEL) in xfrmnl_sa_get_sel()
1415 sa->ce_mask |= XFRM_SA_ATTR_SEL; in xfrmnl_sa_set_sel()
1425 if (sa->ce_mask & XFRM_SA_ATTR_FAMILY) in __assign_addr()
1438 sa->ce_mask |= flag; in __assign_addr()
1446 if (sa->ce_mask & XFRM_SA_ATTR_DADDR) in xfrmnl_sa_get_daddr()
1459 if (sa->ce_mask & XFRM_SA_ATTR_SPI) in xfrmnl_sa_get_spi()
1468 sa->ce_mask |= XFRM_SA_ATTR_SPI; in xfrmnl_sa_set_spi()
1475 if (sa->ce_mask & XFRM_SA_ATTR_PROTO) in xfrmnl_sa_get_proto()
1484 sa->ce_mask |= XFRM_SA_ATTR_PROTO; in xfrmnl_sa_set_proto()
1491 if (sa->ce_mask & XFRM_SA_ATTR_SADDR) in xfrmnl_sa_get_saddr()
1504 if (sa->ce_mask & XFRM_SA_ATTR_LTIME_CFG) in xfrmnl_sa_get_lifetime_cfg()
1519 sa->ce_mask |= XFRM_SA_ATTR_LTIME_CFG; in xfrmnl_sa_set_lifetime_cfg()
1530 if (sa->ce_mask & XFRM_SA_ATTR_LTIME_CUR) in xfrmnl_sa_get_curlifetime()
1549 if (sa->ce_mask & XFRM_SA_ATTR_STATS) in xfrmnl_sa_get_stats()
1563 if (sa->ce_mask & XFRM_SA_ATTR_SEQ) in xfrmnl_sa_get_seq()
1571 if (sa->ce_mask & XFRM_SA_ATTR_REQID) in xfrmnl_sa_get_reqid()
1580 sa->ce_mask |= XFRM_SA_ATTR_REQID; in xfrmnl_sa_set_reqid()
1587 if (sa->ce_mask & XFRM_SA_ATTR_FAMILY) in xfrmnl_sa_get_family()
1596 sa->ce_mask |= XFRM_SA_ATTR_FAMILY; in xfrmnl_sa_set_family()
1603 if (sa->ce_mask & XFRM_SA_ATTR_MODE) in xfrmnl_sa_get_mode()
1612 sa->ce_mask |= XFRM_SA_ATTR_MODE; in xfrmnl_sa_set_mode()
1619 if (sa->ce_mask & XFRM_SA_ATTR_REPLAY_WIN) in xfrmnl_sa_get_replay_window()
1628 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_WIN; in xfrmnl_sa_set_replay_window()
1635 if (sa->ce_mask & XFRM_SA_ATTR_FLAGS) in xfrmnl_sa_get_flags()
1644 sa->ce_mask |= XFRM_SA_ATTR_FLAGS; in xfrmnl_sa_set_flags()
1667 if (sa->ce_mask & XFRM_SA_ATTR_ALG_AEAD) in xfrmnl_sa_get_aead_params()
1703 sa->ce_mask |= XFRM_SA_ATTR_ALG_AEAD; in xfrmnl_sa_set_aead_params()
1725 if (sa->ce_mask & XFRM_SA_ATTR_ALG_AUTH) in xfrmnl_sa_get_auth_params()
1760 sa->ce_mask |= XFRM_SA_ATTR_ALG_AUTH; in xfrmnl_sa_set_auth_params()
1781 if (sa->ce_mask & XFRM_SA_ATTR_ALG_CRYPT) in xfrmnl_sa_get_crypto_params()
1813 sa->ce_mask |= XFRM_SA_ATTR_ALG_CRYPT; in xfrmnl_sa_set_crypto_params()
1834 if (sa->ce_mask & XFRM_SA_ATTR_ALG_COMP) in xfrmnl_sa_get_comp_params()
1866 sa->ce_mask |= XFRM_SA_ATTR_ALG_COMP; in xfrmnl_sa_set_comp_params()
1872 if (sa->ce_mask & XFRM_SA_ATTR_ENCAP) in xfrmnl_sa_get_encap_tmpl()
1902 sa->ce_mask |= XFRM_SA_ATTR_ENCAP; in xfrmnl_sa_set_encap_tmpl()
1909 if (sa->ce_mask & XFRM_SA_ATTR_TFCPAD) in xfrmnl_sa_get_tfcpad()
1918 sa->ce_mask |= XFRM_SA_ATTR_TFCPAD; in xfrmnl_sa_set_tfcpad()
1925 if (sa->ce_mask & XFRM_SA_ATTR_COADDR) in xfrmnl_sa_get_coaddr()
1941 sa->ce_mask |= XFRM_SA_ATTR_COADDR; in xfrmnl_sa_set_coaddr()
1951 if (sa->ce_mask & XFRM_SA_ATTR_MARK) in xfrmnl_sa_get_mark()
1966 sa->ce_mask |= XFRM_SA_ATTR_MARK; in xfrmnl_sa_set_mark()
1993 if (sa->ce_mask & XFRM_SA_ATTR_SECCTX) in xfrmnl_sa_get_sec_ctx()
2041 sa->ce_mask |= XFRM_SA_ATTR_SECCTX; in xfrmnl_sa_set_sec_ctx()
2048 if (sa->ce_mask & XFRM_SA_ATTR_REPLAY_MAXAGE) in xfrmnl_sa_get_replay_maxage()
2057 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_MAXAGE; in xfrmnl_sa_set_replay_maxage()
2064 if (sa->ce_mask & XFRM_SA_ATTR_REPLAY_MAXDIFF) in xfrmnl_sa_get_replay_maxdiff()
2073 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_MAXDIFF; in xfrmnl_sa_set_replay_maxdiff()
2080 if (sa->ce_mask & XFRM_SA_ATTR_REPLAY_STATE) in xfrmnl_sa_get_replay_state()
2104 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_STATE; in xfrmnl_sa_set_replay_state()
2112 if (sa->ce_mask & XFRM_SA_ATTR_REPLAY_STATE) in xfrmnl_sa_get_replay_state_esn()
2154 sa->ce_mask |= XFRM_SA_ATTR_REPLAY_STATE; in xfrmnl_sa_set_replay_state_esn()
2161 if (sa->ce_mask & XFRM_SA_ATTR_EXPIRE) in xfrmnl_sa_is_hardexpiry_reached()
2169 if (sa->ce_mask & XFRM_SA_ATTR_EXPIRE) in xfrmnl_sa_is_expiry_reached()