Home
last modified time | relevance | path

Searched refs:packet_str (Results 1 – 9 of 9) sorted by relevance

/external/OpenCSD/decoder/tests/source/
Dc_api_pkt_print_test.c92 static char packet_str[PACKET_STR_LEN]; variable
288 …sprintf(packet_str, "mem_acc_cb(addr 0x%08llX, size %d, trcID 0x%02X)\n", address, reqBytes, trc_i… in do_mem_acc_cb()
289 ocsd_def_errlog_msgout(packet_str); in do_mem_acc_cb()
427 sprintf(packet_str,"Idx:%" OCSD_TRC_IDX_STR "; ", index_sop); in packet_handler()
428 offset = strlen(packet_str); in packet_handler()
434 … if(ocsd_pkt_str(test_protocol,p_packet_in,packet_str+offset,PACKET_STR_LEN-offset) == OCSD_OK) in packet_handler()
437 if(strlen(packet_str) == PACKET_STR_LEN - 1) /* maximum length */ in packet_handler()
438 packet_str[PACKET_STR_LEN-2] = '\n'; in packet_handler()
440 strcat(packet_str,"\n"); in packet_handler()
443 ocsd_def_errlog_msgout(packet_str); in packet_handler()
[all …]
/external/bcc/examples/networking/http_filter/
Dhttp-parse-complete.py149 packet_str = os.read(socket_fd,4096) #set packet length to max packet length on the interface variable
157 packet_bytearray = bytearray(packet_str)
187 ip_src_str = packet_str[ETH_HLEN+12:ETH_HLEN+16] #ip source offset 12..15
188 ip_dst_str = packet_str[ETH_HLEN+16:ETH_HLEN+20] #ip dest offset 16..19
214 port_src_str = packet_str[ETH_HLEN+ip_header_length:ETH_HLEN+ip_header_length+2]
215 port_dst_str = packet_str[ETH_HLEN+ip_header_length+2:ETH_HLEN+ip_header_length+4]
224 payload_string = packet_str[(payload_offset):(len(packet_bytearray))]
Dhttp-parse-simple.py85 packet_str = os.read(socket_fd,2048) variable
92 packet_bytearray = bytearray(packet_str)
/external/bcc/examples/networking/dns_matching/
Ddns_matching.py83 packet_str = os.read(socket_fd, 2048) variable
86 packet_bytearray = bytearray(packet_str)
/external/bcc/examples/networking/vlan_filter/
Ddata-plane-tracing.py105 packet_str = os.read(socket_fd, 2048) variable
108 packet_bytearray = bytearray(packet_str)
/external/llvm-project/lldb/source/Utility/
DStringExtractor.cpp31 StringExtractor::StringExtractor(llvm::StringRef packet_str) in StringExtractor() argument
33 m_packet.assign(packet_str.begin(), packet_str.end()); in StringExtractor()
/external/llvm-project/lldb/include/lldb/Utility/
DStringExtractor.h24 StringExtractor(llvm::StringRef packet_str);
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunication.cpp128 std::string packet_str = std::string(packet.GetString()); in SendPacketNoLock() local
130 return SendRawPacketNoLock(packet_str); in SendPacketNoLock()
814 std ::string packet_str = in CheckForPacket() local
816 packet = StringExtractorGDBRemote(packet_str); in CheckForPacket()
/external/llvm-project/lldb/examples/python/
Dgdbremote.py406 def __init__(self, packet_str): argument
407 self.str = packet_str