Searched refs:NLMSG_SPACE (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/testcases/kernel/connectors/pec/ |
D | pec_listener.c | 88 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/ |
D | priv_netlink.h | 52 #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/ |
D | priv_netlink.h | 52 #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/ |
D | netlink.h | 93 #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/ |
D | tst_rtnetlink.c | 249 if (!tst_rtnl_grow_buffer(file, lineno, ctx, NLMSG_SPACE(payload_size))) in tst_rtnl_add_message()
|
/third_party/glib/gio/ |
D | gnetworkmonitornetlink.c | 169 gchar buf[NLMSG_SPACE (sizeof (*gen))]; in request_dump()
|