Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dif_addr.h70 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
H A Drtnetlink.h408 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
664 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
818 #define TA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcamsg))
H A Dnetlink.h100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
/linux/include/uapi/linux/
H A Dif_addr.h71 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
H A Drtnetlink.h409 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg))
689 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg))
843 #define TA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcamsg))
H A Dnetlink.h110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
/linux/include/uapi/linux/netfilter/
H A Dnfnetlink_compat.h61 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
/linux/tools/lib/bpf/
H A Dnetlink.c260 NLMSG_PAYLOAD(nh, sizeof(*gnl)), NULL); in parse_genl_family_id()
417 NLMSG_PAYLOAD(nh, sizeof(*gnl)), NULL); in parse_xdp_features()
705 NLMSG_PAYLOAD(nh, sizeof(*tc)), NULL); in get_tc_info()
/linux/tools/accounting/
H A Dgetdelays.c39 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
H A Ddelaytop.c58 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
/linux/tools/testing/selftests/nci/
H A Dnci_dev.c22 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
/linux/tools/testing/selftests/net/
H A Dipsec.c1681 size_t len = NLMSG_PAYLOAD(&req.nh, sizeof(req.unused)); in xfrm_spdinfo_attrs()