Home
last modified time | relevance | path

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

/third_party/ltp/testcases/kernel/connectors/pec/
Dpec_listener.c88 memset(nlhdr, 0, NLMSG_SPACE(MAX_MSG_SIZE)); in netlink_send()
124 memset(nlhdr, 0, NLMSG_SPACE(MAX_MSG_SIZE)); in netlink_recv()
129 iov.iov_len = NLMSG_SPACE(MAX_MSG_SIZE); in netlink_recv()
273 nlhdr = malloc(NLMSG_SPACE(MAX_MSG_SIZE)); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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)))
/third_party/wpa_supplicant/wpa_supplicant-2.9/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)))
/third_party/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)))
/third_party/ltp/lib/
Dtst_rtnetlink.c249 if (!tst_rtnl_grow_buffer(file, lineno, ctx, NLMSG_SPACE(payload_size))) in tst_rtnl_add_message()
/third_party/glib/gio/
Dgnetworkmonitornetlink.c169 gchar buf[NLMSG_SPACE (sizeof (*gen))]; in request_dump()