• Home
  • Raw
  • Download

Lines Matching refs:ce_mask

393 	if (sp->ce_mask & XFRM_SP_ATTR_SECCTX)  in xfrm_sp_dump_line()
403 if (sp->ce_mask & XFRM_SP_ATTR_POLTYPE) in xfrm_sp_dump_line()
406 if (sp->ce_mask & XFRM_SP_ATTR_TMPL) in xfrm_sp_dump_line()
416 if (sp->ce_mask & XFRM_SP_ATTR_MARK) in xfrm_sp_dump_line()
573 sp->ce_mask |= XFRM_SP_ATTR_SEL; in xfrmnl_sp_parse()
583 sp->ce_mask |= XFRM_SP_ATTR_LTIME_CFG; in xfrmnl_sp_parse()
589 sp->ce_mask |= XFRM_SP_ATTR_LTIME_CUR; in xfrmnl_sp_parse()
597 sp->ce_mask |= (XFRM_SP_ATTR_PRIO | XFRM_SP_ATTR_INDEX | in xfrmnl_sp_parse()
610 sp->ce_mask |= XFRM_SP_ATTR_SECCTX; in xfrmnl_sp_parse()
616 sp->ce_mask |= XFRM_SP_ATTR_POLTYPE; in xfrmnl_sp_parse()
658 sp->ce_mask |= XFRM_SP_ATTR_TMPL; in xfrmnl_sp_parse()
666 sp->ce_mask |= XFRM_SP_ATTR_MARK; in xfrmnl_sp_parse()
769 if (!(tmpl->ce_mask & XFRM_SP_ATTR_DIR) || in build_xfrm_sp_message()
770 (!(tmpl->ce_mask & XFRM_SP_ATTR_INDEX) && in build_xfrm_sp_message()
771 !(tmpl->ce_mask & XFRM_SP_ATTR_SEL))) in build_xfrm_sp_message()
775 if (tmpl->ce_mask & XFRM_SP_ATTR_SEL) in build_xfrm_sp_message()
793 if (tmpl->ce_mask & XFRM_SP_ATTR_LTIME_CFG) in build_xfrm_sp_message()
807 if (tmpl->ce_mask & XFRM_SP_ATTR_PRIO) in build_xfrm_sp_message()
810 if (tmpl->ce_mask & XFRM_SP_ATTR_INDEX) in build_xfrm_sp_message()
813 if (tmpl->ce_mask & XFRM_SP_ATTR_DIR) in build_xfrm_sp_message()
816 if (tmpl->ce_mask & XFRM_SP_ATTR_ACTION) in build_xfrm_sp_message()
819 if (tmpl->ce_mask & XFRM_SP_ATTR_FLAGS) in build_xfrm_sp_message()
822 if (tmpl->ce_mask & XFRM_SP_ATTR_SHARE) in build_xfrm_sp_message()
832 if (tmpl->ce_mask & XFRM_SP_ATTR_SECCTX) { in build_xfrm_sp_message()
837 if (tmpl->ce_mask & XFRM_SP_ATTR_POLTYPE) { in build_xfrm_sp_message()
842 if (tmpl->ce_mask & XFRM_SP_ATTR_TMPL) { in build_xfrm_sp_message()
876 if (tmpl->ce_mask & XFRM_SP_ATTR_MARK) { in build_xfrm_sp_message()
962 if (!(tmpl->ce_mask & XFRM_SP_ATTR_DIR) || in build_xfrm_sp_delete_message()
963 (!(tmpl->ce_mask & XFRM_SP_ATTR_INDEX) && in build_xfrm_sp_delete_message()
964 !(tmpl->ce_mask & XFRM_SP_ATTR_SEL))) in build_xfrm_sp_delete_message()
969 if(tmpl->ce_mask & XFRM_SP_ATTR_INDEX) in build_xfrm_sp_delete_message()
972 if (tmpl->ce_mask & XFRM_SP_ATTR_SEL) in build_xfrm_sp_delete_message()
997 if (tmpl->ce_mask & XFRM_SP_ATTR_SECCTX) { in build_xfrm_sp_delete_message()
1002 if (tmpl->ce_mask & XFRM_SP_ATTR_MARK) { in build_xfrm_sp_delete_message()
1051 if (sp->ce_mask & XFRM_SP_ATTR_SEL) in xfrmnl_sp_get_sel()
1066 sp->ce_mask |= XFRM_SP_ATTR_SEL; in xfrmnl_sp_set_sel()
1073 if (sp->ce_mask & XFRM_SP_ATTR_LTIME_CFG) in xfrmnl_sp_get_lifetime_cfg()
1088 sp->ce_mask |= XFRM_SP_ATTR_LTIME_CFG; in xfrmnl_sp_set_lifetime_cfg()
1109 if (sp->ce_mask & XFRM_SP_ATTR_PRIO) in xfrmnl_sp_get_priority()
1118 sp->ce_mask |= XFRM_SP_ATTR_PRIO; in xfrmnl_sp_set_priority()
1125 if (sp->ce_mask & XFRM_SP_ATTR_INDEX) in xfrmnl_sp_get_index()
1134 sp->ce_mask |= XFRM_SP_ATTR_INDEX; in xfrmnl_sp_set_index()
1141 if (sp->ce_mask & XFRM_SP_ATTR_DIR) in xfrmnl_sp_get_dir()
1150 sp->ce_mask |= XFRM_SP_ATTR_DIR; in xfrmnl_sp_set_dir()
1157 if (sp->ce_mask & XFRM_SP_ATTR_ACTION) in xfrmnl_sp_get_action()
1166 sp->ce_mask |= XFRM_SP_ATTR_ACTION; in xfrmnl_sp_set_action()
1173 if (sp->ce_mask & XFRM_SP_ATTR_FLAGS) in xfrmnl_sp_get_flags()
1182 sp->ce_mask |= XFRM_SP_ATTR_FLAGS; in xfrmnl_sp_set_flags()
1189 if (sp->ce_mask & XFRM_SP_ATTR_SHARE) in xfrmnl_sp_get_share()
1198 sp->ce_mask |= XFRM_SP_ATTR_SHARE; in xfrmnl_sp_set_share()
1226 if (sp->ce_mask & XFRM_SP_ATTR_SECCTX) in xfrmnl_sp_get_sec_ctx()
1276 sp->ce_mask |= XFRM_SP_ATTR_SECCTX; in xfrmnl_sp_set_sec_ctx()
1283 if (sp->ce_mask & XFRM_SP_ATTR_POLTYPE) in xfrmnl_sp_get_userpolicy_type()
1292 sp->ce_mask |= XFRM_SP_ATTR_POLTYPE; in xfrmnl_sp_set_userpolicy_type()
1301 sp->ce_mask |= XFRM_SP_ATTR_TMPL; in xfrmnl_sp_add_usertemplate()
1306 if (sp->ce_mask & XFRM_SP_ATTR_TMPL) { in xfrmnl_sp_remove_usertemplate()
1314 if (sp->ce_mask & XFRM_SP_ATTR_TMPL) in xfrmnl_sp_get_usertemplates()
1322 if (sp->ce_mask & XFRM_SP_ATTR_TMPL) in xfrmnl_sp_get_nusertemplates()
1334 if (r->ce_mask & XFRM_SP_ATTR_TMPL) { in xfrmnl_sp_foreach_usertemplate()
1346 if (r->ce_mask & XFRM_SP_ATTR_TMPL && r->nr_user_tmpl > n) { in xfrmnl_sp_usertemplate_n()
1361 if (sp->ce_mask & XFRM_SP_ATTR_MARK) in xfrmnl_sp_get_mark()
1376 sp->ce_mask |= XFRM_SP_ATTR_MARK; in xfrmnl_sp_set_mark()