Searched refs:NLMSG_PAYLOAD (Results 1 – 12 of 12) sorted by relevance
| /Linux-v6.6/include/uapi/linux/ |
| D | if_addr.h | 70 #define IFA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifaddrmsg))
|
| D | rtnetlink.h | 398 #define RTM_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct rtmsg)) 650 #define TCA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcmsg)) 798 #define TA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct tcamsg))
|
| D | netlink.h | 110 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
|
| D | if_link.h | 398 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
| /Linux-v6.6/include/uapi/linux/netfilter/ |
| D | nfnetlink_compat.h | 61 #define NFM_PAYLOAD(n) NLMSG_PAYLOAD(n, sizeof(struct nfgenmsg))
|
| /Linux-v6.6/tools/include/uapi/linux/ |
| D | netlink.h | 100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) macro
|
| D | if_link.h | 372 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
| /Linux-v6.6/tools/lib/bpf/ |
| 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()
|
| /Linux-v6.6/tools/accounting/ |
| D | procacct.c | 50 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
|
| D | getdelays.c | 38 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
|
| /Linux-v6.6/tools/testing/selftests/nci/ |
| D | nci_dev.c | 22 #define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
|
| /Linux-v6.6/tools/testing/selftests/net/ |
| D | ipsec.c | 1676 size_t len = NLMSG_PAYLOAD(&req.nh, sizeof(req.unused)); in xfrm_spdinfo_attrs()
|