Searched refs:NLMSG_PAYLOAD (Results 1 – 13 of 13) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | netlink.c | 28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg)) in netlink_receive_link() 32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg))); in netlink_receive_link()
|
D | priv_netlink.h | 60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | netlink.c | 28 if (cb == NULL || NLMSG_PAYLOAD(h, 0) < sizeof(struct ifinfomsg)) in netlink_receive_link() 32 NLMSG_PAYLOAD(h, sizeof(struct ifinfomsg))); in netlink_receive_link()
|
D | priv_netlink.h | 60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
|
/third_party/libnl/include/linux-private/linux/ |
D | if_addr.h | 67 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
D | rtnetlink.h | 351 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg)) 594 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg)) 729 #define TA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcamsg))
|
D | netlink.h | 100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
|
D | if_link.h | 177 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/third_party/libnl/include/linux-private/linux/netfilter/ |
D | nfnetlink_compat.h | 60 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
|
/third_party/ltp/testcases/kernel/crypto/ |
D | crypto_user01.c | 120 size_t remaining = NLMSG_PAYLOAD(nh, sizeof(*alg)); in validate_one_alg()
|
/third_party/ltp/lib/ |
D | tst_rtnetlink.c | 233 ret[i].payload_size = NLMSG_PAYLOAD(ptr, 0); in tst_rtnl_recv()
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
D | cgroup_regression_getdelays.c | 43 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
|
/third_party/glib/gio/ |
D | gnetworkmonitornetlink.c | 369 attrlen = NLMSG_PAYLOAD (msg, sizeof (struct rtmsg)); in read_netlink_messages()
|