Lines Matching refs:underlayer
118 underlayer = self.underlayer
121 if isinstance(underlayer, IP):
124 underlayer.dst = "224.0.0.1" # IP rule 1
126 underlayer.dst = gaddr # IP rule 3a
131 underlayer.dst = "224.0.0.2" # IP rule 2
133 underlayer.dst = gaddr # IP rule 3b
137 if not any(isinstance(x, IPOption_Router_Alert) for x in underlayer.options):
138 underlayer.options.append(IPOption_Router_Alert())
142 _root[Ether].dst = getmacbyip(underlayer.dst) # Ether rule 1
150 if isinstance(self.underlayer, IP):
151 return self.underlayer.sprintf("IGMP: %IP.src% > %IP.dst% %IGMP.type% %IGMP.gaddr%")