Home
last modified time | relevance | path

Searched refs:HDR_LEN (Results 1 – 1 of 1) sorted by relevance

/external/autotest/client/bin/net/
Dnet_utils.py642 HDR_LEN = 14 # frame header length variable in ethernet
734 if packet_len < ethernet.HDR_LEN:
737 payload_len = packet_len - ethernet.HDR_LEN
742 struct.unpack("!6s6sH", raw_frame[:ethernet.HDR_LEN])
744 raw_frame[ethernet.HDR_LEN:ethernet.HDR_LEN+payload_len]