Home
last modified time | relevance | path

Searched refs:NLMSG_SPACE (Results 1 – 25 of 117) sorted by relevance

12345

/external/strace/tests-m32/
Dnlattr.c68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr()
82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr()
91 fd, msg_len, (void *) msg + NLMSG_SPACE(sizeof(msg->udm)), in test_nlattr()
95 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr()
122 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN + 4; in test_nlattr()
143 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN + 2; in test_nlattr()
162 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * 2; in test_nlattr()
180 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * 2; in test_nlattr()
215 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * ABBREV_LEN * 2; in test_nlattr()
272 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nla_type()
Dnlattr_mdba_mdb_entry.c69 len -= NLMSG_SPACE(hdrlen); in init_br_port_msg()
91 msg_len, msg_len - NLMSG_SPACE(hdrlen), in print_br_port_msg()
92 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); in print_br_port_msg()
102 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 4 in main()
Dnlattr_tca_stab.c62 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg()
75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
90 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 4 in main()
Dnlattr_mdba_router_port.c70 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_br_port_msg()
82 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_br_port_msg()
100 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), in main()
Dnlattr_tc_stats.c58 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg()
71 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
80 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 8 * 5); in main()
Dnlattr_ifla.h61 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_ifinfomsg()
75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_ifinfomsg()
Dnlattr_ifla_af_spec.c75 .nla_len = msg_len - NLMSG_SPACE(hdrlen) \
86 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); \
175 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), 3 * NLA_HDRLEN + 256); in main()
/external/strace/tests/
Dnlattr.c68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr()
82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr()
91 fd, msg_len, (void *) msg + NLMSG_SPACE(sizeof(msg->udm)), in test_nlattr()
95 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr()
122 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN + 4; in test_nlattr()
143 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN + 2; in test_nlattr()
162 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * 2; in test_nlattr()
180 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * 2; in test_nlattr()
215 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * ABBREV_LEN * 2; in test_nlattr()
272 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nla_type()
Dnlattr_mdba_mdb_entry.c69 len -= NLMSG_SPACE(hdrlen); in init_br_port_msg()
91 msg_len, msg_len - NLMSG_SPACE(hdrlen), in print_br_port_msg()
92 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); in print_br_port_msg()
102 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 4 in main()
Dnlattr_tca_stab.c62 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg()
75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
90 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 4 in main()
Dnlattr_mdba_router_port.c70 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_br_port_msg()
82 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_br_port_msg()
100 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), in main()
Dnlattr_tc_stats.c58 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg()
71 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
80 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 8 * 5); in main()
Dnlattr_ifla.h61 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_ifinfomsg()
75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_ifinfomsg()
Dnlattr_ifla_af_spec.c75 .nla_len = msg_len - NLMSG_SPACE(hdrlen) \
86 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); \
175 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), 3 * NLA_HDRLEN + 256); in main()
/external/strace/tests-mx32/
Dnlattr.c68 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + 2; in test_nlattr()
82 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr()
91 fd, msg_len, (void *) msg + NLMSG_SPACE(sizeof(msg->udm)), in test_nlattr()
95 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nlattr()
122 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN + 4; in test_nlattr()
143 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN + 2; in test_nlattr()
162 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * 2; in test_nlattr()
180 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * 2; in test_nlattr()
215 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + NLA_HDRLEN * ABBREV_LEN * 2; in test_nlattr()
272 msg_len = NLMSG_SPACE(sizeof(msg->udm)) + sizeof(*nla); in test_nla_type()
Dnlattr_mdba_mdb_entry.c69 len -= NLMSG_SPACE(hdrlen); in init_br_port_msg()
91 msg_len, msg_len - NLMSG_SPACE(hdrlen), in print_br_port_msg()
92 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); in print_br_port_msg()
102 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 4 in main()
Dnlattr_tca_stab.c62 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg()
75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
90 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 4 in main()
Dnlattr_mdba_router_port.c70 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_br_port_msg()
82 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_br_port_msg()
100 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), in main()
Dnlattr_tc_stats.c58 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_tcmsg()
71 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_tcmsg()
80 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), NLA_HDRLEN + 8 * 5); in main()
Dnlattr_ifla.h61 .nla_len = msg_len - NLMSG_SPACE(hdrlen), in init_ifinfomsg()
75 msg_len, msg_len - NLMSG_SPACE(hdrlen)); in print_ifinfomsg()
Dnlattr_ifla_af_spec.c75 .nla_len = msg_len - NLMSG_SPACE(hdrlen) \
86 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); \
175 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), 3 * NLA_HDRLEN + 256); in main()
/external/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c93 memset(nlhdr, 0, NLMSG_SPACE(MAX_MSG_SIZE)); in netlink_send()
129 memset(nlhdr, 0, NLMSG_SPACE(MAX_MSG_SIZE)); in netlink_recv()
134 iov.iov_len = NLMSG_SPACE(MAX_MSG_SIZE); in netlink_recv()
237 nlhdr = malloc(NLMSG_SPACE(MAX_MSG_SIZE)); in main()
/external/wpa_supplicant_8/src/drivers/
Dpriv_netlink.h52 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) macro
60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
/external/iproute2/include/uapi/linux/
Dnetlink.h93 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) macro
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))
/external/libnl/include/linux-private/linux/
Dnetlink.h93 #define NLMSG_SPACE(len) NLMSG_ALIGN(NLMSG_LENGTH(len)) macro
100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len)))

12345