/prebuilts/ndk/current/platforms/android-8/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-9/arch-arm/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-9/arch-x86/usr/include/linux/ |
netlink.h | 46 struct nlmsghdr struct 72 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 76 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 77 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 90 struct nlmsghdr msg;
|
/external/avahi/avahi-core/ |
netlink.h | 34 typedef void (*AvahiNetlinkCallback)(AvahiNetlink *n, struct nlmsghdr *m, void* userdata); 38 int avahi_netlink_send(AvahiNetlink *n, struct nlmsghdr *m, unsigned *ret_seq);
|
/external/iproute2/tipc/ |
cmdl.h | 27 int (*func)(struct nlmsghdr *nlh, const struct cmd *cmd, 41 int run_cmd(struct nlmsghdr *nlh, const struct cmd *caller,
|
/external/iproute2/include/ |
libnetlink.h | 45 int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n) 53 struct nlmsghdr *n, void *); 57 struct nlmsghdr *n, void *); 73 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, 74 struct nlmsghdr *answer, size_t len) 81 int addattr(struct nlmsghdr *n, int maxlen, int type); 82 int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data); 83 int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data); 84 int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data); 85 int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data) [all...] |
ll_map.h | 5 struct nlmsghdr *n, void *arg);
|
/bionic/libc/bionic/ |
bionic_netlink.cpp | 68 nlmsghdr hdr; 79 bool NetlinkConnection::ReadResponses(void callback(void*, nlmsghdr*), void* context) { 83 nlmsghdr* hdr = reinterpret_cast<nlmsghdr*>(data_);
|
/system/connectivity/shill/net/ |
netlink_packet.h | 42 // Returns the entire packet length (including the nlmsghdr). Callers 76 // Returns the nlmsghdr associated with the packet. It is a fatal error 78 const nlmsghdr& GetNlMsgHeader() const; 83 nlmsghdr* mutable_header() { return &header_; } 92 nlmsghdr header_; 113 nlmsghdr* GetMutableHeader();
|
/bionic/libc/kernel/uapi/linux/ |
netlink.h | 61 struct nlmsghdr { struct 90 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 95 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 96 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 107 struct nlmsghdr msg;
|
/development/ndk/platforms/android-21/include/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/external/iproute2/include/linux/ |
netlink.h | 42 struct nlmsghdr { struct 82 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 87 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 89 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 102 struct nlmsghdr msg;
|
/external/kernel-headers/original/uapi/linux/ |
netlink.h | 42 struct nlmsghdr { struct 82 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 87 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 88 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 89 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 102 struct nlmsghdr msg;
|
/external/libnl/lib/genl/ |
genl.c | 20 * | struct nlmsghdr | | | | 75 * struct nlmsghdr *nlh = nlmsg_hdr(msg); 146 int genlmsg_valid_hdr(struct nlmsghdr *nlh, int hdrlen) 160 int genlmsg_validate(struct nlmsghdr *nlh, int hdrlen, int maxtype, 173 int genlmsg_parse(struct nlmsghdr *nlh, int hdrlen, struct nlattr *tb[], 201 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - 249 struct nlmsghdr *nlh;
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
netlink.h | 41 struct nlmsghdr { struct 80 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 100 struct nlmsghdr msg;
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
netlink.h | 41 struct nlmsghdr { struct 80 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 85 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 86 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 87 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 100 struct nlmsghdr msg;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
netlink.h | 39 struct nlmsghdr { struct 78 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 83 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 84 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 85 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 98 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-21/arch-arm/usr/include/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-21/arch-arm64/usr/include/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-21/arch-mips/usr/include/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-21/arch-mips64/usr/include/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-21/arch-x86/usr/include/linux/ |
netlink.h | 61 struct nlmsghdr { struct 89 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 94 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 95 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 106 struct nlmsghdr msg;
|