| /third_party/musl/src/network/ |
| D | netlink.h | 79 #define NLMSG_DATA(nlh) ((void*)((char*)(nlh)+sizeof(struct nlmsghdr))) argument 80 #define NLMSG_DATALEN(nlh) ((nlh)->nlmsg_len-sizeof(struct nlmsghdr)) argument 81 #define NLMSG_DATAEND(nlh) ((char*)(nlh)+(nlh)->nlmsg_len) argument 82 #define NLMSG_NEXT(nlh) (struct nlmsghdr*)((char*)(nlh)+NETLINK_ALIGN((nlh)->nlmsg_len)) argument 83 #define NLMSG_OK(nlh,end) ((char*)(end)-(char*)(nlh) >= sizeof(struct nlmsghdr)) argument 91 #define NLMSG_RTA(nlh,len) ((void*)((char*)(nlh)+sizeof(struct nlmsghdr)+NETLINK_ALIGN(len))) argument 92 #define NLMSG_RTAOK(rta,nlh) RTA_OK(rta,NLMSG_DATAEND(nlh)) argument
|
| D | netlink.c | 14 struct nlmsghdr nlh; in __netlink_enumerate() member
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
| D | priv_netlink.h | 53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0))) argument 54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ argument 60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|
| D | driver_nl80211.c | 332 struct nlmsghdr *nlh = (struct nlmsghdr *) err - 1; in error_handler() local
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
| D | priv_netlink.h | 53 #define NLMSG_DATA(nlh) ((void*) (((char*) nlh) + NLMSG_LENGTH(0))) argument 54 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ argument 60 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|
| D | driver_nl80211.c | 350 struct nlmsghdr *nlh = (struct nlmsghdr *) err - 1; in error_handler() local
|
| /third_party/libbpf/src/ |
| D | nlattr.c | 81 static inline int nlmsg_len(const struct nlmsghdr *nlh) in nlmsg_len() 158 int libbpf_nla_dump_errormsg(struct nlmsghdr *nlh) in libbpf_nla_dump_errormsg()
|
| D | netlink.c | 344 static int __dump_link_nlmsg(struct nlmsghdr *nlh, in __dump_link_nlmsg()
|
| /third_party/ltp/testcases/kernel/containers/netns/ |
| D | netns_netlink.c | 48 struct nlmsghdr *nlh; in child_func() local
|
| /third_party/selinux/libselinux/src/ |
| D | avc_internal.c | 148 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_receive() local 204 struct nlmsghdr *nlh = (struct nlmsghdr *)buf; in avc_netlink_process() local
|
| /third_party/libbpf/include/uapi/linux/ |
| D | netlink.h | 94 #define NLMSG_DATA(nlh) ((void*)(((char*)nlh) + NLMSG_LENGTH(0))) argument 95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), \ argument 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ argument 100 #define NLMSG_PAYLOAD(nlh,len) ((nlh)->nlmsg_len - NLMSG_SPACE((len))) argument
|
| /third_party/ltp/testcases/network/stress/route/ |
| D | route-change-netlink.c | 195 struct nlmsghdr *nlh; in rtnl_route() local
|
| /third_party/toybox/toys/pending/ |
| D | ip.c | 165 struct nlmsghdr nlh; in send_nlmesg() member
|