Closed GoogleCodeExporter closed 9 years ago
That depends on the frame subtype. For example, the following code will prevent
the destination for the CTS frames and source/destination for the RTS frames:
if ieee.type == dpkt.ieee80211.CTL_TYPE and ieee.subtype ==
dpkt.ieee80211.C_CTS:
print "CTS -- dst: ", print_addr(ieee.cts.dst)
if ieee.type == dpkt.ieee80211.CTL_TYPE and ieee.subtype ==
dpkt.ieee80211.C_RTS:
print "RTS -- src: ", print_addr(ieee.rts.src), " dst: ", print_addr(ieee.rts.dst)
There is no generic Control frame header and, hence, the subtype inspection is
required.
Original comment by timur.al...@gmail.com
on 8 Jul 2014 at 1:15
Oh okay, that makes sense. So for the "CTL_TYPE" packets, I'll have to
parse out the data I'm looking for on a per subtype basis. That makes
sense. Thanks for the information!
Original comment by kokopell...@gmail.com
on 8 Jul 2014 at 3:09
Original comment by timur.al...@gmail.com
on 8 Jul 2014 at 4:24
I can confirm the new code changes work. Thank you!
Original comment by kokopell...@gmail.com
on 15 Jul 2014 at 12:31
Original issue reported on code.google.com by
kokopell...@gmail.com
on 7 Jul 2014 at 7:08