/external/strace/tests-m32/ |
nlattr_dcbmsg.c | 39 init_dcbmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_netconfmsg.c | 39 init_netconfmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_nlmsgerr.c | 37 init_nlmsgerr(struct nlmsghdr *const nlh, const unsigned int msg_len) 39 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_rtgenmsg.c | 40 init_rtgenmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 42 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_tcamsg.c | 36 init_tcamsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 38 SET_STRUCT(struct nlmsghdr, nlh,
|
/external/strace/tests-mx32/ |
nlattr_br_port_msg.c | 40 init_br_port_msg(struct nlmsghdr *const nlh, const unsigned int msg_len) 42 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_dcbmsg.c | 39 init_dcbmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_netconfmsg.c | 39 init_netconfmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 41 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_nlmsgerr.c | 37 init_nlmsgerr(struct nlmsghdr *const nlh, const unsigned int msg_len) 39 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_rtgenmsg.c | 40 init_rtgenmsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 42 SET_STRUCT(struct nlmsghdr, nlh,
|
nlattr_tcamsg.c | 36 init_tcamsg(struct nlmsghdr *const nlh, const unsigned int msg_len) 38 SET_STRUCT(struct nlmsghdr, nlh,
|
/external/iproute2/tc/ |
q_clsact.c | 13 struct nlmsghdr *n)
|
q_ingress.c | 24 struct nlmsghdr *n)
|
tc_util.h | 27 char **argv, struct nlmsghdr *n); 34 char **argv, struct nlmsghdr *n); 43 int argc, char **argv, struct nlmsghdr *n); 52 char ***argv, int code, struct nlmsghdr *n); 101 int parse_police(int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n); 113 char ***argv_p, int tca_id, struct nlmsghdr *n); 118 int parse_action(int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n);
|
/external/strace/ |
netlink.h | 47 #define NLMSG_HDRLEN ((unsigned int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
|
netlink_route.c | 126 const struct nlmsghdr *const nlmsghdr, 132 if (nlmsghdr->nlmsg_type == NLMSG_DONE) 136 const unsigned int index = nlmsghdr->nlmsg_type - RTM_BASE; 140 route_decoders[index](tcp, nlmsghdr, family, addr, len);
|
/system/netd/libnetdutils/ |
Netlink.cpp | 27 const std::function<void(const nlmsghdr&, const Slice)>& onMsg) { 29 while (tail.size() >= sizeof(nlmsghdr)) { 30 nlmsghdr hdr = {}; 62 std::ostream& operator<<(std::ostream& os, const nlmsghdr& hdr) { 63 return os << std::hex << "nlmsghdr["
|
/external/iproute2/tipc/ |
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, 134 static int netid_get_cb(const struct nlmsghdr *nlh, void *data) 153 static int cmd_node_get_netid(struct nlmsghdr *nlh, const struct cmd *cmd, 171 static int cmd_node_set_netid(struct nlmsghdr *nlh, const struct cmd *cmd, 212 static int cmd_node_set(struct nlmsghdr *nlh, const struct cmd *cmd, 234 static int cmd_node_get(struct nlmsghdr *nlh, const struct cmd *cmd, 257 int cmd_node(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl [all...] |
/external/libnl/include/netlink/ |
netlink-kernel.h | 40 struct nlmsghdr 186 struct nlmsghdr msg; 213 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(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/iproute2/lib/ |
libnetlink.c | 69 static int nl_dump_ext_err(const struct nlmsghdr *nlh, nl_ext_ack_fn_t errfn) 73 const struct nlmsghdr *err_nlh = NULL; 123 static int nl_dump_ext_err(const struct nlmsghdr *nlh, nl_ext_ack_fn_t errfn) 211 struct nlmsghdr nlh; 234 struct nlmsghdr nlh; 260 struct nlmsghdr nlh; 283 struct nlmsghdr *h; 299 for (h = (struct nlmsghdr *)resp; NLMSG_OK(h, status); 317 struct nlmsghdr nlh = { 338 int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n [all...] |
/external/libnetfilter_conntrack/include/internal/ |
prototypes.h | 9 int __parse_message_type(const struct nlmsghdr *nlh); 10 void __parse_conntrack(const struct nlmsghdr *nlh, struct nfattr *cda[], struct nf_conntrack *ct); 31 int __callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data); 43 int nfct_build_tuple(struct nlmsghdr *nlh, const struct __nfct_tuple *t, int type); 50 int __parse_expect_message_type(const struct nlmsghdr *nlh); 51 void __parse_expect(const struct nlmsghdr *nlh, struct nfattr *cda[], struct nf_expect *exp); 52 int __expect_callback(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data);
|