Tianbo, the link layer hardware knows when packets on the wire start and stop using framing (manchester encoding or whatever). it delivers this information to the link layer software (device driver), which then provides it to IP. Greg Minshall