HomeSort by relevance Sort by last modified time
    Searched full:nlmsghdr (Results 1 - 25 of 241) sorted by null

1 2 3 4 5 6 7 8 910

  /external/iproute2/tc/
tc_common.h 10 extern int print_action(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
11 extern int print_filter(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
12 extern int print_qdisc(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
13 extern int print_class(const struct sockaddr_nl *who, struct nlmsghdr *n, void *arg);
  /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/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 *);
  /frameworks/base/core/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/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/iproute2/include/
libnetlink.h 30 struct nlmsghdr *n, void *);
42 extern int rtnl_talk(struct rtnl_handle *rtnl, struct nlmsghdr *n, pid_t peer,
43 unsigned groups, struct nlmsghdr *answer);
47 extern int addattr(struct nlmsghdr *n, int maxlen, int type);
48 extern int addattr8(struct nlmsghdr *n, int maxlen, int type, __u8 data);
49 extern int addattr16(struct nlmsghdr *n, int maxlen, int type, __u16 data);
50 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, __u32 data);
51 extern int addattr64(struct nlmsghdr *n, int maxlen, int type, __u64 data);
52 extern int addattrstrz(struct nlmsghdr *n, int maxlen, int type, const char *data);
54 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen)
    [all...]
  /external/iproute2/ip/
ip_common.h 3 struct nlmsghdr *n,
6 struct nlmsghdr *n,
9 struct nlmsghdr *n, void *arg);
11 struct nlmsghdr *n, void *arg);
13 struct nlmsghdr *n, void *arg);
23 struct nlmsghdr *n, void *arg);
25 struct nlmsghdr *n, void *arg);
27 struct nlmsghdr *n, void *arg);
62 struct nlmsghdr *);
  /external/iproute2/genl/
genl_utils.h 12 int (*print_genlopt)(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/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/ndk/4/platforms/android-3/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/4/platforms/android-4/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/4/platforms/android-5/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/4/platforms/android-5/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;
  /prebuilts/ndk/4/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/4/platforms/android-8/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;
  /prebuilts/ndk/5/platforms/android-3/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/6/platforms/android-3/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/6/platforms/android-3/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;
  /prebuilts/ndk/7/platforms/android-14/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/7/platforms/android-14/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;
  /prebuilts/ndk/7/platforms/android-3/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/7/platforms/android-3/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;
  /prebuilts/ndk/7/platforms/android-4/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/7/platforms/android-4/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;

Completed in 692 milliseconds

1 2 3 4 5 6 7 8 910