Home
last modified time | relevance | path

Searched refs:_GetConstantName (Results 1 – 5 of 5) sorted by relevance

/kernel/tests/net/test/
Dpf_key.py142 def _GetConstantName(value, prefix): function
158 name = _GetConstantName(value, prefix)
269 msgtype = _GetConstantName(msg.type, "SADB_")
270 satype = _GetConstantName(msg.satype, "SADB_TYPE_")
278 state = _GetConstantName(sa.state, "SADB_SASTATE_")
Dgenetlink.py98 name = self._GetConstantName(__name__, nla_type, "CTRL_ATTR_")
Dxfrm.py344 def _GetConstantName(self, value, prefix): member in Xfrm
345 return super(Xfrm, self)._GetConstantName(__name__, value, prefix)
365 cmdname = self._GetConstantName(command, "XFRM_MSG_")
373 name = self._GetConstantName(nla_type, "XFRMA_")
Dtcp_metrics.py67 name = self._GetConstantName(__name__, nla_type, "TCP_METRICS_ATTR_")
Dsock_diag.py124 name = self._GetConstantName(__name__, nla_type, prefix)
163 name = self._GetConstantName(__name__, command, "SOCK_")