scapy IPv6 NS NA报文构造

NS 报文构造:

 1 #! /bin/python
 2 
 3 from scapy.all import *
 4 
 5 a=IPv6(src='2a01:4f8:161:5300::40', dst='ff02::1:ff00:1')
 6 b=ICMPv6ND_NS(tgt='2a01:4f8:161:5300::1

你可能感兴趣的:(python,嵌入式)