summaryrefslogtreecommitdiffhomepage
path: root/doc/source/getting_started.rst
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2016-07-06 15:26:33 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-11 16:46:27 +0900
commit3736ab76a5c3a3c14c399718a74e0fb2c50b8406 (patch)
tree3b3ec9727b38f4e8ffd5aaf56b4c42a726dbe7c3 /doc/source/getting_started.rst
parent81d3d5647c0159d18f29fed8b7cc8d348198b2fe (diff)
packet: Fix minimum ethernet frame length
In the Ethernet frame Spec (Both DIX EthernetII and IEEE 802.3), the frame size must be at least 64 bytes long (not including the preamble). 64 bytes = 14 bytes (Header) + 46 bytes (Payload) + 4 bytes (FCS) This patch appends padding if the payload is less than 46 bytes long. Reported-by: Kawai, Hiroaki <kawai@iij.ad.jp> Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/getting_started.rst')
0 files changed, 0 insertions, 0 deletions