Home
last modified time | relevance | path

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

/external/libnl/lib/route/
Dclass.c62 struct tcmsg tchdr = { in class_request_update() local
67 return nl_send_simple(sk, RTM_GETTCLASS, NLM_F_DUMP, &tchdr, in class_request_update()
68 sizeof(tchdr)); in class_request_update()
198 struct tcmsg tchdr; in rtnl_class_build_delete_request() local
209 memset(&tchdr, 0, sizeof(tchdr)); in rtnl_class_build_delete_request()
210 tchdr.tcm_family = AF_UNSPEC; in rtnl_class_build_delete_request()
211 tchdr.tcm_ifindex = class->c_ifindex; in rtnl_class_build_delete_request()
212 tchdr.tcm_handle = class->c_handle; in rtnl_class_build_delete_request()
215 tchdr.tcm_parent = class->c_parent; in rtnl_class_build_delete_request()
217 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) { in rtnl_class_build_delete_request()
Dqdisc.c52 struct tcmsg tchdr = { in qdisc_request_update() local
57 return nl_send_simple(sk, RTM_GETQDISC, NLM_F_DUMP, &tchdr, in qdisc_request_update()
58 sizeof(tchdr)); in qdisc_request_update()
277 struct tcmsg tchdr; in rtnl_qdisc_build_delete_request() local
288 memset(&tchdr, 0, sizeof(tchdr)); in rtnl_qdisc_build_delete_request()
290 tchdr.tcm_family = AF_UNSPEC; in rtnl_qdisc_build_delete_request()
291 tchdr.tcm_ifindex = qdisc->q_ifindex; in rtnl_qdisc_build_delete_request()
292 tchdr.tcm_parent = qdisc->q_parent; in rtnl_qdisc_build_delete_request()
295 tchdr.tcm_handle = qdisc->q_handle; in rtnl_qdisc_build_delete_request()
297 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) in rtnl_qdisc_build_delete_request()
Dcls.c39 struct tcmsg *tchdr; in cls_build() local
51 tchdr = nlmsg_data(nlmsg_hdr(*result)); in cls_build()
54 tchdr->tcm_info = TC_H_MAKE(prio << 16, htons(proto)); in cls_build()
386 struct tcmsg tchdr = { in cls_request_update() local
392 return nl_send_simple(sk, RTM_GETTFILTER, NLM_F_DUMP, &tchdr, in cls_request_update()
393 sizeof(tchdr)); in cls_request_update()
Dtc.c198 struct tcmsg tchdr = { in rtnl_tc_msg_build() local
210 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) in rtnl_tc_msg_build()
/external/elfutils/src/
Dstrip.c486 GElf_Chdr tchdr; in remove_debug_relocations() local
497 if (gelf_getchdr (tscn, &tchdr) != NULL) in remove_debug_relocations()
499 tcompress_type = tchdr.ch_type; in remove_debug_relocations()