Searched refs:policy (Results 1 – 2 of 2) sorted by relevance
/kernel/tests/net/test/ |
D | xfrm.py | 394 def _UpdatePolicyInfo(self, msg, policy, tmpl, mark, xfrm_if_id): argument 403 self.SendXfrmNlRequest(msg, policy, nlattrs) 405 def AddPolicyInfo(self, policy, tmpl, mark, xfrm_if_id=None): argument 416 self._UpdatePolicyInfo(XFRM_MSG_NEWPOLICY, policy, tmpl, mark, xfrm_if_id) 418 def UpdatePolicyInfo(self, policy, tmpl, mark, xfrm_if_id): argument 430 self._UpdatePolicyInfo(XFRM_MSG_UPDPOLICY, policy, tmpl, mark, xfrm_if_id) 702 policy = UserPolicy(direction, selector) 704 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 …]
|