Searched refs:packet_str (Results 1 – 9 of 9) sorted by relevance
/external/OpenCSD/decoder/tests/source/ |
D | c_api_pkt_print_test.c | 92 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/ |
D | http-parse-complete.py | 149 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))]
|
D | http-parse-simple.py | 85 packet_str = os.read(socket_fd,2048) variable 92 packet_bytearray = bytearray(packet_str)
|
/external/bcc/examples/networking/dns_matching/ |
D | dns_matching.py | 83 packet_str = os.read(socket_fd, 2048) variable 86 packet_bytearray = bytearray(packet_str)
|
/external/bcc/examples/networking/vlan_filter/ |
D | data-plane-tracing.py | 105 packet_str = os.read(socket_fd, 2048) variable 108 packet_bytearray = bytearray(packet_str)
|
/external/llvm-project/lldb/source/Utility/ |
D | StringExtractor.cpp | 31 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/ |
D | StringExtractor.h | 24 StringExtractor(llvm::StringRef packet_str);
|
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunication.cpp | 128 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/ |
D | gdbremote.py | 406 def __init__(self, packet_str): argument 407 self.str = packet_str
|