Home
last modified time | relevance | path

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

/linux-6.15/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.h110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
H A Dif_link.h400 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/linux-6.15/include/uapi/linux/netfilter/
H A Dnfnetlink_compat.h61 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
/linux-6.15/tools/include/uapi/linux/
H A Dnetlink.h100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
H A Dif_link.h399 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/linux-6.15/tools/lib/bpf/
H A Dnetlink.c258 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()
/linux-6.15/tools/accounting/
H A Dprocacct.c50 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
H A Dgetdelays.c38 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
/linux-6.15/tools/testing/selftests/nci/
H A Dnci_dev.c22 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
/linux-6.15/tools/testing/selftests/net/
H A Dipsec.c1677 size_t len = NLMSG_PAYLOAD(&req.nh, sizeof(req.unused)); in xfrm_spdinfo_attrs()