A method for determining a priority of a packet, comprising: receiving multiple address resolution protocol, ARP, packets; and determining a white list protection entry of the multiple ARP packets according to dynamic routing protocol subscription information, wherein determining the white list protection entry of the multiple ARP packets according to the dynamic routing protocol subscription information comprises: parsing key value information about any ARP packet of received multiple ARP packets, wherein the key value information comprises source address information, destination address information and interface information; querying whether the key value information match the dynamic routing protocol subscription information; and when the key value information match the dynamic routing protocol subscription information, adding the first ARP packet to the white list protection entry, wherein a priority of the white list protection entry is higher than a default priority, wherein the dynamic routing protocol subscription information comprises: source address information, destination address information and interface information; and wherein querying whether the key value information matches the dynamic routing protocol subscription information comprises: determining whether the key value information of the first ARP packet matches the key value of dynamic routing protocol subscription information. receiving multiple address resolution protocol, ARP, packets; and determining a white list protection entry of the multiple ARP packets according to dynamic routing protocol subscription information, wherein determining the white list protection entry of the multiple ARP packets according to the dynamic routing protocol subscription information comprises: parsing key value information about any ARP packet of received multiple ARP packets, wherein the key value information comprises source address information, destination address information and interface information; querying whether the key value information match the dynamic routing protocol subscription information; and when the key value information match the dynamic routing protocol subscription information, adding the first ARP packet to the white list protection entry, wherein a priority of the white list protection entry is higher than a default priority, wherein the dynamic routing protocol subscription information comprises: source address information, destination address information and interface information; and wherein querying whether the key value information matches the dynamic routing protocol subscription information comprises: determining whether the key value information of the first ARP packet matches the key value of dynamic routing protocol subscription information. parsing key value information about any ARP packet of received multiple ARP packets, wherein the key value information comprises source address information, destination address information and interface information; querying whether the key value information match the dynamic routing protocol subscription information; and when the key value information match the dynamic routing protocol subscription information, adding the first ARP packet to the white list protection entry, wherein a priority of the white list protection entry is higher than a default priority, wherein the dynamic routing protocol subscription information comprises: source address information, destination address information and interface information; and wherein querying whether the key value information matches the dynamic routing protocol subscription information comprises: determining whether the key value information of the first ARP packet matches the key value of dynamic routing protocol subscription information. source address information, destination address information and interface information; and wherein querying whether the key value information matches the dynamic routing protocol subscription information comprises: determining whether the key value information of the first ARP packet matches the key value of dynamic routing protocol subscription information.