Searched refs:policy (Results 1 – 4 of 4) sorted by relevance
/kernel/tests/net/test/ |
D | xfrm.py | 386 def _UpdatePolicyInfo(self, msg, policy, tmpl, mark, xfrm_if_id): argument 395 self.SendXfrmNlRequest(msg, policy, nlattrs) 397 def AddPolicyInfo(self, policy, tmpl, mark, xfrm_if_id=None): argument 408 self._UpdatePolicyInfo(XFRM_MSG_NEWPOLICY, policy, tmpl, mark, xfrm_if_id) 410 def UpdatePolicyInfo(self, policy, tmpl, mark, xfrm_if_id): argument 422 self._UpdatePolicyInfo(XFRM_MSG_UPDPOLICY, policy, tmpl, mark, xfrm_if_id) 694 policy = UserPolicy(direction, selector) 696 self.AddPolicyInfo(policy, tmpl, mark, xfrm_if_id=xfrm_if_id)
|
D | xfrm_test.py | 613 policy = xfrm.UserPolicy(xfrm.XFRM_POLICY_OUT, sel) 616 self.xfrm.AddPolicyInfo(policy, tmpl, mark1) 618 self.xfrm.AddPolicyInfo(policy, tmpl, mark2) 635 policy = xfrm.UserPolicy(xfrm.XFRM_POLICY_OUT, sel) 646 self.xfrm.UpdatePolicyInfo(policy, tmpl1, mark, None) 651 self.xfrm.AddPolicyInfo(policy, tmpl2, mark, None) 653 self.xfrm.UpdatePolicyInfo(policy, tmpl2, mark, None) 670 policy = xfrm.UserPolicy(xfrm.XFRM_POLICY_OUT, sel) 671 self.xfrm.AddPolicyInfo(policy, tmpl, mark) 672 policy = xfrm.UserPolicy(xfrm.XFRM_POLICY_IN, sel) [all …]
|
D | xfrm_base.py | 72 policy = xfrm.UserPolicy(direction, selector) 76 opt_data = policy.Pack() + template.Pack()
|
D | xfrm_tunnel_test.py | 418 policy = xfrm.UserPolicy(xfrm.XFRM_POLICY_OUT, sel) 421 self.xfrm.UpdatePolicyInfo(policy, tmpl, xfrm.ExactMatchMark(self.okey), 497 policy = xfrm.UserPolicy(xfrm.XFRM_POLICY_OUT, sel) 500 self.xfrm.UpdatePolicyInfo(policy, tmpl, None, self.xfrm_if_id)
|