Home
last modified time | relevance | path

Searched refs:NLMSG_PAYLOAD (Results 1 – 13 of 13) sorted by relevance

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dnetlink.c28 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()
Dpriv_netlink.h60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dnetlink.c28 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()
Dpriv_netlink.h60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
/third_party/libnl/include/linux-private/linux/
Dif_addr.h67 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
Drtnetlink.h351 #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))
Dnetlink.h100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
Dif_link.h177 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/third_party/libnl/include/linux-private/linux/netfilter/
Dnfnetlink_compat.h60 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user01.c120 size_t remaining = NLMSG_PAYLOAD(nh, sizeof(*alg)); in validate_one_alg()
/third_party/ltp/lib/
Dtst_rtnetlink.c233 ret[i].payload_size = NLMSG_PAYLOAD(ptr, 0); in tst_rtnl_recv()
/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c43 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
/third_party/glib/gio/
Dgnetworkmonitornetlink.c369 attrlen = NLMSG_PAYLOAD (msg, sizeof (struct rtmsg)); in read_netlink_messages()