/external/libnl/lib/route/ |
class.c | 64 struct tcmsg tchdr = { local 69 return nl_send_simple(sk, RTM_GETTCLASS, NLM_F_DUMP, &tchdr, 70 sizeof(tchdr)); 164 struct tcmsg tchdr; local 174 tchdr.tcm_family = AF_UNSPEC; 175 tchdr.tcm_handle = class->c_handle; 176 tchdr.tcm_parent = class->c_parent; 177 tchdr.tcm_ifindex = class->c_ifindex; 178 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) [all...] |
qdisc.c | 133 struct tcmsg tchdr = { local 138 return nl_send_simple(sk, RTM_GETQDISC, NLM_F_DUMP, &tchdr, 139 sizeof(tchdr)); 318 struct tcmsg tchdr; local 328 tchdr.tcm_family = AF_UNSPEC; 329 tchdr.tcm_handle = qdisc->q_handle; 330 tchdr.tcm_parent = qdisc->q_parent; 331 tchdr.tcm_ifindex = qdisc->q_ifindex; 332 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) [all...] |
cls.c | 72 struct tcmsg tchdr = { local 78 return nl_send_simple(sk, RTM_GETTFILTER, NLM_F_DUMP, &tchdr, 79 sizeof(tchdr)); 88 struct tcmsg *tchdr; local 94 tchdr = nlmsg_data(nlmsg_hdr(*result)); 97 tchdr->tcm_info = TC_H_MAKE(prio << 16, htons(proto));
|
tc.c | 329 struct tcmsg tchdr = { local 340 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0)
|