Searched refs:tchdr (Results 1 – 4 of 4) sorted by relevance
/third_party/libnl/lib/route/ |
D | class.c | 63 struct tcmsg tchdr = { in class_request_update() local 68 return nl_send_simple(sk, RTM_GETTCLASS, NLM_F_DUMP, &tchdr, in class_request_update() 69 sizeof(tchdr)); in class_request_update() 199 struct tcmsg tchdr; in rtnl_class_build_delete_request() local 210 memset(&tchdr, 0, sizeof(tchdr)); in rtnl_class_build_delete_request() 211 tchdr.tcm_family = AF_UNSPEC; in rtnl_class_build_delete_request() 212 tchdr.tcm_ifindex = class->c_ifindex; in rtnl_class_build_delete_request() 213 tchdr.tcm_handle = class->c_handle; in rtnl_class_build_delete_request() 216 tchdr.tcm_parent = class->c_parent; in rtnl_class_build_delete_request() 218 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) { in rtnl_class_build_delete_request()
|
D | qdisc.c | 53 struct tcmsg tchdr = { in qdisc_request_update() local 58 return nl_send_simple(sk, RTM_GETQDISC, NLM_F_DUMP, &tchdr, in qdisc_request_update() 59 sizeof(tchdr)); in qdisc_request_update() 278 struct tcmsg tchdr; in rtnl_qdisc_build_delete_request() local 289 memset(&tchdr, 0, sizeof(tchdr)); in rtnl_qdisc_build_delete_request() 291 tchdr.tcm_family = AF_UNSPEC; in rtnl_qdisc_build_delete_request() 292 tchdr.tcm_ifindex = qdisc->q_ifindex; in rtnl_qdisc_build_delete_request() 293 tchdr.tcm_parent = qdisc->q_parent; in rtnl_qdisc_build_delete_request() 296 tchdr.tcm_handle = qdisc->q_handle; in rtnl_qdisc_build_delete_request() 298 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) in rtnl_qdisc_build_delete_request()
|
D | cls.c | 40 struct tcmsg *tchdr; in cls_build() local 52 tchdr = nlmsg_data(nlmsg_hdr(*result)); in cls_build() 55 tchdr->tcm_info = TC_H_MAKE(prio << 16, htons(proto)); in cls_build() 406 struct tcmsg tchdr = { in cls_request_update() local 412 return nl_send_simple(sk, RTM_GETTFILTER, NLM_F_DUMP, &tchdr, in cls_request_update() 413 sizeof(tchdr)); in cls_request_update()
|
D | tc.c | 206 struct tcmsg tchdr = { in rtnl_tc_msg_build() local 218 if (nlmsg_append(msg, &tchdr, sizeof(tchdr), NLMSG_ALIGNTO) < 0) { in rtnl_tc_msg_build()
|