/external/libnl/include/netlink/ |
msg.h | 53 extern void * nlmsg_data(const struct nlmsghdr *); 54 extern int nlmsg_len(const struct nlmsghdr *); 55 extern void * nlmsg_tail(const struct nlmsghdr *); 58 extern struct nlattr * nlmsg_attrdata(const struct nlmsghdr *, int); 59 extern int nlmsg_attrlen(const struct nlmsghdr *, int); 62 extern int nlmsg_valid_hdr(const struct nlmsghdr *, int); 63 extern int nlmsg_ok(const struct nlmsghdr *, int); 64 extern struct nlmsghdr * nlmsg_next(struct nlmsghdr *, int *); 65 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);
|
bearer.h | 19 int cmd_bearer(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl, 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...] |
/external/iproute2/bridge/ |
br_common.h | 2 struct nlmsghdr *n, 5 struct nlmsghdr *n, void *arg); 7 struct nlmsghdr *n, void *arg);
|
/system/core/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);
|
/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 | 37 struct nlmsghdr; 45 bool ReadResponses(void callback(void*, nlmsghdr*), void* context);
|
/external/iproute2/ip/ |
ip_common.h | 3 struct nlmsghdr *n, void *arg); 5 struct nlmsghdr *n, void *arg); 7 struct nlmsghdr *n, void *arg); 9 struct nlmsghdr *n, void *arg); 11 struct nlmsghdr *n, void *arg); 23 struct nlmsghdr *n, void *arg); 25 struct nlmsghdr *n, void *arg); 27 struct nlmsghdr *n, void *arg); 29 struct nlmsghdr *n, void *arg); 32 struct nlmsghdr *n, void *arg) [all...] |
/external/libnl/include/netlink/genl/ |
genl.h | 31 extern int genlmsg_valid_hdr(struct nlmsghdr *, int); 32 extern int genlmsg_validate(struct nlmsghdr *, int, int, 34 extern int genlmsg_parse(struct nlmsghdr *, int, struct nlattr **,
|
/system/connectivity/shill/net/ |
netlink_packet_unittest.cc | 37 unsigned char data[sizeof(nlmsghdr) + 1]; 40 // A packet that is too short to contain an nlmsghdr should be invalid. 41 NetlinkPacket short_packet(data, sizeof(nlmsghdr) - 1); 46 NetlinkPacket invalid_packet(data, sizeof(nlmsghdr)); 50 nlmsghdr hdr; 55 NetlinkPacket empty_packet(data, sizeof(nlmsghdr)); 57 EXPECT_EQ(sizeof(nlmsghdr), empty_packet.GetLength()); 67 NetlinkPacket incomplete_packet(data, sizeof(nlmsghdr)); 72 data[sizeof(nlmsghdr)] = 10; 73 NetlinkPacket complete_packet(data, sizeof(nlmsghdr) + 1) [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);
|
/development/ndk/platforms/android-3/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/libnl/include/linux/ |
netlink.h | 38 struct nlmsghdr struct 77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 82 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 83 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 84 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 98 struct nlmsghdr msg;
|
/external/wpa_supplicant_8/src/drivers/ |
priv_netlink.h | 50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 51 #define NLMSG_LENGTH(len) ((len) + NLMSG_ALIGN(sizeof(struct nlmsghdr))) 55 (struct nlmsghdr *) \ 57 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && \ 58 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 84 struct nlmsghdr struct
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
netlink.h | 40 struct nlmsghdr struct 79 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 84 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 85 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 86 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 100 struct nlmsghdr msg;
|
/prebuilts/ndk/current/platforms/android-12/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-12/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;
|