Searched refs:NLMSG_PAYLOAD (Results 1 - 10 of 10) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A 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()
|
H A 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/ |
H A 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()
|
H A D | priv_netlink.h | 60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
|
/third_party/libbpf/include/uapi/linux/ |
H A D | netlink.h | 100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
|
H A D | if_link.h | 398 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/third_party/ltp/testcases/kernel/crypto/ |
H A D | crypto_user01.c | 120 size_t remaining = NLMSG_PAYLOAD(nh, sizeof(*alg)); in validate_one_alg()
|
/third_party/libbpf/src/ |
H A D | netlink.c | 258 NLMSG_PAYLOAD(nh, sizeof(*gnl)), NULL); in parse_genl_family_id() 415 NLMSG_PAYLOAD(nh, sizeof(*gnl)), NULL); in parse_xdp_features() 689 NLMSG_PAYLOAD(nh, sizeof(*tc)), NULL); in get_tc_info()
|
/third_party/ltp/lib/ |
H A D | tst_rtnetlink.c | 233 ret[i].payload_size = NLMSG_PAYLOAD(ptr, 0); in tst_rtnl_recv()
|
/third_party/ltp/testcases/kernel/controllers/cgroup/ |
H A D | cgroup_regression_getdelays.c | 43 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
|
Completed in 9 milliseconds