Lines Matching refs:cb
411 struct netlink_callback *cb; member
420 return tcf_fill_node(net, a->skb, tp, n, NETLINK_CB(a->cb->skb).portid, in tcf_node_dump()
421 a->cb->nlh->nlmsg_seq, NLM_F_MULTI, RTM_NEWTFILTER); in tcf_node_dump()
425 static int tc_dump_tfilter(struct sk_buff *skb, struct netlink_callback *cb) in tc_dump_tfilter() argument
433 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tfilter()
438 if (nlmsg_len(cb->nlh) < sizeof(*tcm)) in tc_dump_tfilter()
464 s_t = cb->args[0]; in tc_dump_tfilter()
477 memset(&cb->args[1], 0, sizeof(cb->args)-sizeof(cb->args[0])); in tc_dump_tfilter()
478 if (cb->args[1] == 0) { in tc_dump_tfilter()
479 if (tcf_fill_node(net, skb, tp, 0, NETLINK_CB(cb->skb).portid, in tc_dump_tfilter()
480 cb->nlh->nlmsg_seq, NLM_F_MULTI, in tc_dump_tfilter()
484 cb->args[1] = 1; in tc_dump_tfilter()
490 arg.cb = cb; in tc_dump_tfilter()
492 arg.w.skip = cb->args[1] - 1; in tc_dump_tfilter()
495 cb->args[1] = arg.w.count + 1; in tc_dump_tfilter()
500 cb->args[0] = t; in tc_dump_tfilter()