/external/libnetfilter_conntrack/src/conntrack/ |
build_mnl.c | 17 nfct_build_tuple_ip(struct nlmsghdr *nlh, const struct __nfct_tuple *t) 45 nfct_build_tuple_proto(struct nlmsghdr *nlh, const struct __nfct_tuple *t) 84 nfct_build_tuple_raw(struct nlmsghdr *nlh, const struct __nfct_tuple *t) 95 nfct_build_tuple(struct nlmsghdr *nlh, const struct __nfct_tuple *t, int type) 114 nfct_build_protoinfo(struct nlmsghdr *nlh, const struct nf_conntrack *ct) 219 nfct_nat_seq_adj(struct nlmsghdr *nlh, const struct nf_conntrack *ct, int dir) 231 nfct_build_nat_seq_adj(struct nlmsghdr *nlh, const struct nf_conntrack *ct, 246 nfct_build_protonat(struct nlmsghdr *nlh, const struct nf_conntrack *ct, 267 nfct_build_nat(struct nlmsghdr *nlh, const struct __nfct_nat *nat, 285 nfct_build_snat(struct nlmsghdr *nlh, const struct nf_conntrack *ct [all...] |
/external/libnfnetlink/src/ |
libnfnetlink.c | 94 struct nlmsghdr *last_nlhdr; 98 void nfnl_dump_packet(struct nlmsghdr *nlh, int received_len, char *desc) 105 printf(" nlmsghdr = %p, received_len = %u\n", nlh, received_len); 466 int nfnl_send(struct nfnl_handle *nfnlh, struct nlmsghdr *n) 516 * at least the size of struct nlmsghdr + struct nfgenmsg. 519 struct nlmsghdr *nlh, unsigned int len, 552 const struct nlmsghdr *nlh, 598 || len < sizeof(struct nlmsghdr)) { 645 int (*handler)(struct sockaddr_nl *, struct nlmsghdr *n, 652 struct nlmsghdr *h [all...] |
/bionic/libc/kernel/uapi/linux/ |
netlink.h | 54 struct nlmsghdr { struct 80 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 84 #define NLMSG_NEXT(nlh,len) ((len) -= NLMSG_ALIGN((nlh)->nlmsg_len), (struct nlmsghdr *) (((char *) (nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 85 #define NLMSG_OK(nlh,len) ((len) >= (int) sizeof(struct nlmsghdr) && (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && (nlh)->nlmsg_len <= (len)) 94 struct nlmsghdr msg;
|
/external/iproute2/include/uapi/linux/ |
netlink.h | 44 struct nlmsghdr { struct 91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 96 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 98 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 111 struct nlmsghdr msg;
|
/external/kernel-headers/original/uapi/linux/ |
netlink.h | 44 struct nlmsghdr { struct 91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 96 (struct nlmsghdr*)(((char*)(nlh)) + NLMSG_ALIGN((nlh)->nlmsg_len))) 97 #define NLMSG_OK(nlh,len) ((len) >= (int)sizeof(struct nlmsghdr) && \ 98 (nlh)->nlmsg_len >= sizeof(struct nlmsghdr) && \ 111 struct nlmsghdr msg;
|
/system/netd/server/ |
NetlinkCommands.cpp | 47 nlmsghdr msg; 78 nlmsghdr nlmsg = { 129 for (nlmsghdr *nlh = reinterpret_cast<nlmsghdr *>(buf); 161 NetlinkDumpCallback callback = [writeSock, deleteAction, shouldDelete, what] (nlmsghdr *nlh) { 203 uint32_t getRtmU32Attribute(const nlmsghdr *nlh, int attribute) {
|
/device/generic/goldfish/wifi/wifi_hal/ |
netlinkmessage.cpp | 40 auto header = reinterpret_cast<nlmsghdr*>(mData.data()); 66 auto header = reinterpret_cast<const nlmsghdr*>(mData.data()); 71 auto header = reinterpret_cast<const nlmsghdr*>(mData.data());
|
/external/iproute2/tipc/ |
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,
|
media.c | 26 static int media_list_cb(const struct nlmsghdr *nlh, void *data) 45 static int cmd_media_list(struct nlmsghdr *nlh, const struct cmd *cmd, 63 static int media_get_cb(const struct nlmsghdr *nlh, void *data) 88 static int cmd_media_get_prop(struct nlmsghdr *nlh, const struct cmd *cmd, 143 static int cmd_media_get(struct nlmsghdr *nlh, const struct cmd *cmd, 166 static int cmd_media_set_prop(struct nlmsghdr *nlh, const struct cmd *cmd, 224 static int cmd_media_set(struct nlmsghdr *nlh, const struct cmd *cmd, 249 int cmd_media(struct nlmsghdr *nlh, const struct cmd *cmd, struct cmdl *cmdl,
|
/external/strace/tests/ |
netlink_netlink_diag.c | 48 struct nlmsghdr nlh; 81 struct nlmsghdr hdr; 103 struct nlmsghdr *h = &hdr_buf.hdr;
|
netlink_audit.c | 40 struct nlmsghdr nlh = {
|
netlink_generic.c | 50 const struct nlmsghdr nlh;
|
/external/strace/tests-m32/ |
netlink_netlink_diag.c | 48 struct nlmsghdr nlh; 81 struct nlmsghdr hdr; 103 struct nlmsghdr *h = &hdr_buf.hdr;
|
netlink_audit.c | 40 struct nlmsghdr nlh = {
|
netlink_generic.c | 50 const struct nlmsghdr nlh;
|
/external/strace/tests-mx32/ |
netlink_netlink_diag.c | 48 struct nlmsghdr nlh; 81 struct nlmsghdr hdr; 103 struct nlmsghdr *h = &hdr_buf.hdr;
|
netlink_audit.c | 40 struct nlmsghdr nlh = {
|
netlink_generic.c | 50 const struct nlmsghdr nlh;
|
/device/google/cuttlefish_common/common/commands/wifi_relay/ |
cmd.h | 31 explicit Cmd(nlmsghdr* h);
|
/external/dnsmasq/src/ |
netlink.c | 36 static void nl_err(struct nlmsghdr *h); 37 static void nl_routechange(struct nlmsghdr *h); 128 struct nlmsghdr *h; 134 struct nlmsghdr nlh; 170 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) 239 struct nlmsghdr *h; 249 for (h = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(h, (size_t)len); h = NLMSG_NEXT(h, len)) 260 static void nl_err(struct nlmsghdr *h) 273 static void nl_routechange(struct nlmsghdr *h)
|
/external/iproute2/include/ |
libgenl.h | 8 struct nlmsghdr n; \
|
/system/core/logd/ |
libaudit.h | 45 struct nlmsghdr nlh;
|
/device/google/marlin/dataservices/sockev/src/ |
sockev_cli.c | 50 struct nlmsghdr *nlh = NULL; 53 nlh = (struct nlmsghdr *)
|
/external/iproute2/devlink/ |
mnlg.c | 32 static struct nlmsghdr *__mnlg_msg_prepare(struct mnlg_socket *nlg, uint8_t cmd, 36 struct nlmsghdr *nlh; 52 struct nlmsghdr *mnlg_msg_prepare(struct mnlg_socket *nlg, uint8_t cmd, 58 int mnlg_socket_send(struct mnlg_socket *nlg, const struct nlmsghdr *nlh) 145 static int get_group_id_cb(const struct nlmsghdr *nlh, void *data) 160 struct nlmsghdr *nlh; 206 static int get_family_id_cb(const struct nlmsghdr *nlh, void *data) 222 struct nlmsghdr *nlh;
|
/external/libnl/include/netlink/netfilter/ |
log.h | 25 struct nlmsghdr; 43 extern int nfnlmsg_log_parse(struct nlmsghdr *,
|