/prebuilts/ndk/current/platforms/android-21/arch-x86_64/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-23/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-23/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-23/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-23/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-23/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;
|
/prebuilts/ndk/current/platforms/android-23/arch-x86_64/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-24/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-24/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-24/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-24/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-24/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;
|
/prebuilts/ndk/current/platforms/android-24/arch-x86_64/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;
|
/external/iproute2/tipc/ |
msg.c | 33 static int family_id_cb(const struct nlmsghdr *nlh, void *data) 48 static struct mnl_socket *msg_send(struct nlmsghdr *nlh) 97 static int msg_query(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) 116 struct nlmsghdr *nlh; 137 int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) 143 int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data) 149 struct nlmsghdr *msg_init(char *buf, int cmd) 152 struct nlmsghdr *nlh;
|
peer.c | 27 static int cmd_peer_rm_addr(struct nlmsghdr *nlh, const struct cmd *cmd, 64 static int cmd_peer_rm(struct nlmsghdr *nlh, const struct cmd *cmd, 84 int cmd_peer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
socket.c | 26 static int publ_list_cb(const struct nlmsghdr *nlh, void *data) 48 struct nlmsghdr *nlh; 64 static int sock_list_cb(const struct nlmsghdr *nlh, void *data) 104 static int cmd_socket_list(struct nlmsghdr *nlh, const struct cmd *cmd, 131 int cmd_socket(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
node.c | 27 static int node_list_cb(const struct nlmsghdr *nlh, void *data) 56 static int cmd_node_list(struct nlmsghdr *nlh, const struct cmd *cmd, 74 static int cmd_node_set_addr(struct nlmsghdr *nlh, const struct cmd *cmd, 105 static int cmd_node_get_addr(struct nlmsghdr *nlh, const struct cmd *cmd, 133 static int netid_get_cb(const struct nlmsghdr *nlh, void *data) 152 static int cmd_node_get_netid(struct nlmsghdr *nlh, const struct cmd *cmd, 170 static int cmd_node_set_netid(struct nlmsghdr *nlh, const struct cmd *cmd, 211 static int cmd_node_set(struct nlmsghdr *nlh, const struct cmd *cmd, 233 static int cmd_node_get(struct nlmsghdr *nlh, const struct cmd *cmd, 256 int cmd_node(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl [all...] |
nametable.c | 26 static int nametable_show_cb(const struct nlmsghdr *nlh, void *data) 72 static int cmd_nametable_show(struct nlmsghdr *nlh, const struct cmd *cmd, 100 int cmd_nametable(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
/external/libnl/include/netlink/ |
netlink-kernel.h | 27 struct nlmsghdr struct 188 struct nlmsghdr msg;
|
/external/iproute2/include/ |
libgenl.h | 8 struct nlmsghdr n; \
|
/external/iproute2/tc/ |
q_clsact.c | 13 struct nlmsghdr *n)
|
tc_util.h | 25 int (*parse_qopt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n); 29 int (*parse_copt)(struct qdisc_util *qu, int argc, char **argv, struct nlmsghdr *n); 38 char **argv, struct nlmsghdr *n); 46 int code, struct nlmsghdr *n); 92 extern int parse_police(int *, char ***, int, struct nlmsghdr *); 96 extern int act_parse_police(struct action_util *a,int *, char ***, int, struct nlmsghdr *); 103 extern int parse_action(int *, char ***, int, struct nlmsghdr *);
|
/frameworks/base/services/net/java/android/net/netlink/ |
RtNetlinkNeighborMessage.java | 128 final StructNlMsgHdr nlmsghdr = new StructNlMsgHdr(); local 129 nlmsghdr.nlmsg_len = length; 130 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_GETNEIGH; 131 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_DUMP; 132 nlmsghdr.nlmsg_seq = seqNo; 133 nlmsghdr.pack(byteBuffer); 147 final StructNlMsgHdr nlmsghdr = new StructNlMsgHdr(); local 148 nlmsghdr.nlmsg_type = NetlinkConstants.RTM_NEWNEIGH; 149 nlmsghdr.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK | NLM_F_REPLACE; 150 nlmsghdr.nlmsg_seq = seqNo [all...] |
/external/libnl/lib/netfilter/ |
nfnl.c | 22 * | struct nlmsghdr | | | | 131 uint8_t nfnlmsg_subsys(struct nlmsghdr *nlh) 140 uint8_t nfnlmsg_subtype(struct nlmsghdr *nlh) 149 uint8_t nfnlmsg_family(struct nlmsghdr *nlh) 160 uint16_t nfnlmsg_res_id(struct nlmsghdr *nlh) 234 struct nlmsghdr *nlh;
|
/external/libnl/lib/ |
msg.c | 30 * The Netlink message header (\link nlmsghdr struct nlmsghdr\endlink) is shown below. 51 * | struct nlmsghdr | | | | 60 * | nlmsghdr | Pad | Payload | Pad | nlmsghdr 113 * struct nlmsghdr hdr = { 148 * struct nlmsghdr *hdr; 152 * hdr = (struct nlmsghdr *) buf; 218 void *nlmsg_data(const struct nlmsghdr *nlh) 223 void *nlmsg_tail(const struct nlmsghdr *nlh [all...] |