[movitz-cvs] CVS update: movitz/losp/lib/net/ethernet.lisp
Frode Vatvedt Fjeld
ffjeld at common-lisp.net
Thu Feb 26 11:30:08 UTC 2004
Update of /project/movitz/cvsroot/movitz/losp/lib/net
In directory common-lisp.net:/tmp/cvs-serv8022
Modified Files:
ethernet.lisp
Log Message:
The +min-ethernet-frame-size+ should be 60, I believe, since we're not
counting the CRC and preamble (?). 60 seems to be consistent with
everyone else, anyway.
Date: Thu Feb 26 06:30:08 2004
Author: ffjeld
Index: movitz/losp/lib/net/ethernet.lisp
diff -u movitz/losp/lib/net/ethernet.lisp:1.3 movitz/losp/lib/net/ethernet.lisp:1.4
--- movitz/losp/lib/net/ethernet.lisp:1.3 Mon Jan 19 06:23:46 2004
+++ movitz/losp/lib/net/ethernet.lisp Thu Feb 26 06:30:07 2004
@@ -10,7 +10,7 @@
;;;; Author: Frode Vatvedt Fjeld <frodef at acm.org>
;;;; Created at: Tue Sep 17 15:25:31 2002
;;;;
-;;;; $Id: ethernet.lisp,v 1.3 2004/01/19 11:23:46 ffjeld Exp $
+;;;; $Id: ethernet.lisp,v 1.4 2004/02/26 11:30:07 ffjeld Exp $
;;;;
;;;;------------------------------------------------------------------
@@ -52,7 +52,7 @@
(in-package muerte.ethernet)
(defconstant +max-ethernet-frame-size+ 1514) ; sans preamble and postable.
-(defconstant +min-ethernet-frame-size+ 64)
+(defconstant +min-ethernet-frame-size+ 60) ; except crc.
(defconstant +broadcast-address+ #(#xff #xff #xff #xff #xff #xff))
(defconstant +source-mac+ 6)
More information about the Movitz-cvs
mailing list