Abstract:
A debugging method includes: modifying a fault handling function address corresponding to a page attribute fault in an interrupt descriptor table of a system processor to a user-defined fault handling function address; obtaining current information when a designated page attribute fault occurs in a target program; storing the current information into a virtual execution buffer corresponding to a current thread; pushing the current information in the buffer into a stack; determining whether an extended instruction pointer of the target program matches a preset breakpoint address of a faulty page; if the matching succeeds, interacting with a user; otherwise, copy-constructing an instruction, pointed to by the extended instruction pointer of the target program, to the virtual execution buffer corresponding to the current thread; and popping the current information out of the stack, executing the instruction in the buffer, and repeating the determination about whether the address matches the preset breakpoint address.
Abstract:
Embodiments of the present application disclose a forwarding method, a forwarding apparatus, and a forwarder for authentication information in the Internet of Things. The method is applied to a constrained node and includes: receiving authentication information; determining whether the authentication information is received for the first time; and if the authentication information is received not for the first time, forwarding the authentication information; or if the authentication information is received for the first time, determining whether the authentication information is valid authentication information, and if the authentication information is not valid authentication information, discarding the authentication information, or if the authentication information is valid authentication information, verifying the valid authentication information, and forwarding the valid authentication information after the verification succeeds. The embodiments of the present application can reduce resources of the constrained node, and improve performance of the Internet of Things.
Abstract:
The present disclosure discloses a method for processing a host route in a virtual subnet, a related device and a communications system. The method includes: receiving, by a first provider edge device, a packet for address resolution, where a virtual subnet site in which the first provider edge device is located further includes at least one second provider edge device; determining, by the first provider edge device, whether a source MAC address carried in the packet is a virtual MAC address; and when it is determined that the source MAC address is a virtual MAC address, skipping performing at least one of the following operations: saving a local CE host routing table entry corresponding to a source IP address carried in the packet, or distributing, in the virtual subnet based on a routing protocol of a layer 3 VPN, a local CE host route corresponding to the IP address.
Abstract:
A verification method and node for a BFD session relate to the field of communications technologies. The method includes: adding, by an initiating node, a first random number to a first BFD control packet and sending the first BFD control packet to a remote node; obtaining and saving, by the remote node, the first random number in the received first BFD control packet; adding, by the remote node, a second random number to the received first BFD control packet and sending the first BFD control packet to the initiating node; and obtaining and saving, by the initiating node, the second random number in the received second BFD control packet.