Lines Matching refs:tc_conf
201 def tc_cmd(self, tc_conf): argument
202 print self._tc_cmd % tc_conf
231 tc_conf = self._get_tc_conf(netif)
232 tc_conf[tcfilter.conf_cmd] = 'add'
233 tc_conf[tcfilter.conf_rules] = self._filter_rules()
234 self.tc_cmd(tc_conf)
238 tc_conf = self._get_tc_conf(netif)
239 tc_conf[tcfilter.conf_cmd] = 'del'
240 tc_conf[tcfilter.conf_rules] = self._filter_rules()
241 self.tc_cmd(tc_conf)
289 def tc_cmd(self, tc_conf): argument
290 print self._tc_cmd % tc_conf
294 tc_conf = self._get_tc_conf(netif)
295 tc_conf[tcfilter.conf_command] = 'add'
296 self.tc_cmd(tc_conf)
300 tc_conf = self._get_tc_conf(netif)
301 tc_conf[tcfilter.conf_command] = 'del'
302 self.tc_cmd(tc_conf)
409 tc_conf = self._get_tc_conf(netif)
410 tc_conf[tcfilter.conf_command] = 'change'
411 tc_conf[tcfilter.conf_params] = ' '.join(self._params)
412 self.tc_cmd(tc_conf)