/external/libnl/include/netlink/ |
msg.h | 54 extern void * nlmsg_data(const struct nlmsghdr *); 55 extern int nlmsg_datalen(const struct nlmsghdr *); 56 extern void * nlmsg_tail(const struct nlmsghdr *); 59 extern struct nlattr * nlmsg_attrdata(const struct nlmsghdr *, int); 60 extern int nlmsg_attrlen(const struct nlmsghdr *, int); 63 extern int nlmsg_valid_hdr(const struct nlmsghdr *, int); 64 extern int nlmsg_ok(const struct nlmsghdr *, int); 65 extern struct nlmsghdr * nlmsg_next(struct nlmsghdr *, int *); 66 extern int nlmsg_parse(struct nlmsghdr *, int, struct nlattr ** [all...] |
/external/iproute2/tipc/ |
msg.h | 15 struct nlmsghdr *msg_init(char *buf, int cmd); 16 int msg_doit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data); 17 int msg_dumpit(struct nlmsghdr *nlh, mnl_cb_t callback, void *data);
|
link.h | 17 int cmd_link(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
media.h | 17 int cmd_media(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
nametable.h | 18 int cmd_nametable(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
node.h | 17 int cmd_node(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
peer.h | 17 int cmd_peer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
socket.h | 18 int cmd_socket(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
/frameworks/base/services/net/java/android/net/netlink/ |
NetlinkMessage.java | 47 final StructNlMsgHdr nlmsghdr = StructNlMsgHdr.parse(byteBuffer); local 48 if (nlmsghdr == null) { 52 int payloadLength = NetlinkConstants.alignedLengthOf(nlmsghdr.nlmsg_len); 60 switch (nlmsghdr.nlmsg_type) { 63 return (NetlinkMessage) NetlinkErrorMessage.parse(nlmsghdr, byteBuffer); 66 return new NetlinkMessage(nlmsghdr); 71 return (NetlinkMessage) RtNetlinkNeighborMessage.parse(nlmsghdr, byteBuffer); 73 if (nlmsghdr.nlmsg_type <= NetlinkConstants.NLMSG_MAX_RESERVED) { 77 return new NetlinkMessage(nlmsghdr); 85 public NetlinkMessage(StructNlMsgHdr nlmsghdr) { [all...] |
/system/core/libsysutils/include/sysutils/ |
NetlinkEvent.h | 61 bool parseIfInfoMessage(const struct nlmsghdr *nh); 62 bool parseIfAddrMessage(const struct nlmsghdr *nh); 63 bool parseUlogPacketMessage(const struct nlmsghdr *nh); 64 bool parseNfPacketMessage(struct nlmsghdr *nh); 65 bool parseRtMessage(const struct nlmsghdr *nh); 66 bool parseNdUserOptMessage(const struct nlmsghdr *nh); 67 struct nlattr* findNlAttr(const nlmsghdr* nl, size_t hdrlen, uint16_t attr);
|
/external/libnl/include/netlink/genl/ |
genl.h | 30 extern int genlmsg_valid_hdr(struct nlmsghdr *, int); 31 extern int genlmsg_validate(struct nlmsghdr *, int, int, 33 extern int genlmsg_parse(struct nlmsghdr *, int, struct nlattr **, 36 genlmsg_hdr(struct nlmsghdr *);
|
/external/libnl/include/netlink/netfilter/ |
nfnl.h | 28 extern uint8_t nfnlmsg_subsys(struct nlmsghdr *); 29 extern uint8_t nfnlmsg_subtype(struct nlmsghdr *); 30 extern uint8_t nfnlmsg_family(struct nlmsghdr *); 31 extern uint16_t nfnlmsg_res_id(struct nlmsghdr *);
|
/bionic/libc/bionic/ |
bionic_netlink.h | 36 struct nlmsghdr; 44 bool ReadResponses(void callback(void*, nlmsghdr*), void* context);
|
/external/strace/ |
netlink_selinux.c | 37 const struct nlmsghdr *const nlmsghdr, 41 switch (nlmsghdr->nlmsg_type) {
|
netlink_sock_diag.c | 65 const struct nlmsghdr *const nlmsghdr, 71 if (nlmsghdr->nlmsg_type == NLMSG_DONE) 78 (nlmsghdr->nlmsg_flags & NLM_F_REQUEST) 83 decoder(tcp, nlmsghdr, family, addr, len);
|
netlink.c | 64 * Fetch a struct nlmsghdr from the given address. 67 fetch_nlmsghdr(struct tcb *const tcp, struct nlmsghdr *const nlmsghdr, 70 if (len < sizeof(struct nlmsghdr)) { 75 if (umove_or_printaddr(tcp, addr, nlmsghdr)) 441 const struct nlmsghdr *const nlmsghdr) 445 tprintf("{len=%u, type=", nlmsghdr->nlmsg_len); 447 decode_nlmsg_type(tcp, nlmsghdr->nlmsg_type, family); 450 decode_nlmsg_flags(nlmsghdr->nlmsg_flags 636 struct nlmsghdr nlmsghdr; local [all...] |
/system/connectivity/wificond/net/ |
nl80211_packet.cpp | 46 nlmsghdr* nl_header = reinterpret_cast<nlmsghdr*>(data_.data()); 68 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); 92 nl_header->nlmsg_len < sizeof(nlmsghdr)) { 114 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); 119 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()); 124 const nlmsghdr* nl_header = reinterpret_cast<const nlmsghdr*>(data_.data()) [all...] |
/external/iproute2/genl/ |
genl_utils.h | 12 int (*print_genlopt)(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
|
/external/iproute2/tc/ |
tc_common.h | 13 extern int print_action(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 14 extern int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 15 extern int print_qdisc(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg); 16 extern int print_class(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
|
/external/iproute2/devlink/ |
mnlg.h | 19 struct nlmsghdr *mnlg_msg_prepare(struct mnlg_socket *nlg, uint8_t cmd, 21 int mnlg_socket_send(struct mnlg_socket *nlg, const struct nlmsghdr *nlh);
|
/external/iproute2/ip/ |
ip_common.h | 30 struct nlmsghdr *n, void *arg); 32 struct nlmsghdr *n, void *arg, 35 struct nlmsghdr *n, void *arg); 37 struct nlmsghdr *n, void *arg); 39 struct nlmsghdr *n, void *arg); 51 struct nlmsghdr *n, void *arg); 53 struct nlmsghdr *n, void *arg); 55 struct nlmsghdr *n, void *arg); 57 struct nlmsghdr *n, void *arg); 60 struct nlmsghdr *n, void *arg) [all...] |
/external/libnfnetlink/include/libnfnetlink/ |
libnfnetlink.h | 42 #define NFNL_HEADER_LEN (NLMSG_ALIGN(sizeof(struct nlmsghdr)) \ 52 struct nlmsghdr nlh; 57 int (*call)(struct nlmsghdr *nlh, struct nfattr *nfa[], void *data); 91 extern int nfnl_send(struct nfnl_handle *, struct nlmsghdr *); 97 extern void nfnl_fill_hdr(struct nfnl_subsys_handle *, struct nlmsghdr *, 101 nfnl_talk(struct nfnl_handle *, struct nlmsghdr *, pid_t, 102 unsigned, struct nlmsghdr *, 103 int (*)(struct sockaddr_nl *, struct nlmsghdr *, void *), void *); 108 int (*)(struct sockaddr_nl *, struct nlmsghdr *, void *), void *); 119 const struct nlmsghdr *nlh [all...] |
/external/iproute2/bridge/ |
br_common.h | 9 struct nlmsghdr *n, 12 struct nlmsghdr *n, void *arg); 14 struct nlmsghdr *n, void *arg);
|
/system/netd/server/ |
NetlinkCommands.h | 43 typedef std::function<void(nlmsghdr *)> NetlinkDumpCallback; 44 typedef std::function<bool(nlmsghdr *)> NetlinkDumpFilter; 79 uint32_t getRtmU32Attribute(const nlmsghdr *nlh, int attribute);
|
/external/iproute2/include/ |
libnetlink.h | 30 struct nlmsghdr h; 54 typedef int (*req_filter_fn_t)(struct nlmsghdr *nlh, int reqlen); 65 int rtnl_dump_request_n(struct rtnl_handle *rth, struct nlmsghdr *n) 73 struct nlmsghdr *n, void *); 77 struct nlmsghdr *n, void *); 80 const struct nlmsghdr *inner_nlh); 95 int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, 96 struct nlmsghdr *answer, size_t len) 98 int rtnl_talk_extack(struct rtnl_handle *rtnl, struct nlmsghdr *n, 99 struct nlmsghdr *answer, size_t len, nl_ext_ack_fn_t errfn [all...] |