The MAC Layer of VANETs