/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/ |
D | MessageMutator.h | 35 MessageMutator(nlmsghdr* buffer, size_t totalLen); 37 nlmsghdr* operator->() const; 38 operator Buffer<nlmsghdr>() const; 58 iterator(const MessageMutator& container, Buffer<nlmsghdr>::iterator current); 66 Buffer<nlmsghdr>::iterator mCurrent; 72 nlmsghdr* mMutableBuffer; 75 Buffer<nlmsghdr> constBuffer() const; 76 MessageMutator fragment(Buffer<nlmsghdr> buf) const;
|
D | Message.h | 37 class Message : public Buffer<nlmsghdr> { 45 static std::optional<Message<T>> parse(Buffer<nlmsghdr> buf) { in parse() 65 static std::optional<Message<T>> parse(Buffer<nlmsghdr> buf, in parse() 80 const nlmsghdr& header; 97 Message(Buffer<nlmsghdr> buffer, const nlmsghdr& nlHeader, const T& dataHeader, in Message() 99 : Buffer<nlmsghdr>(buffer), header(nlHeader), data(dataHeader), attributes(attributes) {} in Message()
|
D | Socket.h | 101 bool send(const Buffer<nlmsghdr>& msg, const sockaddr_nl& sa); 110 bool send(const Buffer<nlmsghdr>& msg, uint32_t destination); 121 std::optional<Buffer<nlmsghdr>> receive(size_t maxSize = defaultReceiveSize); 134 std::pair<std::optional<Buffer<nlmsghdr>>, sockaddr_nl> receiveFrom( 240 const Buffer<nlmsghdr>& operator*() const; 245 Buffer<nlmsghdr>::iterator mCurrent; 261 std::optional<Buffer<nlmsghdr>> receive(const std::set<nlmsgtype_t>& msgtypes, size_t maxSize);
|
D | MessageFactory.h | 31 static nlattr* add(nlmsghdr* msg, size_t maxLen, nlattrtype_t type, const void* data, 33 static void closeNested(nlmsghdr* msg, nlattr* nested); 45 nlmsghdr header; 69 nlmsghdr& header; 91 std::optional<Buffer<nlmsghdr>> build() const { in build()
|
D | types.h | 23 typedef decltype(nlmsghdr::nlmsg_type) nlmsgtype_t;
|
D | printer.h | 35 std::string toString(const Buffer<nlmsghdr> hdr, int protocol, bool printPayload = true);
|
D | Buffer.h | 203 inline size_t Buffer<nlmsghdr>::declaredLengthImpl() const { in declaredLengthImpl()
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/ |
D | MessageMutator.cpp | 21 MessageMutator::MessageMutator(nlmsghdr* buffer, size_t totalLen) in MessageMutator() 23 CHECK(totalLen >= sizeof(nlmsghdr)); in MessageMutator() 26 nlmsghdr* MessageMutator::operator->() const { in operator ->() 30 Buffer<nlmsghdr> MessageMutator::constBuffer() const { in constBuffer() 34 MessageMutator::operator Buffer<nlmsghdr>() const { in operator Buffer<nlmsghdr>() 55 MessageMutator MessageMutator::fragment(Buffer<nlmsghdr> buf) const { in fragment() 59 const auto writeableBuffer = reinterpret_cast<nlmsghdr*>(uintptr_t(mMutableBuffer) + *offset); in fragment() 75 Buffer<nlmsghdr>::iterator current) in iterator()
|
D | Socket.cpp | 61 bool Socket::send(const Buffer<nlmsghdr>& msg, const sockaddr_nl& sa) { in send() 82 bool Socket::send(const Buffer<nlmsghdr>& msg, uint32_t destination) { in send() 97 std::optional<Buffer<nlmsghdr>> Socket::receive(size_t maxSize) { in receive() 101 std::pair<std::optional<Buffer<nlmsghdr>>, sockaddr_nl> Socket::receiveFrom(size_t maxSize) { in receiveFrom() 120 Buffer<nlmsghdr> msg(reinterpret_cast<nlmsghdr*>(mReceiveBuffer.data()), bytesReceived); in receiveFrom() 150 std::optional<Buffer<nlmsghdr>> Socket::receive(const std::set<nlmsgtype_t>& msgtypes, in receive() 222 const Buffer<nlmsghdr>& Socket::receive_iterator::operator*() const { in operator *()
|
D | MessageFactory.cpp | 24 static nlattr* tail(nlmsghdr* msg) { in tail() 28 nlattr* MessageFactoryBase::add(nlmsghdr* msg, size_t maxLen, nlattrtype_t type, const void* data, in add() 47 void MessageFactoryBase::closeNested(nlmsghdr* msg, nlattr* nested) { in closeNested()
|
D | printer.cpp | 157 static void toStream(std::stringstream& ss, const Buffer<nlmsghdr> hdr, int protocol, in toStream() 218 std::string toString(const Buffer<nlmsghdr> hdrs, int protocol, bool printPayload) { in toString()
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/include/libnl++/generic/ |
D | FamilyTracker.h | 42 std::optional<Message<genlmsghdr>> parseNl80211(Buffer<nlmsghdr> msg); 59 bool track(const Buffer<nlmsghdr>& msg);
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/generic/ |
D | FamilyTracker.cpp | 23 bool FamilyTracker::track(const Buffer<nlmsghdr>& buffer) { in track() 44 std::optional<Message<genlmsghdr>> FamilyTracker::parseNl80211(Buffer<nlmsghdr> msg) { in parseNl80211()
|
D | Ctrl.h | 28 void track(const Buffer<nlmsghdr> hdr) override;
|
D | Ctrl.cpp | 63 void Ctrl::track(const Buffer<nlmsghdr> hdr) { in track()
|
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/ |
D | MessageDefinition.h | 151 virtual void dataToStream(std::stringstream& ss, const Buffer<nlmsghdr> hdr) const = 0; 158 virtual void track(const Buffer<nlmsghdr> hdr); 189 void dataToStream(std::stringstream& ss, const Buffer<nlmsghdr> hdr) const override { in dataToStream()
|
D | MessageDefinition.cpp | 70 void MessageDescriptor::track(const Buffer<nlmsghdr> /* hdr */) {} in track() argument
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Netlink.cpp | 429 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_rtm_link() 433 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_link() 446 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_addr() 451 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_addr() 487 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_neigh() 492 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_neigh() 535 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_route() 540 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_route() 611 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_nlmsg()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Netlink.cpp | 429 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_rtm_link() 433 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_link() 446 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_addr() 451 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_addr() 487 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_neigh() 492 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_neigh() 535 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; /* NL message header */ in ipa_nl_decode_rtm_route() 540 buflen -= sizeof(struct nlmsghdr); in ipa_nl_decode_rtm_route() 611 struct nlmsghdr *nlh = (struct nlmsghdr *)buffer; in ipa_nl_decode_nlmsg()
|
D | IPACM_ConntrackListener.cpp | 1250 struct nlmsghdr *nl_header; in readConntrack() 1296 nl_header = (struct nlmsghdr *)buffer; in readConntrack()
|
/hardware/google/pixel/thermal/utils/ |
D | thermal_watcher.cpp | 58 struct nlmsghdr *nlh = nlmsg_hdr(msg); in nlFinishHandle() 68 struct nlmsghdr *nlh = nlmsg_hdr(msg); in nlAckHandle() 78 struct nlmsghdr *nlh = nlmsg_hdr(msg); in nlSeqCheckHandle() 190 struct nlmsghdr *nlh = nlmsg_hdr(n); in handleEvent()
|
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/ |
D | wifilogger_diag.h | 133 struct nlmsghdr nlh; // Netlink Header
|
D | wifi_hal.cpp | 1594 static int validate_cld80211_msg(nlmsghdr *nlh, int family, int cmd) in validate_cld80211_msg() 1622 static int validate_genl_msg(nlmsghdr *nlh, int family, int cmd) in validate_genl_msg() 1746 struct nlmsghdr *nlh = (struct nlmsghdr *)ctrl_msg->data; in register_monitor_sock() 2103 struct nlmsghdr *nlh = nlmsg_hdr(msg); in internal_valid_message_handler()
|
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/ |
D | wifilogger_diag.h | 133 struct nlmsghdr nlh; // Netlink Header
|
D | wifi_hal.cpp | 1679 static int validate_cld80211_msg(nlmsghdr *nlh, int family, int cmd) in validate_cld80211_msg() 1707 static int validate_genl_msg(nlmsghdr *nlh, int family, int cmd) in validate_genl_msg() 1831 struct nlmsghdr *nlh = (struct nlmsghdr *)ctrl_msg->data; in register_monitor_sock() 2202 struct nlmsghdr *nlh = nlmsg_hdr(msg); in internal_valid_message_handler()
|