Searched refs:chain_index (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/tc/ |
D | tc_filter.c | 62 __u32 chain_index; in tc_filter_modify() local 136 if (get_u32(&chain_index, *argv, 0)) in tc_filter_modify() 159 addattr32(&req.n, sizeof(req), TCA_CHAIN, chain_index); in tc_filter_modify() 290 __u32 chain_index = rta_getattr_u32(tb[TCA_CHAIN]); in print_filter() local 293 filter_chain_index != chain_index) in print_filter() 294 fprintf(fp, "chain %u ", chain_index); in print_filter() 338 __u32 chain_index; in tc_filter_get() local 408 if (get_u32(&chain_index, *argv, 0)) in tc_filter_get() 441 addattr32(&req.n, sizeof(req), TCA_CHAIN, chain_index); in tc_filter_get() 512 __u32 chain_index; in tc_filter_list() local [all …]
|
D | tc_util.c | 501 __u32 chain_index; in __parse_action_control() local 509 if (get_u32(&chain_index, *argv, 10) || in __parse_action_control() 510 chain_index > TC_ACT_EXT_VAL_MASK) { in __parse_action_control() 514 result |= chain_index; in __parse_action_control()
|
/external/iptables/libiptc/ |
D | libiptc.c | 145 struct chain_head **chain_index; /* array for fast chain list access*/ member 361 if (!handle->chain_index[pos]) { in __iptcc_bsearch_chain_index() 367 pos, handle->chain_index[pos]->name); in __iptcc_bsearch_chain_index() 372 res = strcmp(name, handle->chain_index[pos]->name); in __iptcc_bsearch_chain_index() 376 handle->chain_index[pos]->head_offset, in __iptcc_bsearch_chain_index() 377 handle->chain_index[pos]->foot_offset); in __iptcc_bsearch_chain_index() 378 res = offset - handle->chain_index[pos]->head_offset; in __iptcc_bsearch_chain_index() 389 list_pos = &handle->chain_index[pos]->list; in __iptcc_bsearch_chain_index() 417 res = strcmp(name, handle->chain_index[pos+1]->name); in __iptcc_bsearch_chain_index() 420 res = offset - handle->chain_index[pos+1]->head_offset; in __iptcc_bsearch_chain_index() [all …]
|