Home
last modified time | relevance | path

Searched refs:tchdr (Results 1 – 4 of 4) sorted by relevance

/external/libnl/lib/route/
Dclass.c64 struct tcmsg tchdr = { in class_request_update() local
69 return nl_send_simple(sk, RTM_GETTCLASS, NLM_F_DUMP, &tchdr, in class_request_update()
70 sizeof(tchdr)); in class_request_update()
164 struct tcmsg tchdr; in rtnl_class_build_delete_request() local
174 tchdr.tcm_family = AF_UNSPEC; in rtnl_class_build_delete_request()
175 tchdr.tcm_handle = class->c_handle; in rtnl_class_build_delete_request()
176 tchdr.tcm_parent = class->c_parent; in rtnl_class_build_delete_request()
177 tchdr.tcm_ifindex = class->c_ifindex; in rtnl_class_build_delete_request()
178 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) { in rtnl_class_build_delete_request()
Dqdisc.c133 struct tcmsg tchdr = { in qdisc_request_update() local
138 return nl_send_simple(sk, RTM_GETQDISC, NLM_F_DUMP, &tchdr, in qdisc_request_update()
139 sizeof(tchdr)); in qdisc_request_update()
318 struct tcmsg tchdr; in rtnl_qdisc_build_delete_request() local
328 tchdr.tcm_family = AF_UNSPEC; in rtnl_qdisc_build_delete_request()
329 tchdr.tcm_handle = qdisc->q_handle; in rtnl_qdisc_build_delete_request()
330 tchdr.tcm_parent = qdisc->q_parent; in rtnl_qdisc_build_delete_request()
331 tchdr.tcm_ifindex = qdisc->q_ifindex; in rtnl_qdisc_build_delete_request()
332 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) { in rtnl_qdisc_build_delete_request()
Dcls.c72 struct tcmsg tchdr = { in cls_request_update() local
78 return nl_send_simple(sk, RTM_GETTFILTER, NLM_F_DUMP, &tchdr, in cls_request_update()
79 sizeof(tchdr)); in cls_request_update()
88 struct tcmsg *tchdr; in cls_build() local
94 tchdr = nlmsg_data(nlmsg_hdr(*result)); in cls_build()
97 tchdr->tcm_info = TC_H_MAKE(prio << 16, htons(proto)); in cls_build()
Dtc.c329 struct tcmsg tchdr = { in tca_build_msg() local
340 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) in tca_build_msg()